mavsdk::Telemetry::Battery Struct Reference
#include: telemetry.h
Battery type.
Data Fields
uint32_t id {0} - Battery ID, for systems with multiple batteries.
float voltage_v {float(NAN)} - Voltage in volts.
float remaining_percent { float(NAN)} - Estimated battery remaining (range: 0.0 to 1.0)
Field Documentation
id
uint32_t mavsdk::Telemetry::Battery::id {0}
Battery ID, for systems with multiple batteries.
voltage_v
float mavsdk::Telemetry::Battery::voltage_v {float(NAN)}
Voltage in volts.
remaining_percent
float mavsdk::Telemetry::Battery::remaining_percent { float(NAN)}
Estimated battery remaining (range: 0.0 to 1.0)