NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mavlink_msg_battery_status.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  __mavlink_battery_status_t
 

Macros

#define MAVLINK_MSG_ID_BATTERY_STATUS   147
 
#define MAVLINK_MSG_ID_BATTERY_STATUS_LEN   36
 
#define MAVLINK_MSG_ID_147_LEN   36
 
#define MAVLINK_MSG_ID_BATTERY_STATUS_CRC   154
 
#define MAVLINK_MSG_ID_147_CRC   154
 
#define MAVLINK_MSG_BATTERY_STATUS_FIELD_VOLTAGES_LEN   10
 
#define MAVLINK_MESSAGE_INFO_BATTERY_STATUS
 

Typedefs

typedef struct
__mavlink_battery_status_t 
mavlink_battery_status_t
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_BATTERY_STATUS
Value:
{ \
"BATTERY_STATUS", \
9, \
{ { "current_consumed", NULL, MAVLINK_TYPE_INT32_T, 0, 0, offsetof(mavlink_battery_status_t, current_consumed) }, \
{ "energy_consumed", NULL, MAVLINK_TYPE_INT32_T, 0, 4, offsetof(mavlink_battery_status_t, energy_consumed) }, \
{ "temperature", NULL, MAVLINK_TYPE_INT16_T, 0, 8, offsetof(mavlink_battery_status_t, temperature) }, \
{ "voltages", NULL, MAVLINK_TYPE_UINT16_T, 10, 10, offsetof(mavlink_battery_status_t, voltages) }, \
{ "current_battery", NULL, MAVLINK_TYPE_INT16_T, 0, 30, offsetof(mavlink_battery_status_t, current_battery) }, \
{ "id", NULL, MAVLINK_TYPE_UINT8_T, 0, 32, offsetof(mavlink_battery_status_t, id) }, \
{ "battery_function", NULL, MAVLINK_TYPE_UINT8_T, 0, 33, offsetof(mavlink_battery_status_t, battery_function) }, \
{ "type", NULL, MAVLINK_TYPE_UINT8_T, 0, 34, offsetof(mavlink_battery_status_t, type) }, \
{ "battery_remaining", NULL, MAVLINK_TYPE_INT8_T, 0, 35, offsetof(mavlink_battery_status_t, battery_remaining) }, \
} \
}
uint8_t type
Definition: fat_standard.h:67
#define MAVLINK_MSG_BATTERY_STATUS_FIELD_VOLTAGES_LEN   10
#define MAVLINK_MSG_ID_147_CRC   154
#define MAVLINK_MSG_ID_147_LEN   36
#define MAVLINK_MSG_ID_BATTERY_STATUS   147
#define MAVLINK_MSG_ID_BATTERY_STATUS_CRC   154
#define MAVLINK_MSG_ID_BATTERY_STATUS_LEN   36

Typedef Documentation