2018-08-07 10:42:32 -03:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
2018-05-27 13:07:06 -03:00
|
|
|
uint8 MISSION_EXECUTION_MODE_NORMAL = 0 # Execute the mission according to the planned items
|
|
|
|
uint8 MISSION_EXECUTION_MODE_REVERSE = 1 # Execute the mission in reverse order, ignoring commands and converting all waypoints to normal ones
|
|
|
|
uint8 MISSION_EXECUTION_MODE_FAST_FORWARD = 2 # Execute the mission as fast as possible, for example converting loiter waypoints to normal ones
|
|
|
|
|
2017-04-16 22:16:47 -03:00
|
|
|
uint32 instance_count # Instance count of this mission. Increments monotonically whenever the mission is modified
|
|
|
|
|
2017-12-10 03:30:58 -04:00
|
|
|
int32 seq_reached # Sequence of the mission item which has been reached, default -1
|
|
|
|
uint16 seq_current # Sequence of the current mission item
|
|
|
|
uint16 seq_total # Total number of mission items
|
2017-04-16 22:16:47 -03:00
|
|
|
|
2015-06-13 12:31:31 -03:00
|
|
|
bool valid # true if mission is valid
|
2015-06-15 12:02:55 -03:00
|
|
|
bool warning # true if mission is valid, but has potentially problematic items leading to safety warnings
|
2015-06-13 12:31:31 -03:00
|
|
|
bool finished # true if mission has been completed
|
2017-04-16 22:16:47 -03:00
|
|
|
bool failure # true if the mission cannot continue or be completed for some reason
|
|
|
|
|
2015-06-13 12:31:31 -03:00
|
|
|
bool stay_in_failsafe # true if the commander should not switch out of the failsafe mode
|
2016-02-12 20:08:07 -04:00
|
|
|
bool flight_termination # true if the navigator demands a flight termination from the commander app
|
2017-04-16 22:16:47 -03:00
|
|
|
|
2015-06-13 12:31:31 -03:00
|
|
|
bool item_do_jump_changed # true if the number of do jumps remaining has changed
|
2017-12-10 03:30:58 -04:00
|
|
|
uint16 item_changed_index # indicate which item has changed
|
|
|
|
uint16 item_do_jump_remaining # set to the number of do jumps remaining for that item
|
2018-05-27 13:07:06 -03:00
|
|
|
|
|
|
|
uint8 execution_mode # indicates the mode in which the mission is executed
|