autotest: fix Rover gripper mission test

We can lose the statustext when getting current time
This commit is contained in:
Peter Barker 2022-01-06 16:11:37 +11:00 committed by Peter Barker
parent d86c1c6fd1
commit a58e808af8
1 changed files with 4 additions and 3 deletions

View File

@ -406,9 +406,10 @@ class AutoTestRover(AutoTest):
self.change_mode('AUTO')
self.wait_ready_to_arm()
self.arm_vehicle()
self.wait_statustext("Gripper Grabbed", timeout=60)
self.wait_statustext("Gripper Released", timeout=60)
self.wait_statustext("Mission Complete", timeout=60)
self.context_collect('STATUSTEXT')
self.wait_statustext("Gripper Grabbed", timeout=60, check_context=True)
self.wait_statustext("Gripper Released", timeout=60, check_context=True)
self.wait_statustext("Mission Complete", timeout=60, check_context=True)
self.disarm_vehicle()
def do_get_banner(self):