45 #include "FlightTasks_generated.hpp" 67 if (_current_task.task) {
68 _current_task.task->~FlightTask();
137 void handleParameterUpdate();
175 static constexpr
int _numError = 3;
188 void _updateCommand();
189 FlightTaskIndex switchVehicleCommand(
const int command);
195 int _initTask(FlightTaskIndex task_index);
void setYawHandler(WeatherVane *ext_yaw_handler)
Sets an external yaw handler.
#define ORB_ID(_name)
Generates a pointer to the uORB metadata structure for a given topic.
Abstract base class for different advanced flight tasks like orbit, follow me, ...
void updateVelocityControllerIO(const matrix::Vector3f &vel_sp, const matrix::Vector3f &thrust_sp)
bool isAnyTaskActive() const
Check if any task is active.
int getActiveTask() const
Get the number of the active task.
FlightTaskError switchTask()
Switch to the next task in the available list (for testing)
TaskUnion _task_union
Union with all existing tasks: we use it to make sure that only the memory of the largest existing ta...