Ardupilot Compatible Telemetry
1092. Power - Battery Info
The battery info message provides power, temperature and status information for the bus and each channel. The battery info message can be logged easily in Ardupilot systems. The microFLUX uses the following fields in the battery info message:
- temperature
- voltage
- current
- status_flags
- battery_id
The status_flags field deviates from the DroneCAN specification and instead uses the following bit mapping:
Status Flags
Bit Position | Flag | Description |
|---|---|---|
0 | Active | Bus: At least one channel is on. Channel: The channel is on. |
1 | Armed | The system is armed. |
2 | Undervoltage | Bus: The input voltage is below the warning threshold. Channel: The output voltage has deviated below the warning deviation threshold. |
3 | Overvoltage | Bus: The input voltage is above the warning threshold. Channel: The output voltage has deviated above the warning deviation threshold. |
4 | Undercurrent | Bus: Unused. Channel: The channel current is under the undercurrent warning threshold. |
5 | Overcurrent | Bus: The bus input current is above the warning threshold. Channel: The channel output is above the warning threshold. |
6 | Overtemperature | Bus: The bus temperature has exceeded the temperature warning threshold. Channel: The channel temperature has exceeded the temperature warning threshold. |
7 | Warning Present | There is a warning present on the bus/channel. |
8 | Error Present | Bus: There is a bus or system wide error present. Channel: There is a channel error present. |
9 | Controllable | Bus: Unset. Channel: Indicates if the channel can be controlled with command messages. This is unset if command messages are disabled for the channel. |