mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
autotest: support sims that do their own time control
This commit is contained in:
parent
5947160fd7
commit
f82f0da2b3
@ -197,4 +197,6 @@ while True:
|
||||
time.sleep(last_wall_time+scaled_frame_time - now)
|
||||
last_wall_time = time.time()
|
||||
|
||||
a.time_advance(frame_time)
|
||||
if frame_start == a.time_now:
|
||||
# time has not been advanced by a.update()
|
||||
a.time_advance(frame_time)
|
||||
|
Loading…
Reference in New Issue
Block a user