made Loiter over ride exit dependent not on speed, but centered sticks.

This commit is contained in:
Jason Short 2012-01-29 16:14:56 -08:00
parent cff6799d18
commit af0b0d5a7f

View File

@ -1692,7 +1692,7 @@ static void update_navigation()
next_WP.lat = current_loc.lat;
next_WP.lng = current_loc.lng;
if(g_gps->ground_speed < 50){
if((g.rc_2.control_in + g.rc_1.control_in) == 0){
loiter_override = false;
wp_control = LOITER_MODE;
}