aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/mission.h
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2014-04-09 18:39:23 +0200
committerJulian Oes <julian@oes.ch>2014-04-18 22:05:47 +0200
commit665a2d6a92827e27213d596df7383061636c5dde (patch)
tree22589b84d413bbbc58620746e2025c38db704f1f /src/modules/uORB/topics/mission.h
parentb96669a5314198b88e406fc02940ed2ced291f2b (diff)
downloadpx4-firmware-665a2d6a92827e27213d596df7383061636c5dde.tar.gz
px4-firmware-665a2d6a92827e27213d596df7383061636c5dde.tar.bz2
px4-firmware-665a2d6a92827e27213d596df7383061636c5dde.zip
mavlink and mission topic: added reading in DO_JUMP mission items
Diffstat (limited to 'src/modules/uORB/topics/mission.h')
-rw-r--r--src/modules/uORB/topics/mission.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/uORB/topics/mission.h b/src/modules/uORB/topics/mission.h
index 9594c4c6a..1ccdb7181 100644
--- a/src/modules/uORB/topics/mission.h
+++ b/src/modules/uORB/topics/mission.h
@@ -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