69 void _prepareIdleSetpoints();
70 void _prepareLandSetpoints();
71 void _prepareVelocitySetpoints();
72 void _prepareTakeoffSetpoints();
73 void _preparePositionSetpoints();
82 bool _highEnoughForLandingGear();
bool update() override
To be called regularly in the control loop cycle to execute the task.
Definition: FlightTaskAutoMapper2.cpp:50
WaypointType
This enum has to agree with position_setpoint_s type definition The only reason for not using the str...
Definition: FlightTaskAuto.hpp:55
Definition: FlightTaskAuto.hpp:73
float _alt_above_ground
If home provided, then it is altitude above home, otherwise it is altitude above local position refer...
Definition: FlightTaskAutoMapper2.hpp:55
bool activate() override
Call once on the event where you switch to the task.
Definition: FlightTaskAutoMapper2.cpp:43
virtual void _generateSetpoints()=0
Generate velocity and position setpoint for following line.
Definition: px4_param.h:318
void _updateAltitudeAboveGround()
Computes altitude above ground based on sensors available.
Definition: FlightTaskAutoMapper2.cpp:166
Definition: FlightTaskAutoMapper2.hpp:45
Map from global triplet to local quadruple.
void updateParams() override
See ModuleParam class.
Definition: FlightTaskAutoMapper2.cpp:181