mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
feat: airframe config for spacecraft (#25287)
This commit is contained in:
parent
23ad974f30
commit
be2e0b8990
@ -1205,3 +1205,45 @@ mixer:
|
||||
position: [ -1, 1, 0 ]
|
||||
- name: 'Left Motor Back'
|
||||
position: [ -1, -1, 0 ]
|
||||
|
||||
14: # Spacecraft 2D
|
||||
actuators:
|
||||
- actuator_type: 'motor'
|
||||
group_label: 'Thrust/Motors'
|
||||
count: 'CA_ROTOR_COUNT'
|
||||
per_item_parameters:
|
||||
standard:
|
||||
position: [ 'CA_ROTOR${i}_PX', 'CA_ROTOR${i}_PY', 'CA_ROTOR${i}_PZ' ]
|
||||
extra:
|
||||
- name: 'CA_ROTOR${i}_AX'
|
||||
label: 'Axis X'
|
||||
function: 'axisx'
|
||||
- name: 'CA_ROTOR${i}_AY'
|
||||
label: 'Axis Y'
|
||||
function: 'axisy'
|
||||
- name: 'CA_ROTOR${i}_AZ'
|
||||
label: 'Axis Z'
|
||||
function: 'axisz'
|
||||
- name: 'CA_ROTOR${i}_CT'
|
||||
label: "Thrust\nCoefficient"
|
||||
|
||||
15: # Spacecraft 3D
|
||||
actuators:
|
||||
- actuator_type: 'motor'
|
||||
group_label: 'Thrust/Motors'
|
||||
count: 'CA_ROTOR_COUNT'
|
||||
per_item_parameters:
|
||||
standard:
|
||||
position: [ 'CA_ROTOR${i}_PX', 'CA_ROTOR${i}_PY', 'CA_ROTOR${i}_PZ' ]
|
||||
extra:
|
||||
- name: 'CA_ROTOR${i}_AX'
|
||||
label: 'Axis X'
|
||||
function: 'axisx'
|
||||
- name: 'CA_ROTOR${i}_AY'
|
||||
label: 'Axis Y'
|
||||
function: 'axisy'
|
||||
- name: 'CA_ROTOR${i}_AZ'
|
||||
label: 'Axis Z'
|
||||
function: 'axisz'
|
||||
- name: 'CA_ROTOR${i}_CT'
|
||||
label: "Thrust\nCoefficient"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user