mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
battery: add ESCs source, remove wrong unit
This commit is contained in:
@@ -129,11 +129,12 @@ parameters:
|
|||||||
This parameter controls the source of battery data. The value 'Power Module'
|
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
|
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.
|
'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
|
type: enum
|
||||||
unit: mAh
|
|
||||||
values:
|
values:
|
||||||
0: Power Module
|
0: Power Module
|
||||||
1: External
|
1: External
|
||||||
|
2: ESCs
|
||||||
reboot_required: true
|
reboot_required: true
|
||||||
num_instances: *max_num_config_instances
|
num_instances: *max_num_config_instances
|
||||||
instance_start: 1
|
instance_start: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user