NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
__mavlink_battery_status_t Struct Reference

#include <mavlink_msg_battery_status.h>

Data Fields

int32_t current_consumed
 Consumed charge, in milliampere hours (1 = 1 mAh), -1: autopilot does not provide mAh consumption estimate. More...
 
int32_t energy_consumed
 Consumed energy, in 100*Joules (intergrated U*I*dt) (1 = 100 Joule), -1: autopilot does not provide energy consumption estimate. More...
 
int16_t temperature
 Temperature of the battery in centi-degrees celsius. INT16_MAX for unknown temperature. More...
 
uint16_t voltages [10]
 Battery voltage of cells, in millivolts (1 = 1 millivolt) More...
 
int16_t current_battery
 Battery current, in 10*milliamperes (1 = 10 milliampere), -1: autopilot does not measure the current. More...
 
uint8_t id
 Battery ID. More...
 
uint8_t battery_function
 Function of the battery. More...
 
uint8_t type
 Type (chemistry) of the battery. More...
 
int8_t battery_remaining
 Remaining battery energy: (0%: 0, 100%: 100), -1: autopilot does not estimate the remaining battery. More...
 

Field Documentation

uint8_t __mavlink_battery_status_t::battery_function

Function of the battery.

int8_t __mavlink_battery_status_t::battery_remaining

Remaining battery energy: (0%: 0, 100%: 100), -1: autopilot does not estimate the remaining battery.

int16_t __mavlink_battery_status_t::current_battery

Battery current, in 10*milliamperes (1 = 10 milliampere), -1: autopilot does not measure the current.

int32_t __mavlink_battery_status_t::current_consumed

Consumed charge, in milliampere hours (1 = 1 mAh), -1: autopilot does not provide mAh consumption estimate.

int32_t __mavlink_battery_status_t::energy_consumed

Consumed energy, in 100*Joules (intergrated U*I*dt) (1 = 100 Joule), -1: autopilot does not provide energy consumption estimate.

uint8_t __mavlink_battery_status_t::id

Battery ID.

int16_t __mavlink_battery_status_t::temperature

Temperature of the battery in centi-degrees celsius. INT16_MAX for unknown temperature.

uint8_t __mavlink_battery_status_t::type

Type (chemistry) of the battery.

uint16_t __mavlink_battery_status_t::voltages[10]

Battery voltage of cells, in millivolts (1 = 1 millivolt)


The documentation for this struct was generated from the following file: