control_allocator: add Custom + MC with tilts effectiveness

The param group is changed to Geometry, as this reflects the naming in the
QGC UI.
This commit is contained in:
Beat Küng
2021-12-10 13:15:11 +01:00
committed by Daniel Agar
parent 0818bb4be0
commit 8c782b7cd9
11 changed files with 377 additions and 27 deletions
@@ -235,6 +235,14 @@ ControlAllocator::update_effectiveness_source()
tmp = new ActuatorEffectivenessRotors(this);
break;
case EffectivenessSource::MULTIROTOR_WITH_TILT:
tmp = new ActuatorEffectivenessMCTilt(this);
break;
case EffectivenessSource::CUSTOM:
tmp = new ActuatorEffectivenessCustom(this);
break;
default:
PX4_ERR("Unknown airframe");
break;