mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 16:53:34 +08:00
uavcan battery: add support for cuav::equipment::power::CBAT message
emitted by e.g. uavcan Tattu batteries.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user