mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-05 18:28:53 +08:00
FlightTaskManualAltitude: added to lib
This commit is contained in:
committed by
Beat Küng
parent
4f5fa33e74
commit
ea61af3164
@@ -36,6 +36,7 @@ px4_add_module(
|
||||
tasks/FlightTask.cpp
|
||||
tasks/FlightTaskManual.cpp
|
||||
tasks/FlightTaskOrbit.cpp
|
||||
tasks/FlightTaskManualAltitude.cpp
|
||||
SubscriptionArray.cpp
|
||||
FlightTasks.cpp
|
||||
DEPENDS
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
|
||||
#include "tasks/FlightTask.hpp"
|
||||
#include "tasks/FlightTaskManual.hpp"
|
||||
#include "tasks/FlightTaskManualAltitude.hpp"
|
||||
#include "tasks/FlightTaskOrbit.hpp"
|
||||
#include "tasks/FlightTaskSport.hpp"
|
||||
|
||||
@@ -120,6 +121,7 @@ private:
|
||||
~TaskUnion() {}
|
||||
|
||||
FlightTaskManual manual;
|
||||
FlightTaskManualAltitude altitude;
|
||||
FlightTaskOrbit orbit;
|
||||
FlightTaskSport sport;
|
||||
} _task_union; /**< storage for the currently active task */
|
||||
|
||||
Reference in New Issue
Block a user