uavcan battery: add support for cuav::equipment::power::CBAT message

emitted by e.g. uavcan Tattu batteries.
This commit is contained in:
Matthias Grob
2025-06-25 21:11:23 +02:00
parent 30d4ff3c6c
commit bb6d43d5e3
4 changed files with 111 additions and 8 deletions
+2 -1
View File
@@ -288,10 +288,11 @@ PARAM_DEFINE_INT32(UAVCAN_SUB_BARO, 0);
* Enable UAVCAN battery subscription.
* uavcan::equipment::power::BatteryInfo
* ardupilot::equipment::power::BatteryInfoAux
* cuav::equipment::power::CBAT
*
* 0 - Disable
* 1 - Use raw data. Recommended for Smart battery
* 2 - Filter the data with internal battery library
* 2 - Filter the data with internal battery library (unsupported with CBAT)
*
* @min 0
* @max 2