mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
battery: add ESCs source, remove wrong unit
This commit is contained in:
@@ -129,12 +129,13 @@ parameters:
|
||||
This parameter controls the source of battery data. The value 'Power Module'
|
||||
means that measurements are expected to come from a power module. If the value is set to
|
||||
'External' then the system expects to receive mavlink battery status messages.
|
||||
If the value is set to 'ESCs', the battery information are taken from the esc_status message.
|
||||
type: enum
|
||||
unit: mAh
|
||||
values:
|
||||
0: Power Module
|
||||
1: External
|
||||
2: ESCs
|
||||
reboot_required: true
|
||||
num_instances: *max_num_config_instances
|
||||
instance_start: 1
|
||||
default: [0, 0]
|
||||
default: [0, 0]
|
||||
|
||||
Reference in New Issue
Block a user