control_allocator: add rover actuator effectiveness

This can be generalized later
This commit is contained in:
Beat Küng
2021-11-29 13:59:09 +01:00
committed by Daniel Agar
parent ed3a115c8f
commit 4d2a403afa
8 changed files with 234 additions and 0 deletions
@@ -191,6 +191,14 @@ ControlAllocator::update_effectiveness_source()
tmp = new ActuatorEffectivenessTiltrotorVTOL(this);
break;
case EffectivenessSource::ROVER_ACKERMANN:
tmp = new ActuatorEffectivenessRoverAckermann();
break;
case EffectivenessSource::ROVER_DIFFERENTIAL:
tmp = new ActuatorEffectivenessRoverDifferential();
break;
default:
PX4_ERR("Unknown airframe");
break;