2018-11-27 18:43:22 -04:00
|
|
|
uint8 LINK_TYPE_GENERIC = 0
|
2020-02-03 10:49:47 -04:00
|
|
|
uint8 LINK_TYPE_UBIQUITY_BULLET = 1
|
|
|
|
uint8 LINK_TYPE_WIRE = 2
|
|
|
|
uint8 LINK_TYPE_USB = 3
|
|
|
|
uint8 LINK_TYPE_IRIDIUM = 4
|
2018-11-27 18:43:22 -04:00
|
|
|
|
|
|
|
uint64 timestamp # time since system start (microseconds)
|
2015-07-12 07:34:35 -03:00
|
|
|
|
2019-03-07 12:45:50 -04:00
|
|
|
uint8 type # type of the radio hardware (LINK_TYPE_*)
|
2018-08-06 12:25:05 -03:00
|
|
|
|
|
|
|
uint8 mode
|
|
|
|
|
|
|
|
bool flow_control
|
|
|
|
bool forwarding
|
|
|
|
bool mavlink_v2
|
|
|
|
bool ftp
|
|
|
|
|
|
|
|
uint8 streams
|
|
|
|
|
2021-01-17 12:40:39 -04:00
|
|
|
float32 data_rate # configured maximum data rate (Bytes/s)
|
2018-08-06 12:25:05 -03:00
|
|
|
|
|
|
|
float32 rate_multiplier
|
|
|
|
|
2020-10-09 15:14:08 -03:00
|
|
|
float32 tx_rate_avg # transmit rate average (Bytes/s)
|
|
|
|
float32 tx_error_rate_avg # transmit error rate average (Bytes/s)
|
|
|
|
uint32 tx_message_count # total message sent count
|
|
|
|
uint32 tx_buffer_overruns # number of TX buffer overruns
|
|
|
|
|
|
|
|
float32 rx_rate_avg # transmit rate average (Bytes/s)
|
|
|
|
uint32 rx_message_count # count of total messages received
|
|
|
|
uint32 rx_message_lost_count
|
|
|
|
uint32 rx_buffer_overruns # number of RX buffer overruns
|
|
|
|
uint32 rx_parse_errors # number of parse errors
|
|
|
|
uint32 rx_packet_drop_count # number of packet drops
|
|
|
|
float32 rx_message_lost_rate
|
2020-10-13 14:37:10 -03:00
|
|
|
|
|
|
|
|
2022-02-14 14:28:39 -04:00
|
|
|
uint64 HEARTBEAT_TIMEOUT_US = 2500000 # Heartbeat timeout (tolerate missing 1 + jitter)
|
2020-10-13 14:37:10 -03:00
|
|
|
|
|
|
|
# Heartbeats per type
|
|
|
|
bool heartbeat_type_antenna_tracker # MAV_TYPE_ANTENNA_TRACKER
|
|
|
|
bool heartbeat_type_gcs # MAV_TYPE_GCS
|
|
|
|
bool heartbeat_type_onboard_controller # MAV_TYPE_ONBOARD_CONTROLLER
|
|
|
|
bool heartbeat_type_gimbal # MAV_TYPE_GIMBAL
|
|
|
|
bool heartbeat_type_adsb # MAV_TYPE_ADSB
|
|
|
|
bool heartbeat_type_camera # MAV_TYPE_CAMERA
|
2021-10-27 05:57:15 -03:00
|
|
|
bool heartbeat_type_parachute # MAV_TYPE_PARACHUTE
|
2020-10-13 14:37:10 -03:00
|
|
|
|
|
|
|
# Heartbeats per component
|
|
|
|
bool heartbeat_component_telemetry_radio # MAV_COMP_ID_TELEMETRY_RADIO
|
|
|
|
bool heartbeat_component_log # MAV_COMP_ID_LOG
|
|
|
|
bool heartbeat_component_osd # MAV_COMP_ID_OSD
|
|
|
|
bool heartbeat_component_obstacle_avoidance # MAV_COMP_ID_OBSTACLE_AVOIDANCE
|
|
|
|
bool heartbeat_component_vio # MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY
|
|
|
|
bool heartbeat_component_pairing_manager # MAV_COMP_ID_PAIRING_MANAGER
|
|
|
|
bool heartbeat_component_udp_bridge # MAV_COMP_ID_UDP_BRIDGE
|
|
|
|
bool heartbeat_component_uart_bridge # MAV_COMP_ID_UART_BRIDGE
|
|
|
|
|
|
|
|
# Misc component health
|
|
|
|
bool avoidance_system_healthy
|
2021-11-02 12:08:14 -03:00
|
|
|
bool parachute_system_healthy
|