mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 11:43:35 +08:00
actuator params: use module_name as prefix to channel label
This commit is contained in:
@@ -2,7 +2,7 @@ module_name: PWM Output
|
||||
actuator_output:
|
||||
output_groups:
|
||||
- param_prefix: PWM
|
||||
channel_label: 'PWM Actuator'
|
||||
channel_label: 'Channel'
|
||||
standard_params:
|
||||
disarmed: { min: 800, max: 2200, default: 900 }
|
||||
min: { min: 800, max: 1400, default: 1000 }
|
||||
|
||||
@@ -2,7 +2,7 @@ module_name: PCA9685 Output
|
||||
actuator_output:
|
||||
output_groups:
|
||||
- param_prefix: PCA9685
|
||||
channel_label: 'PCA9685'
|
||||
channel_label: 'Channel'
|
||||
standard_params:
|
||||
disarmed: { min: 800, max: 2200, default: 900 }
|
||||
min: { min: 800, max: 1400, default: 1000 }
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
module_name: PWM Output
|
||||
module_name: '${PWM_MAIN_OR_AUX}'
|
||||
actuator_output:
|
||||
output_groups:
|
||||
- generator: pwm
|
||||
param_prefix: '${PWM_MAIN_OR_AUX}'
|
||||
channel_labels: ['${PWM_MAIN_OR_AUX}', 'PWM Capture']
|
||||
channel_labels: ['${PWM_MAIN_OR_AUX}', '${PWM_MAIN_OR_AUX_CAP}']
|
||||
standard_params:
|
||||
disarmed: { min: 800, max: 2200, default: 900 }
|
||||
min: { min: 800, max: 1400, default: 1000 }
|
||||
@@ -30,3 +30,4 @@ actuator_output:
|
||||
200: PWM200
|
||||
400: PWM400
|
||||
reboot_required: true
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
module_name: IO PWM Output
|
||||
module_name: PWM MAIN
|
||||
actuator_output:
|
||||
output_groups:
|
||||
- generator: pwm
|
||||
param_prefix: PWM_MAIN
|
||||
channel_labels: ['PWM Main', 'PWM Capture']
|
||||
channel_labels: ['MAIN', 'Capture']
|
||||
channel_label_module_name_prefix: false
|
||||
timer_config_file: "boards/px4/io-v2/src/timer_config.cpp"
|
||||
standard_params:
|
||||
disarmed: { min: 800, max: 2200, default: 900 }
|
||||
|
||||
@@ -2,5 +2,5 @@ module_name: TAP ESC Output
|
||||
actuator_output:
|
||||
output_groups:
|
||||
- param_prefix: TAP_ESC
|
||||
channel_label: 'TAP ESC'
|
||||
channel_label: 'ESC'
|
||||
num_channels: 8
|
||||
|
||||
@@ -3,14 +3,16 @@ module_name: UAVCAN
|
||||
actuator_output:
|
||||
output_groups:
|
||||
- param_prefix: UAVCAN_EC
|
||||
channel_label: 'UAVCAN ESC'
|
||||
group_label: 'ESCs'
|
||||
channel_label: 'ESC'
|
||||
standard_params:
|
||||
min: { min: 0, max: 8191, default: 1 }
|
||||
max: { min: 0, max: 8191, default: 8191 }
|
||||
failsafe: { min: 0, max: 8191 }
|
||||
num_channels: 8
|
||||
- param_prefix: UAVCAN_SV
|
||||
channel_label: 'UAVCAN Servo'
|
||||
group_label: 'Servos'
|
||||
channel_label: 'Servo'
|
||||
standard_params:
|
||||
disarmed: { min: 0, max: 1000, default: 500 }
|
||||
min: { min: 0, max: 1000, default: 0 }
|
||||
|
||||
@@ -2,7 +2,7 @@ module_name: UAVCANv1
|
||||
actuator_output:
|
||||
output_groups:
|
||||
- param_prefix: UCAN1_ESC
|
||||
channel_label: 'UAVCAN ESC'
|
||||
channel_label: 'ESC'
|
||||
standard_params:
|
||||
min: { min: 0, max: 8191, default: 1 }
|
||||
max: { min: 0, max: 8191, default: 8191 }
|
||||
|
||||
Reference in New Issue
Block a user