fix(control_allocator): Remove SPACECRAFT_3D

This commit is contained in:
DrinkingHook
2026-05-02 11:08:20 +08:00
committed by Matthias Grob
parent 3eaede3197
commit c5f455f304
3 changed files with 0 additions and 26 deletions
@@ -275,10 +275,6 @@ ControlAllocator::update_effectiveness_source()
tmp = new ActuatorEffectivenessSpacecraft(this);
break;
case EffectivenessSource::SPACECRAFT_3D:
tmp = new ActuatorEffectivenessSpacecraft(this);
break;
default:
PX4_ERR("Unknown airframe");
break;
@@ -172,7 +172,6 @@ private:
HELICOPTER_COAXIAL = 12,
ROVER_MECANUM = 13,
SPACECRAFT_2D = 14,
SPACECRAFT_3D = 15,
};
enum class FailureMode {
-21
View File
@@ -1294,24 +1294,3 @@ mixer:
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"