mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
deleted set_target_altitude_location from set_next_WP
This commit is contained in:
parent
c7a4ae9cce
commit
6581afcb8d
@ -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…
Reference in New Issue
Block a user