Skip to content

RtlStatus (UORB повідомлення) ​

TOPICS: rtl_status

Fields ​

НазваТипUnit [Frame]Range/EnumОпис
timestampuint64time since system start (microseconds)
safe_points_iduint32unique ID of active set of safe_point_items
is_evaluation_pendingboolflag if the return point needs reevaluation (e.g. new safe points available, but need loading).
has_vtol_approachboolflag if approaches are defined for current RTL_TYPE parameter setting
rtl_typeuint8Selected Return type
safe_point_indexuint8index of the chosen safe point, UINT8_MAX if no rally point was chosen

Constants ​

НазваТипЗначенняОпис
RTL_STATUS_TYPE_NONEuint80pending if evaluation can't pe performed currently e.g. when it is still loading the safe points
RTL_STATUS_TYPE_DIRECT_SAFE_POINTuint81chosen to directly go to a safe point or home position
RTL_STATUS_TYPE_DIRECT_MISSION_LANDuint82going straight to the beginning of the mission landing
RTL_STATUS_TYPE_FOLLOW_MISSIONuint83Following the mission from start index to mission landing. Start index is current WP if in Mission mode, and closest WP otherwise.
RTL_STATUS_TYPE_FOLLOW_MISSION_REVERSEuint84Following the mission in reverse from start index to the beginning of the mission. Start index is previous WP if in Mission mode, and closest WP otherwise.

Source Message ​

Source file (GitHub)

Details

Click here to see original file

c
uint64 timestamp                      # time since system start (microseconds)

uint32 safe_points_id 		      # unique ID of active set of safe_point_items
bool is_evaluation_pending 	      # flag if the return point needs reevaluation (e.g. new safe points available, but need loading).

bool has_vtol_approach 		      # flag if approaches are defined for current RTL_TYPE parameter setting

uint8 rtl_type	      		      # Selected Return type
uint8 safe_point_index 		      # index of the chosen safe point, UINT8_MAX if no rally point was chosen

uint8 RTL_STATUS_TYPE_NONE=0       		# pending if evaluation can't pe performed currently e.g. when it is still loading the safe points
uint8 RTL_STATUS_TYPE_DIRECT_SAFE_POINT=1 	# chosen to directly go to a safe point or home position
uint8 RTL_STATUS_TYPE_DIRECT_MISSION_LAND=2 	# going straight to the beginning of the mission landing
uint8 RTL_STATUS_TYPE_FOLLOW_MISSION=3 		# Following the mission from start index to mission landing. Start index is current WP if in Mission mode, and closest WP otherwise.
uint8 RTL_STATUS_TYPE_FOLLOW_MISSION_REVERSE=4 	# Following the mission in reverse from start index to the beginning of the mission. Start index is previous WP if in Mission mode, and closest WP otherwise.