Browse Source

deleted set_target_altitude_location from set_next_WP

gps-1.3.1
kniuk 3 years ago committed by Andrew Tridgell
parent
commit
6581afcb8d
  1. 4
      ArduPlane/commands.cpp

4
ArduPlane/commands.cpp

@ -55,10 +55,6 @@ void Plane::set_next_WP(const struct Location &loc) @@ -55,10 +55,6 @@ void Plane::set_next_WP(const struct Location &loc)
prev_WP_loc = current_loc;
}
// used to control FBW and limit the rate of climb
// -----------------------------------------------
set_target_altitude_location(next_WP_loc);
// zero out our loiter vals to watch for missed waypoints
loiter_angle_reset();

Loading…
Cancel
Save