mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: autotest: correct copter auto mission test
This commit is contained in:
parent
513865ae4d
commit
58f4b4b65d
@ -934,8 +934,7 @@ class AutoTestCopter(AutoTest):
|
||||
self.set_rc(3, 1500)
|
||||
|
||||
# fly the mission
|
||||
if not self.wait_waypoint(0, num_wp-1, timeout=500):
|
||||
self.land()
|
||||
self.wait_waypoint(0, num_wp-1, timeout=500)
|
||||
|
||||
# set throttle to minimum
|
||||
self.set_rc(3, 1000)
|
||||
@ -1143,6 +1142,9 @@ class AutoTestCopter(AutoTest):
|
||||
# Fly auto test
|
||||
self.run_test("Fly copter mission", self.fly_auto_test)
|
||||
|
||||
# land
|
||||
self.run_test("Fly copter mission", self.land)
|
||||
|
||||
# wait for disarm
|
||||
self.mav.motors_disarmed_wait()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user