Arduino Mavlink
Loading...
Searching...
No Matches
Macros | Functions
mavlink_msg_sys_status.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAVLINK_MSG_ID_SYS_STATUS   1
 
#define MAVLINK_MSG_ID_SYS_STATUS_LEN   43
 
#define MAVLINK_MSG_ID_SYS_STATUS_MIN_LEN   31
 
#define MAVLINK_MSG_ID_1_LEN   43
 
#define MAVLINK_MSG_ID_1_MIN_LEN   31
 
#define MAVLINK_MSG_ID_SYS_STATUS_CRC   124
 
#define MAVLINK_MSG_ID_1_CRC   124
 
#define MAVLINK_MESSAGE_INFO_SYS_STATUS
 

Functions

 MAVPACKED (typedef struct __mavlink_sys_status_t { uint32_t onboard_control_sensors_present;uint32_t onboard_control_sensors_enabled;uint32_t onboard_control_sensors_health;uint16_t load;uint16_t voltage_battery;int16_t current_battery;uint16_t drop_rate_comm;uint16_t errors_comm;uint16_t errors_count1;uint16_t errors_count2;uint16_t errors_count3;uint16_t errors_count4;int8_t battery_remaining;uint32_t onboard_control_sensors_present_extended;uint32_t onboard_control_sensors_enabled_extended;uint32_t onboard_control_sensors_health_extended;}) mavlink_sys_status_t
 

Macro Definition Documentation

◆ MAVLINK_MESSAGE_INFO_SYS_STATUS

#define MAVLINK_MESSAGE_INFO_SYS_STATUS
Value:
{ \
"SYS_STATUS", \
16, \
{ { "onboard_control_sensors_present", "0x%04x", MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_sys_status_t, onboard_control_sensors_present) }, \
{ "onboard_control_sensors_enabled", "0x%04x", MAVLINK_TYPE_UINT32_T, 0, 4, offsetof(mavlink_sys_status_t, onboard_control_sensors_enabled) }, \
{ "onboard_control_sensors_health", "0x%04x", MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_sys_status_t, onboard_control_sensors_health) }, \
{ "load", NULL, MAVLINK_TYPE_UINT16_T, 0, 12, offsetof(mavlink_sys_status_t, load) }, \
{ "voltage_battery", NULL, MAVLINK_TYPE_UINT16_T, 0, 14, offsetof(mavlink_sys_status_t, voltage_battery) }, \
{ "current_battery", NULL, MAVLINK_TYPE_INT16_T, 0, 16, offsetof(mavlink_sys_status_t, current_battery) }, \
{ "battery_remaining", NULL, MAVLINK_TYPE_INT8_T, 0, 30, offsetof(mavlink_sys_status_t, battery_remaining) }, \
{ "drop_rate_comm", NULL, MAVLINK_TYPE_UINT16_T, 0, 18, offsetof(mavlink_sys_status_t, drop_rate_comm) }, \
{ "errors_comm", NULL, MAVLINK_TYPE_UINT16_T, 0, 20, offsetof(mavlink_sys_status_t, errors_comm) }, \
{ "errors_count1", NULL, MAVLINK_TYPE_UINT16_T, 0, 22, offsetof(mavlink_sys_status_t, errors_count1) }, \
{ "errors_count2", NULL, MAVLINK_TYPE_UINT16_T, 0, 24, offsetof(mavlink_sys_status_t, errors_count2) }, \
{ "errors_count3", NULL, MAVLINK_TYPE_UINT16_T, 0, 26, offsetof(mavlink_sys_status_t, errors_count3) }, \
{ "errors_count4", NULL, MAVLINK_TYPE_UINT16_T, 0, 28, offsetof(mavlink_sys_status_t, errors_count4) }, \
{ "onboard_control_sensors_present_extended", "0x%04x", MAVLINK_TYPE_UINT32_T, 0, 31, offsetof(mavlink_sys_status_t, onboard_control_sensors_present_extended) }, \
{ "onboard_control_sensors_enabled_extended", "0x%04x", MAVLINK_TYPE_UINT32_T, 0, 35, offsetof(mavlink_sys_status_t, onboard_control_sensors_enabled_extended) }, \
{ "onboard_control_sensors_health_extended", "0x%04x", MAVLINK_TYPE_UINT32_T, 0, 39, offsetof(mavlink_sys_status_t, onboard_control_sensors_health_extended) }, \
} \
}

◆ MAVLINK_MSG_ID_1_CRC

#define MAVLINK_MSG_ID_1_CRC   124

◆ MAVLINK_MSG_ID_1_LEN

#define MAVLINK_MSG_ID_1_LEN   43

◆ MAVLINK_MSG_ID_1_MIN_LEN

#define MAVLINK_MSG_ID_1_MIN_LEN   31

◆ MAVLINK_MSG_ID_SYS_STATUS

#define MAVLINK_MSG_ID_SYS_STATUS   1

◆ MAVLINK_MSG_ID_SYS_STATUS_CRC

#define MAVLINK_MSG_ID_SYS_STATUS_CRC   124

◆ MAVLINK_MSG_ID_SYS_STATUS_LEN

#define MAVLINK_MSG_ID_SYS_STATUS_LEN   43

◆ MAVLINK_MSG_ID_SYS_STATUS_MIN_LEN

#define MAVLINK_MSG_ID_SYS_STATUS_MIN_LEN   31

Function Documentation

◆ MAVPACKED()

MAVPACKED ( typedef struct __mavlink_sys_status_t { uint32_t onboard_control_sensors_present;uint32_t onboard_control_sensors_enabled;uint32_t onboard_control_sensors_health;uint16_t load;uint16_t voltage_battery;int16_t current_battery;uint16_t drop_rate_comm;uint16_t errors_comm;uint16_t errors_count1;uint16_t errors_count2;uint16_t errors_count3;uint16_t errors_count4;int8_t battery_remaining;uint32_t onboard_control_sensors_present_extended;uint32_t onboard_control_sensors_enabled_extended;uint32_t onboard_control_sensors_health_extended;}  )