bool activate(vehicle_local_position_setpoint_s last_setpoint) override
Call once on the event where you switch to the task.
virtual ~FlightTaskTransition()=default
matrix::Vector3f _velocity_prev
Abstract base class for different advanced flight tasks like orbit, follow me, ...
void updateAccelerationEstimate()
FlightTaskTransition()=default
void checkSetpoints(vehicle_local_position_setpoint_s &setpoints)
bool update() override
To be called regularly in the control loop cycle to execute the task.
float _transition_altitude
bool updateInitialize() override
Call before activate() or update() to initialize time and input data.