autotest: use delay_sim_time() in tempcal test

This commit is contained in:
Andrew Tridgell 2021-01-20 16:18:55 +11:00 committed by Peter Barker
parent 6c8a57c2d7
commit fe7d933976

View File

@ -1995,8 +1995,7 @@ class AutoTestPlane(AutoTest):
for temp in test_temperatures:
self.progress("Testing temperature %.1f" % temp)
self.set_parameter("SIM_IMUT_FIXED", temp)
self.wait_heartbeat()
self.wait_heartbeat()
self.delay_sim_time(2)
for msg in ['RAW_IMU', 'SCALED_IMU2']:
m = self.mav.recv_match(type=msg, blocking=True, timeout=2)
if m is None: