Landing: Disarm on land for deepstall

This commit is contained in:
Michael du Breuil 2017-06-19 10:39:17 -07:00 committed by Tom Pittenger
parent a1508b58c1
commit 0b26908359

View File

@ -270,6 +270,7 @@ bool AP_Landing_Deepstall::verify_land(const Location &prev_WP_loc, Location &ne
case DEEPSTALL_STAGE_LAND: case DEEPSTALL_STAGE_LAND:
// while in deepstall the only thing verify needs to keep the extended approach point sufficently far away // while in deepstall the only thing verify needs to keep the extended approach point sufficently far away
landing.nav_controller->update_waypoint(current_loc, extended_approach); landing.nav_controller->update_waypoint(current_loc, extended_approach);
landing.disarm_if_autoland_complete_fn();
return false; return false;
default: default:
return true; return true;