diff options
author | Ban Siesta <bansiesta@gmail.com> | 2014-12-19 23:38:55 +0000 |
---|---|---|
committer | Ban Siesta <bansiesta@gmail.com> | 2014-12-19 23:38:55 +0000 |
commit | 180e17de335f337b17c0c411d0eb430cec760619 (patch) | |
tree | d6f38067e10c525059acf66e1ed1b19af17b91d8 /src/modules/uORB/topics/mission_result.h | |
parent | 7cb4786e7934af50b5ceb370c593e27111d9dd17 (diff) | |
download | px4-firmware-180e17de335f337b17c0c411d0eb430cec760619.tar.gz px4-firmware-180e17de335f337b17c0c411d0eb430cec760619.tar.bz2 px4-firmware-180e17de335f337b17c0c411d0eb430cec760619.zip |
navigator: report using mission result if a DO_JUMP waypoint has been changed
Diffstat (limited to 'src/modules/uORB/topics/mission_result.h')
-rw-r--r-- | src/modules/uORB/topics/mission_result.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/mission_result.h b/src/modules/uORB/topics/mission_result.h index 17ddaa01d..2ddc529a3 100644 --- a/src/modules/uORB/topics/mission_result.h +++ b/src/modules/uORB/topics/mission_result.h @@ -61,6 +61,9 @@ struct mission_result_s bool finished; /**< true if mission has been completed */ bool stay_in_failsafe; /**< true if the commander should not switch out of the failsafe mode*/ bool flight_termination; /**< true if the navigator demands a flight termination from the commander app */ + bool item_do_jump_changed; /**< true if the number of do jumps remaining has changed */ + unsigned item_changed_index; /**< indicate which item has changed */ + unsigned item_do_jump_remaining;/**< set to the number of do jumps remaining for that item */ }; /** |