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:
Beat Küng
2021-12-24 20:06:13 -05:00
committed by Daniel Agar
parent 1901edf13c
commit d1abdd0f8d
12 changed files with 68 additions and 4 deletions
+1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -1,6 +1,7 @@
module_name: SIM
actuator_output:
add_reverse_range_param: true
output_groups:
- param_prefix: PWM_MAIN
channel_label: Channel
+1
View File
@@ -1,5 +1,6 @@
module_name: PWM MAIN
actuator_output:
add_reverse_range_param: true
output_groups:
- generator: pwm
param_prefix: PWM_MAIN
+1
View File
@@ -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
View File
@@ -1,5 +1,6 @@
module_name: UAVCANv1
actuator_output:
add_reverse_range_param: true
output_groups:
- param_prefix: UCAN1_ESC
channel_label: 'ESC'