Skip to content

MissionResult (UORB message)

TOPICS: mission_result

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64time since system start (microseconds)
mission_iduint32Id for the mission for which the result was generated
geofence_iduint32Id for the corresponding geofence for which the result was generated (used for mission feasibility)
home_position_counteruint32Counter of the home position for which the result was generated (used for mission feasibility)
seq_reachedint32Sequence of the mission item which has been reached, default -1
seq_currentuint16Sequence of the current mission item
seq_totaluint16Total number of mission items
validbooltrue if mission is valid
warningbooltrue if mission is valid, but has potentially problematic items leading to safety warnings
finishedbooltrue if mission has been completed
failurebooltrue if the mission cannot continue or be completed for some reason
item_do_jump_changedbooltrue if the number of do jumps remaining has changed
item_changed_indexuint16indicate which item has changed
item_do_jump_remaininguint16set to the number of do jumps remaining for that item
execution_modeuint8indicates the mode in which the mission is executed

Source Message

Source file (GitHub)

Click here to see original file
c
uint64 timestamp		# time since system start (microseconds)

uint32 mission_id   		# Id for the mission for which the result was generated
uint32 geofence_id  		# Id for the corresponding geofence for which the result was generated (used for mission feasibility)
uint32 home_position_counter  	# Counter of the home position for which the result was generated (used for mission feasibility)

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

bool valid			# true if mission is valid
bool warning			# true if mission is valid, but has potentially problematic items leading to safety warnings
bool finished			# true if mission has been completed
bool failure			# true if the mission cannot continue or be completed for some reason

bool item_do_jump_changed	# true if the number of do jumps remaining has changed
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

uint8 execution_mode	# indicates the mode in which the mission is executed