Fix for bad RTL tracking in Autopilot

This commit is contained in:
Jason Short 2011-11-07 21:09:29 -08:00
parent 2186a5978a
commit 7bc6a7a2fa

View File

@ -466,7 +466,12 @@ static bool verify_loiter_turns()
static bool verify_RTL()
{
// loiter at the WP
wp_control = WP_MODE;
if (wp_distance <= g.waypoint_radius) {
wp_control = LOITER_MODE;
//gcs_send_text_P(SEVERITY_LOW,PSTR("Reached home"));
return true;
}else{