|
|
|
@ -523,7 +523,7 @@ bool ModeAuto::is_landing() const
@@ -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
|
|
|
|
|