aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/mission.h
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2013-12-04 10:38:56 +0100
committerJulian Oes <julian@oes.ch>2013-12-16 17:12:46 +0100
commitbed40c962e94aaa9b1f398a201ef88096a35810a (patch)
tree899095c5acd9778a48d2eb051f7f434bc017a866 /src/modules/uORB/topics/mission.h
parente8df08f13905c2a71d71469ba7d6cecc23c2eb70 (diff)
downloadpx4-firmware-bed40c962e94aaa9b1f398a201ef88096a35810a.tar.gz
px4-firmware-bed40c962e94aaa9b1f398a201ef88096a35810a.tar.bz2
px4-firmware-bed40c962e94aaa9b1f398a201ef88096a35810a.zip
Navigator: handle onboard and mavlink missions
Diffstat (limited to 'src/modules/uORB/topics/mission.h')
-rw-r--r--src/modules/uORB/topics/mission.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/uORB/topics/mission.h b/src/modules/uORB/topics/mission.h
index 30f06c359..370242007 100644
--- a/src/modules/uORB/topics/mission.h
+++ b/src/modules/uORB/topics/mission.h
@@ -96,7 +96,7 @@ struct mission_item_s
struct mission_s
{
- unsigned count;
+ unsigned count; /**< count of the missions stored in the datamanager */
int current_index; /**< default -1, start at the one changed latest */
};
@@ -106,5 +106,6 @@ struct mission_s
/* register this as object request broker structure */
ORB_DECLARE(mission);
+ORB_DECLARE(onboard_mission);
#endif