mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Copter: fix auto mode is_taking_off
This commit is contained in:
parent
8bd26dffac
commit
0b1f959ede
@ -523,7 +523,7 @@ bool ModeAuto::is_landing() const
|
||||
|
||||
bool ModeAuto::is_taking_off() const
|
||||
{
|
||||
return ((_mode == SubMode::TAKEOFF) && !wp_nav->reached_wp_destination());
|
||||
return ((_mode == SubMode::TAKEOFF) && !auto_takeoff_complete);
|
||||
}
|
||||
|
||||
// auto_payload_place_start - initialises controller to implement a placing
|
||||
|
Loading…
Reference in New Issue
Block a user