Auterion for Developers
Latest Developer's Guide
Search
K
Links
Comment on page

Battery

Refer to the setup guide to set up a libmav connection to the system

Battery

Vehicle inertial measurement information is communicated with the BATTERY_STATUS message.
while(should_receive_data) {
auto message = connection->receive("BATTERY_STATUS", 2000);
// extract data
int remaining = message["battery_remaining"]; // percentage (0-100)
}