Notices from a DroneCAN battery or solar charger
What ArduPilot says:
- Battery N: Node change from N to N for Id N
- Battery N: powering ……
“Battery n: powering ON” or “OFF”: ArduPilot asked a DroneCAN MPPT solar charger to switch its output, as bits 2 to 5 of BATT_OPTIONS tell it to at boot, arming or disarming; “Retry” means the charger had not confirmed the first request. “Node change from a to b” (4.7): a DroneCAN battery whose readings had stopped is now sending from another CAN node number, and ArduPilot follows it because bit 10 of BATT_OPTIONS allows it.
Parameters to look at
| Parameter | What it is |
|---|---|
BATT_OPTIONS | Battery monitor options |
BATT_MONITOR | Battery monitoring |
BATT_SERIAL_NUM | Battery serial number |
The code that sends it
Battery N: Node change from N to N for Id N
libraries/AP_BattMonitor/AP_BattMonitor_DroneCAN.cpp AP_BattMonitor_DroneCAN::get_dronecan_backend() · Open in ArduPilot Copter-4.7.1
Battery N: powering ……
libraries/AP_BattMonitor/AP_BattMonitor_DroneCAN.cpp AP_BattMonitor_DroneCAN::mppt_set_powered_state() · Open in ArduPilot Copter-4.6.3
libraries/AP_BattMonitor/AP_BattMonitor_DroneCAN.cpp AP_BattMonitor_DroneCAN::set_powered_state() · Open in ArduPilot Copter-4.7.1