CA module.yaml: add motor direction function also to UI for Tailsitter an Tiltrotor

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer 2021-12-14 10:23:51 +01:00 committed by Daniel Agar
parent 8743b78474
commit 18008b2de7

View File

@ -539,6 +539,10 @@ mixer:
extra:
- name: 'CA_ROTOR${i}_TILT'
label: 'Tilted by'
- name: 'CA_ROTOR${i}_KM'
label: 'Direction CCW'
function: 'spin-dir'
show_as: 'true-if-positive'
- actuator_type: 'servo'
group_label: 'Control Surfaces'
count: 'CA_SV_CS_COUNT'
@ -586,6 +590,11 @@ mixer:
per_item_parameters:
standard:
position: [ 'CA_ROTOR${i}_PX', 'CA_ROTOR${i}_PY', 'CA_ROTOR${i}_PZ' ]
extra:
- name: 'CA_ROTOR${i}_KM'
label: 'Direction CCW'
function: 'spin-dir'
show_as: 'true-if-positive'
- actuator_type: 'servo'
group_label: 'Control Surfaces'
count: 'CA_SV_CS_COUNT'