Andrew Tridgell
ce27ec2276
AP_BattMonitor: fixed battery remaining of sum battery
...
and move to common function for update_consumed()
3 years ago
Joshua Henderson
1cf31dc25b
AP_BattMonitor: fix UAVCAN param index for varptr
3 years ago
Joshua Henderson
90744e08e1
AP_BattMonitor: UAVCAN switch to CURR_MULT
3 years ago
Hwurzburg
45e8cdea70
AP_BatteryMonitor: add current scaler for UAVCAN
3 years ago
Peter Barker
a894b93762
AP_BattMonitor: make C_TO_KELVIN a function macro; create KELVIN_TO_C
...
These are in celsius
3 years ago
arBalasquide
10b4eebce4
AP_BattMonitor: Add calculate_mah, add unit tests
3 years ago
Josh Henderson
d79a9b7497
AP_BattMonitor: use SOC 127 as an invalid SOC flag
3 years ago
Randy Mackay
dea7e969bd
AP_BattMonitor_UAVCAN: re-format text based fault reporting and add get_mavlink_fault_bitmask
3 years ago
Tom Pittenger
1724d4911d
AP_BattMonitor: add UAVCAN MPPT PacketDigital driver
3 years ago
李孟晓
e5efc52324
AP_BattMonitor: Add support for BatteryInfoAux message
3 years ago
Josh Henderson
ca568953d9
AP_BattMonitor: capacity_remaining_pct add checks for healthy status and has_current
3 years ago
Willian Galvani
9206599e6c
AP_BattMonitor_UAVCAN: update to use capacity_remaining_pct() as a bool
3 years ago
James O'Shannessy
89e4df485a
AP_BattMonitor: Record and report UAVCAN Battery Info temperature correctly
4 years ago
李孟晓
40dbb316c1
AP_BattMonitor: ignore SoC option for UAVCAN devices
4 years ago
李孟晓
aae2d0082d
AP_BattMonitor_UAVCAN: Fix issue with multiple batteries not working
4 years ago
Tom Pittenger
171a10e117
AP_BattMonitor: Add support for multiple UAVCAN batteries from a single node
4 years ago
Siddharth Purohit
9820ea9023
AP_BattMonitor: move to using CANManager library
5 years ago
Peter Barker
2e3ba2a4d2
AP_BattMonitor: move battery type enumeration out of parameters object
5 years ago
Andrew Tridgell
71e91c953a
AP_BattMonitor: removed unusued AP_Common/Semaphore.h
6 years ago
Siddharth Purohit
6e85003b56
AP_BattMonitor: move BattInfo message subscription and handling to AP_BattMonitor
7 years ago
Francisco Ferreira
31b8a051cc
AP_BattMonitor: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
8e6692744f
AP_BattMonitor: fix warning in UAVCAN driver
...
../../libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp: In member function ‘virtual void AP_BattMonitor_UAVCAN::init()’:
../../libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp:15:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘AP_Int32 {aka AP_ParamT<int, (ap_var_type)3u>}’ [-Wformat=]
#define debug_bm_uavcan(level, fmt, args...) do { if ((level) <= AP_BoardConfig_CAN::get_can_debug()) { printf(fmt, ##args); }} while (0)
^
../../libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp:36:33: note: in expansion of macro ‘debug_bm_uavcan’
debug_bm_uavcan(2, "UAVCAN BattMonitor BatteryInfo registered id: %d\n\r", _params._serial_number);
7 years ago
Eugene Shamaev
f7e9ce44b1
AP_BattMonitor: helper func
7 years ago
Eugene Shamaev
dc228a25fa
AP_BattMonitor: reducing indenting by linearizing the logic
7 years ago
Francisco Ferreira
ee8adf9073
AP_BattMonitor: fix build
7 years ago
DOMINATOR\Eugene
fcccc0174b
AP_BattMonitor: UAVCAN battery information added
7 years ago