mirror of https://github.com/ArduPilot/ardupilot
AP_Motors: apply tailsitter min spin to both motors
This commit is contained in:
parent
83decd1370
commit
6358081b18
|
@ -75,8 +75,8 @@ void AP_MotorsTailsitter::output_to_motors()
|
|||
case THROTTLE_UNLIMITED:
|
||||
case SPOOL_DOWN: {
|
||||
throttle = _spin_min + throttle * (1 - _spin_min);
|
||||
throttle_left = constrain_float(throttle + _rudder*0.5, 0, 1);
|
||||
throttle_right = constrain_float(throttle - _rudder*0.5, 0, 1);
|
||||
throttle_left = constrain_float(throttle + _rudder*0.5, _spin_min, 1);
|
||||
throttle_right = constrain_float(throttle - _rudder*0.5, _spin_min, 1);
|
||||
// initialize limits flags
|
||||
limit.roll_pitch = false;
|
||||
limit.yaw = false;
|
||||
|
|
Loading…
Reference in New Issue