41 #include <uORB/topics/position_setpoint_triplet.h> 42 #include <uORB/topics/position_setpoint.h> 58 matrix::Vector3f _position_lock{};
bool activate() override
Call once on the event where you switch to the task.
Definition: FlightTaskOffboard.cpp:67
Definition: FlightTask.hpp:58
bool update() override
To be called regularly in the control loop cycle to execute the task.
Definition: FlightTaskOffboard.cpp:76
Definition: px4_param.h:318
Abstract base class for different advanced flight tasks like orbit, follow me, ...
bool updateInitialize() override
Call before activate() or update() to initialize time and input data.
Definition: FlightTaskOffboard.cpp:55
bool initializeSubscriptions(SubscriptionArray &subscription_array) override
Initialize the uORB subscriptions using an array.
Definition: FlightTaskOffboard.cpp:42
Definition: SubscriptionArray.hpp:46
Definition: FlightTaskOffboard.hpp:44