mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 19:23:33 +08:00
control_allocator: generic motor configuration for standard vtols
This adds the pusher/puller to the standard motors and makes the axis configurable.
This commit is contained in:
@@ -51,7 +51,7 @@ ActuatorEffectivenessMCTilt::getEffectivenessMatrix(Configuration &configuration
|
||||
}
|
||||
|
||||
// MC motors
|
||||
_mc_rotors.enableYawControl(!_tilts.hasYawControl());
|
||||
_mc_rotors.enablePropellerTorque(!_tilts.hasYawControl());
|
||||
const bool rotors_added_successfully = _mc_rotors.addActuators(configuration);
|
||||
|
||||
// Tilts
|
||||
|
||||
Reference in New Issue
Block a user