Browse Source

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
zr-v5.1
Peter Barker 4 years ago committed by Peter Barker
parent
commit
4a251bebbd
  1. 2
      Tools/autotest/arduplane.py

2
Tools/autotest/arduplane.py

@ -694,7 +694,7 @@ class AutoTestPlane(AutoTest): @@ -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…
Cancel
Save