fix(rerun audio): fixing rerun visualization for audio

This commit is contained in:
CarolinePascal
2025-10-31 18:39:19 +01:00
parent 552ec76195
commit edb5559b5b
5 changed files with 33 additions and 24 deletions
+2 -1
View File
@@ -49,6 +49,7 @@ def main():
raise ValueError("Robot or teleop is not connected!")
print("Starting teleop loop...")
start = time.perf_counter()
while True:
t0 = time.perf_counter()
@@ -69,7 +70,7 @@ def main():
_ = robot.send_action(action)
# Visualize
log_rerun_data(observation=observation, action=action)
log_rerun_data(observation=observation, action=action, log_time=time.perf_counter() - start)
precise_sleep(max(1.0 / FPS - (time.perf_counter() - t0), 0.0))