mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 05:13:33 +08:00
Battery status: Add valid flag
This commit is contained in:
committed by
Lorenz Meier
parent
d091af4fc0
commit
fd3efe168a
@@ -6,6 +6,7 @@ float32 current_filtered_a # Battery current in amperes, filtered, 0 if unknown
|
|||||||
float32 discharged_mah # Discharged amount in mAh, -1 if unknown
|
float32 discharged_mah # Discharged amount in mAh, -1 if unknown
|
||||||
float32 remaining # From 1 to 0, -1 if unknown
|
float32 remaining # From 1 to 0, -1 if unknown
|
||||||
int32 cell_count # Number of cells
|
int32 cell_count # Number of cells
|
||||||
|
bool connected # Wether or not a battery is connected
|
||||||
#bool is_powering_off # Power off event imminent indication, false if unknown
|
#bool is_powering_off # Power off event imminent indication, false if unknown
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user