mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 15:40:36 +08:00
helicopter: add tail servo support
as a separate CA_AIRFRAME, as the UI cannot switch between servo/motor.
This commit is contained in:
@@ -258,8 +258,12 @@ ControlAllocator::update_effectiveness_source()
|
||||
tmp = new ActuatorEffectivenessCustom(this);
|
||||
break;
|
||||
|
||||
case EffectivenessSource::HELICOPTER:
|
||||
tmp = new ActuatorEffectivenessHelicopter(this);
|
||||
case EffectivenessSource::HELICOPTER_TAIL_ESC:
|
||||
tmp = new ActuatorEffectivenessHelicopter(this, ActuatorType::MOTORS);
|
||||
break;
|
||||
|
||||
case EffectivenessSource::HELICOPTER_TAIL_SERVO:
|
||||
tmp = new ActuatorEffectivenessHelicopter(this, ActuatorType::SERVOS);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user