mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 23:18:28 -04:00
a92161cd18
this fixes two issues: 1) we are not reporting the sag corrected voltage to GCS when we are sending individual cells 2) we don't cope with having more than AP_BATT_MONITOR_CELLS_MAX cells (or 12 for low flash boards, 14 for 2M boards) it fixes this by distributing the extra voltage over the calls. This change is particularly important for high cell count DroneCAN smart batteries, where we currently would not handle more than 14 cells and the GCS would display the wrong voltage the PR also cleans up the use of volts vs mVolts for the local variables |
||
---|---|---|
.. | ||
examples/routing | ||
.gitignore | ||
ap_message.h | ||
GCS_Common.cpp | ||
GCS_DeviceOp.cpp | ||
GCS_Dummy.cpp | ||
GCS_Dummy.h | ||
GCS_Fence.cpp | ||
GCS_FTP.cpp | ||
GCS_MAVLink.cpp | ||
GCS_MAVLink.h | ||
GCS_Param.cpp | ||
GCS_Rally.cpp | ||
GCS_serial_control.cpp | ||
GCS_ServoRelay.cpp | ||
GCS_Signing.cpp | ||
GCS.cpp | ||
GCS.h | ||
MAVLink_routing.cpp | ||
MAVLink_routing.h | ||
MissionItemProtocol_Fence.cpp | ||
MissionItemProtocol_Fence.h | ||
MissionItemProtocol_Rally.cpp | ||
MissionItemProtocol_Rally.h | ||
MissionItemProtocol_Waypoints.cpp | ||
MissionItemProtocol_Waypoints.h | ||
MissionItemProtocol.cpp | ||
MissionItemProtocol.h |