mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
FlightTaskIndex: add AutoLine
This commit is contained in:
parent
288ee2362e
commit
fbe8a558b2
@ -72,7 +72,7 @@ int FlightTasks::switchTask(FlightTaskIndex new_task_index)
|
||||
_current_task = new (&_task_union.sport) FlightTaskSport();
|
||||
break;
|
||||
|
||||
case 8:
|
||||
case FlightTaskIndex::AutoLine:
|
||||
_current_task = new (&_task_union.autoLine) FlightTaskAutoLine(this, "ALN");
|
||||
break;
|
||||
|
||||
|
||||
@ -64,6 +64,7 @@ enum class FlightTaskIndex : int {
|
||||
PositionSmooth,
|
||||
Orbit,
|
||||
Sport,
|
||||
AutoLine,
|
||||
|
||||
Count // number of tasks
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user