mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Quadplane: tailsitter: provide assistance at min throttle
This commit is contained in:
parent
2527117cf9
commit
ed4345cb3b
@ -1636,10 +1636,11 @@ bool QuadPlane::should_assist(float aspeed, bool have_airspeed)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!( (plane.control_mode->does_auto_throttle() && !plane.throttle_suppressed)
|
if (!tailsitter.enabled() && !( (plane.control_mode->does_auto_throttle() && !plane.throttle_suppressed)
|
||||||
|| plane.get_throttle_input()>0
|
|| plane.get_throttle_input()>0
|
||||||
|| plane.is_flying() ) ) {
|
|| plane.is_flying() ) ) {
|
||||||
// not in a flight mode and condition where it would be safe to turn on vertial lift motors
|
// not in a flight mode and condition where it would be safe to turn on vertial lift motors
|
||||||
|
// skip this check for tailsitters because the forward and vertial motors are the same and are controled directly by throttle imput unlike other quadplanes
|
||||||
in_angle_assist = false;
|
in_angle_assist = false;
|
||||||
angle_error_start_ms = 0;
|
angle_error_start_ms = 0;
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user