mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
QuadPlane: set attitude vs throttle priority in attitude controller
This commit is contained in:
parent
f2b0f09d6f
commit
2523ba892b
@ -642,7 +642,7 @@ bool QuadPlane::is_flying(void)
|
||||
// crude landing detector to prevent tipover
|
||||
bool QuadPlane::should_relax(void)
|
||||
{
|
||||
bool motor_at_lower_limit = motors->limit.throttle_lower && motors->is_throttle_mix_min();
|
||||
bool motor_at_lower_limit = motors->limit.throttle_lower && attitude_control->is_throttle_mix_min();
|
||||
if (motors->get_throttle() < 0.01) {
|
||||
motor_at_lower_limit = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user