67 (ParamFloat<px4::params::MPC_VEL_MANUAL>) _param_mpc_vel_manual,
68 (ParamFloat<px4::params::MPC_ACC_HOR_MAX>) _param_mpc_acc_hor_max,
69 (ParamFloat<px4::params::MPC_HOLD_MAX_XY>) _param_mpc_hold_max_xy,
70 (ParamFloat<px4::params::MPC_ACC_HOR_ESTM>) _param_mpc_acc_hor_estm
73 float _velocity_scale{0.0f};
WeatherVane * _weathervane_yaw_handler
external weathervane library, used to implement a yaw control law that turns the vehicle nose into th...
virtual ~FlightTaskManualPosition()=default
void _updateSetpoints() override
updates all setpoints
bool activate(vehicle_local_position_setpoint_s last_setpoint) override
Call once on the event where you switch to the task.
void setYawHandler(WeatherVane *yaw_handler) override
Sets an external yaw handler which can be used to implement a different yaw control strategy...
bool updateInitialize() override
Call before activate() or update() to initialize time and input data.
void _scaleSticks() override
scales sticks to velocity in z
void _updateXYlock()
applies position lock based on stick and velocity
DEFINE_PARAMETERS_CUSTOM_PARENT(FlightTaskManualAltitude,(ParamFloat< px4::params::MPC_VEL_MANUAL >) _param_mpc_vel_manual,(ParamFloat< px4::params::MPC_ACC_HOR_MAX >) _param_mpc_acc_hor_max,(ParamFloat< px4::params::MPC_HOLD_MAX_XY >) _param_mpc_hold_max_xy,(ParamFloat< px4::params::MPC_ACC_HOR_ESTM >) _param_mpc_acc_hor_estm) private uint8_t _reset_counter
counter for estimator resets in xy-direction
FlightTaskManualPosition()
CollisionPrevention _collision_prevention
collision avoidance setpoint amendment