mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 07:11:35 +08:00
Parameter update - Rename variables in lib
using paramter_update.py script
This commit is contained in:
@@ -61,7 +61,7 @@ protected:
|
||||
matrix::Vector<float, 4> _sticks_expo; /**< modified manual sticks using expo function*/
|
||||
int _gear_switch_old = manual_control_setpoint_s::SWITCH_POS_NONE; /**< old switch state*/
|
||||
|
||||
float stickDeadzone() const { return _stick_dz.get(); }
|
||||
float stickDeadzone() const { return _param_mpc_hold_dz.get(); }
|
||||
|
||||
private:
|
||||
|
||||
@@ -71,13 +71,13 @@ private:
|
||||
uORB::Subscription<manual_control_setpoint_s> *_sub_manual_control_setpoint{nullptr};
|
||||
|
||||
DEFINE_PARAMETERS_CUSTOM_PARENT(FlightTask,
|
||||
(ParamFloat<px4::params::MPC_HOLD_DZ>) _stick_dz, /**< 0-deadzone around the center for the sticks */
|
||||
(ParamFloat<px4::params::MPC_HOLD_DZ>) _param_mpc_hold_dz, /**< 0-deadzone around the center for the sticks */
|
||||
(ParamFloat<px4::params::MPC_XY_MAN_EXPO>)
|
||||
_xy_vel_man_expo, /**< ratio of exponential curve for stick input in xy direction */
|
||||
_param_mpc_xy_man_expo, /**< ratio of exponential curve for stick input in xy direction */
|
||||
(ParamFloat<px4::params::MPC_Z_MAN_EXPO>)
|
||||
_z_vel_man_expo, /**< ratio of exponential curve for stick input in z direction */
|
||||
_param_mpc_z_man_expo, /**< ratio of exponential curve for stick input in z direction */
|
||||
(ParamFloat<px4::params::MPC_YAW_EXPO>)
|
||||
_yaw_expo, /**< ratio of exponential curve for stick input in yaw for modes except acro */
|
||||
(ParamFloat<px4::params::COM_RC_LOSS_T>) COM_RC_LOSS_T /**< time at which commander considers RC lost */
|
||||
_param_mpc_yaw_expo, /**< ratio of exponential curve for stick input in yaw for modes except acro */
|
||||
(ParamFloat<px4::params::COM_RC_LOSS_T>) _param_com_rc_loss_t /**< time at which commander considers RC lost */
|
||||
)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user