Contents:
BatteryState contains information regarding the platform’s batteries.
Inherits from pilot.Sample.
remaining
Percentage of charge remaining, from 0 to 1.
voltage
Battery voltage in [V].
current
Battery current, positive = charging, in [A].
temperature
Battery temperatue in [C].
type
Battery type, see pilot.battery_type_e.