mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 01:13:34 +08:00
mavlink and mission topic: added reading in DO_JUMP mission items
This commit is contained in:
@@ -58,7 +58,8 @@ enum NAV_CMD {
|
||||
NAV_CMD_LAND=21,
|
||||
NAV_CMD_TAKEOFF=22,
|
||||
NAV_CMD_ROI=80,
|
||||
NAV_CMD_PATHPLANNING=81
|
||||
NAV_CMD_PATHPLANNING=81,
|
||||
NAV_CMD_DO_JUMP=177
|
||||
};
|
||||
|
||||
enum ORIGIN {
|
||||
@@ -91,6 +92,7 @@ struct mission_item_s {
|
||||
float pitch_min; /**< minimal pitch angle for fixed wing takeoff waypoints */
|
||||
bool autocontinue; /**< true if next waypoint should follow after this one */
|
||||
enum ORIGIN origin; /**< where the waypoint has been generated */
|
||||
int do_jump_mission_index; /**< the mission index that we want to jump to */
|
||||
};
|
||||
|
||||
struct mission_s
|
||||
|
||||
Reference in New Issue
Block a user