mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
feat: airframe config for spacecraft (#25287)
This commit is contained in:
@@ -1205,3 +1205,45 @@ mixer:
|
|||||||
position: [ -1, 1, 0 ]
|
position: [ -1, 1, 0 ]
|
||||||
- name: 'Left Motor Back'
|
- name: 'Left Motor Back'
|
||||||
position: [ -1, -1, 0 ]
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user