Browse Source

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

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
master
Silvan Fuhrer 3 years ago committed by Daniel Agar
parent
commit
18008b2de7
  1. 9
      src/modules/control_allocator/module.yaml

9
src/modules/control_allocator/module.yaml

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

Loading…
Cancel
Save