mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
autotest: use delay_sim_time() in tempcal test
This commit is contained in:
parent
6c8a57c2d7
commit
fe7d933976
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user