Skip to content

ArmingCheckReplyV0 (UORB message)

TOPICS: arming_checkreplyv0

Fields

参数名类型Unit [Frame]Range/Enum描述
timestampuint64time since system start (microseconds)
request_iduint8
registration_iduint8
health_component_indexuint8HEALTH_COMPONENT_INDEX_*
health_component_is_presentbool
health_component_warningbool
health_component_errorbool
can_arm_and_runboolwhether arming is possible, and if it's a navigation mode, if it can run
num_eventsuint8
eventsEventV0[5]
mode_req_angular_velocitybool
mode_req_attitudebool
mode_req_local_altbool
mode_req_local_positionbool
mode_req_local_position_relaxedbool
mode_req_global_positionbool
mode_req_missionbool
mode_req_home_positionbool
mode_req_prevent_armingbool
mode_req_manual_controlbool

Constants

参数名类型描述
MESSAGE_VERSIONuint320
HEALTH_COMPONENT_INDEX_NONEuint80
ORB_QUEUE_LENGTHuint84

Source Message

Source file (GitHub)

Details

Click here to see original file

c
uint32 MESSAGE_VERSION = 0

uint64 timestamp # time since system start (microseconds)

uint8 request_id
uint8 registration_id

uint8 HEALTH_COMPONENT_INDEX_NONE = 0

uint8 health_component_index      # HEALTH_COMPONENT_INDEX_*
bool health_component_is_present
bool health_component_warning
bool health_component_error

bool can_arm_and_run              # whether arming is possible, and if it's a navigation mode, if it can run

uint8 num_events

EventV0[5] events

# Mode requirements
bool mode_req_angular_velocity
bool mode_req_attitude
bool mode_req_local_alt
bool mode_req_local_position
bool mode_req_local_position_relaxed
bool mode_req_global_position
bool mode_req_mission
bool mode_req_home_position
bool mode_req_prevent_arming
bool mode_req_manual_control


uint8 ORB_QUEUE_LENGTH = 4