feat: airframe config for spacecraft (#25287)

This commit is contained in:
Pedro Roque 2025-07-24 22:07:56 +02:00 committed by GitHub
parent 23ad974f30
commit be2e0b8990
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"