mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -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:
|
for temp in test_temperatures:
|
||||||
self.progress("Testing temperature %.1f" % temp)
|
self.progress("Testing temperature %.1f" % temp)
|
||||||
self.set_parameter("SIM_IMUT_FIXED", temp)
|
self.set_parameter("SIM_IMUT_FIXED", temp)
|
||||||
self.wait_heartbeat()
|
self.delay_sim_time(2)
|
||||||
self.wait_heartbeat()
|
|
||||||
for msg in ['RAW_IMU', 'SCALED_IMU2']:
|
for msg in ['RAW_IMU', 'SCALED_IMU2']:
|
||||||
m = self.mav.recv_match(type=msg, blocking=True, timeout=2)
|
m = self.mav.recv_match(type=msg, blocking=True, timeout=2)
|
||||||
if m is None:
|
if m is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user