68 (ParamFloat<px4::params::MPC_LAND_SPEED>) _param_mpc_land_speed,
69 (ParamFloat<px4::params::MPC_TILTMAX_LND>) _param_mpc_tiltmax_lnd,
70 (ParamFloat<px4::params::MPC_LAND_ALT1>)
72 (ParamFloat<px4::params::MPC_LAND_ALT2>)
74 (ParamFloat<px4::params::MPC_TKO_SPEED>) _param_mpc_tko_speed
virtual void _generateSetpoints()=0
Generate velocity and position setpoint for following line.
Map from global triplet to local quadruple.
float _alt_above_ground
If home provided, then it is altitude above home, otherwise it is altitude above local position refer...
WaypointType _type_previous
Previous type of current target triplet.
bool update() override
To be called regularly in the control loop cycle to execute the task.
WaypointType
This enum has to agree with position_setpoint_s type definition The only reason for not using the str...
void _updateAltitudeAboveGround()
Computes altitude above ground based on sensors available.
bool activate(vehicle_local_position_setpoint_s last_setpoint) override
Call once on the event where you switch to the task.
bool _highEnoughForLandingGear()
Checks if gears can be lowered.
virtual ~FlightTaskAutoMapper()=default
DEFINE_PARAMETERS_CUSTOM_PARENT(FlightTaskAuto,(ParamFloat< px4::params::MPC_LAND_SPEED >) _param_mpc_land_speed,(ParamFloat< px4::params::MPC_TILTMAX_LND >) _param_mpc_tiltmax_lnd,(ParamFloat< px4::params::MPC_LAND_ALT1 >) _param_mpc_land_alt1,(ParamFloat< px4::params::MPC_LAND_ALT2 >) _param_mpc_land_alt2,(ParamFloat< px4::params::MPC_TKO_SPEED >) _param_mpc_tko_speed)
void _generateLandSetpoints()
void _generateIdleSetpoints()
void _generateTakeoffSetpoints()
void _reset()
Resets member variables to current vehicle state.
void updateParams() override
See ModuleParam class.
FlightTaskAutoMapper()=default
void _generateVelocitySetpoints()