Copter: pause/resume reporting test
This commit is contained in:
parent
659ba8324b
commit
224e7c578f
@ -8851,6 +8851,14 @@ class AutoTestCopter(AutoTest):
|
|||||||
self.send_pause_command()
|
self.send_pause_command()
|
||||||
self.wait_groundspeed(speed_min=0, speed_max=1, minimum_duration=5)
|
self.wait_groundspeed(speed_min=0, speed_max=1, minimum_duration=5)
|
||||||
self.send_resume_command()
|
self.send_resume_command()
|
||||||
|
|
||||||
|
# sending a pause, or resume, to the aircraft twice, doesn't result in reporting a failure
|
||||||
|
self.wait_current_waypoint(wpnum=5, timeout=500)
|
||||||
|
self.send_pause_command()
|
||||||
|
self.send_pause_command()
|
||||||
|
self.wait_groundspeed(speed_min=0, speed_max=1, minimum_duration=5)
|
||||||
|
self.send_resume_command()
|
||||||
|
self.send_resume_command()
|
||||||
|
|
||||||
self.wait_disarmed(timeout=500)
|
self.wait_disarmed(timeout=500)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user