Browse Source

Altitude no longer resets when moving loiter WP

master
Jason Short 13 years ago
parent
commit
6e94b21d67
  1. 3
      ArduCopter/ArduCopter.pde

3
ArduCopter/ArduCopter.pde

@ -1689,7 +1689,8 @@ static void update_navigation() @@ -1689,7 +1689,8 @@ static void update_navigation()
wp_control = NO_NAV_MODE;
// reset LOITER to current position
next_WP = current_loc;
next_WP.lat = current_loc.lat;
next_WP.lng = current_loc.lng;
}else{
// this is also set by GPS in update_nav

Loading…
Cancel
Save