autotest: give guided mode test more time to achieve attitude

This commit is contained in:
Peter Barker 2020-01-08 11:43:40 +11:00 committed by Peter Barker
parent 4c5c5fff72
commit 316c6af69f

View File

@ -51,7 +51,7 @@ class AutoTestTracker(AutoTest):
self.progress("Using set_attitude_target to achieve attitude") self.progress("Using set_attitude_target to achieve attitude")
while True: while True:
now = self.get_sim_time() now = self.get_sim_time()
if now - tstart > 30: if now - tstart > 60:
raise NotAchievedException("Did not achieve attitude") raise NotAchievedException("Did not achieve attitude")
if now - last_attitude_target_sent > 0.5: if now - last_attitude_target_sent > 0.5:
last_attitude_target_sent = now last_attitude_target_sent = now