mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 09:23:33 +08:00
output drivers: add option to generate a separate output range reversing param
Makes it a bit easier to configure. Reversing by setting MIN > MAX is still supported.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
module_name: PWM Output
|
||||
actuator_output:
|
||||
add_reverse_range_param: true
|
||||
output_groups:
|
||||
- param_prefix: PWM_MAIN
|
||||
channel_label: 'Channel'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
module_name: '${PWM_MAIN_OR_AUX}'
|
||||
actuator_output:
|
||||
add_reverse_range_param: true
|
||||
output_groups:
|
||||
- generator: pwm
|
||||
param_prefix: '${PWM_MAIN_OR_AUX}'
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
module_name: HIL
|
||||
actuator_output:
|
||||
add_reverse_range_param: true
|
||||
show_subgroups_if: 'SYS_HITL>0'
|
||||
output_groups:
|
||||
- param_prefix: HIL_ACT
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
module_name: SIM
|
||||
actuator_output:
|
||||
add_reverse_range_param: true
|
||||
output_groups:
|
||||
- param_prefix: PWM_MAIN
|
||||
channel_label: Channel
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
module_name: PWM MAIN
|
||||
actuator_output:
|
||||
add_reverse_range_param: true
|
||||
output_groups:
|
||||
- generator: pwm
|
||||
param_prefix: PWM_MAIN
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
module_name: UAVCAN
|
||||
actuator_output:
|
||||
add_reverse_range_param: true
|
||||
show_subgroups_if: 'UAVCAN_ENABLE>=3'
|
||||
config_parameters:
|
||||
- param: 'UAVCAN_ENABLE'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
module_name: UAVCANv1
|
||||
actuator_output:
|
||||
add_reverse_range_param: true
|
||||
output_groups:
|
||||
- param_prefix: UCAN1_ESC
|
||||
channel_label: 'ESC'
|
||||
|
||||
Reference in New Issue
Block a user