Plane: removed "circle waypoint" completion test

this is redundent with the location_passed_point() test
This commit is contained in:
Andrew Tridgell 2013-04-15 14:39:18 +10:00
parent 97bfd16bd1
commit 19b92b5bd8
1 changed files with 0 additions and 6 deletions

View File

@ -389,12 +389,6 @@ static bool verify_nav_wp()
return true; return true;
} }
// have we circled around the waypoint?
if (loiter.loiter_sum_cd > 30000) {
gcs_send_text_P(SEVERITY_MEDIUM,PSTR("Missed WP"));
return true;
}
// have we flown past the waypoint? // have we flown past the waypoint?
if (location_passed_point(current_loc, prev_WP, next_WP)) { if (location_passed_point(current_loc, prev_WP, next_WP)) {
gcs_send_text_fmt(PSTR("Passed Waypoint #%i dist %um"), gcs_send_text_fmt(PSTR("Passed Waypoint #%i dist %um"),