mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 13:48:54 +08:00
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:
committed by
Daniel Agar
parent
8743b78474
commit
18008b2de7
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user