ardupilot/libraries/GCS_MAVLink
Andrew Tridgell a92161cd18 GCS_MAVLink: improved start battery cell monitoring
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
2022-07-11 14:21:41 +10:00
..
examples/routing GCS_MAVLink: move initialisation of serial and gcs to AP_Vehicle 2020-02-25 11:50:55 +11:00
.gitignore
ap_message.h GCS_MAVLink: support sending AUTOPILOT_STATE_FOR_GIMBAL_DEVICE 2022-06-15 09:07:14 +09:00
GCS_Common.cpp GCS_MAVLink: improved start battery cell monitoring 2022-07-11 14:21:41 +10:00
GCS_DeviceOp.cpp GCS_MAVLink: prevent devop larger than buffer 2022-04-16 19:24:16 +10:00
GCS_Dummy.cpp GCS_MAVLink: Console output can be disabled 2022-05-17 09:53:06 +10:00
GCS_Dummy.h GCS_MAVLink: provide default implemenation of handle_change_alt_request 2022-02-08 10:59:13 +11:00
GCS_Fence.cpp GCS_MAVLink: don't use avoidance on plane 2022-01-11 09:51:47 +11:00
GCS_FTP.cpp GCS_MAVLink: support symlinks as files 2022-05-04 17:48:45 +10:00
GCS_MAVLink.cpp GCS_MAVLink: Add support for High Latency MAVLink protocol 2022-03-03 14:56:15 +11:00
GCS_MAVLink.h GCS_MAVLink: fixed mavlink packet corruption with multiple threads 2022-02-19 17:20:17 +11:00
GCS_Param.cpp GCS_MAVLink: fixed valgrind errors with AP_Param::ParamToken 2021-01-26 10:43:09 +11:00
GCS_Rally.cpp GCS_MAVLink: omit code that breaks build for herepro 2021-07-02 08:50:16 +10:00
GCS_serial_control.cpp GCS_MAVLink: convert to using hal.serial() instead of hal.uartX 2020-12-15 10:32:46 +11:00
GCS_ServoRelay.cpp
GCS_Signing.cpp GCS_MAVLink: Console output can be disabled 2022-05-17 09:53:06 +10:00
GCS.cpp GCS_MAVLink: tidy includes 2022-05-03 09:14:58 +10:00
GCS.h GCS_MAVLink: add AP_LTM_TELEM_ENABLED 2022-06-28 20:19:41 +10:00
MAVLink_routing.cpp GCS_MAVLink: learn routes even on private channels 2022-06-06 15:50:13 +10:00
MAVLink_routing.h GCS_MAVLink: tidy includes 2022-05-03 09:14:58 +10:00
MissionItemProtocol_Fence.cpp GCS_MAVLink: include cleanups 2022-03-01 11:21:33 +11:00
MissionItemProtocol_Fence.h GCS_MAVLink: expose functions to convert fence and rally to mavlink 2021-04-21 07:12:55 +10:00
MissionItemProtocol_Rally.cpp GCS_MAVLink: expose functions to convert fence and rally to mavlink 2021-04-21 07:12:55 +10:00
MissionItemProtocol_Rally.h GCS_MAVLink: expose functions to convert fence and rally to mavlink 2021-04-21 07:12:55 +10:00
MissionItemProtocol_Waypoints.cpp GCS_MAVLink: Remove redundant assignment to the command 2020-03-31 10:35:49 +11:00
MissionItemProtocol_Waypoints.h
MissionItemProtocol.cpp GCS_MAVLink: Notify the maximum number of missions 2021-02-03 20:31:50 +11:00
MissionItemProtocol.h