made Loiter over ride exit dependent not on speed, but centered sticks.
This commit is contained in:
parent
cff6799d18
commit
af0b0d5a7f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user