mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
autotest: fix fly_home_land_and_disarm; wp 7 is never current wp
This is never a current waypoint, so we can't wait for it
This commit is contained in:
parent
3ddffdab9b
commit
4a251bebbd
@ -694,7 +694,7 @@ class AutoTestPlane(AutoTest):
|
||||
self.progress("Using %s to fly home" % filename)
|
||||
self.load_mission(filename)
|
||||
self.change_mode("AUTO")
|
||||
self.set_current_waypoint(7)
|
||||
self.set_current_waypoint(8)
|
||||
self.drain_mav()
|
||||
# TODO: reflect on file to find this magic waypoint number?
|
||||
# self.wait_waypoint(7, num_wp-1, timeout=500) # we
|
||||
|
Loading…
Reference in New Issue
Block a user