We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f074503 commit 388b3d4Copy full SHA for 388b3d4
scripts/collect_joint_data.py
@@ -295,6 +295,12 @@ def main():
295
simulation_end_margin = 1.0
296
simulator.AdvanceTo(traj_source_initializer.get_end_time() + simulation_end_margin)
297
298
+ actual_realtime_rate = simulator.get_actual_realtime_rate()
299
+ if actual_realtime_rate < 1.0:
300
+ logging.warning(
301
+ f"Execution was {actual_realtime_rate:.2f}x slower than real time!"
302
+ )
303
+
304
# Save data
305
visualizer.StopRecording()
306
visualizer.PublishRecording()
0 commit comments