The script updates every frame: if the framerate drops below 30fps, the recording rate will also suffer.
You can decouple this by using the viz.director to start the data recording in a whole new thread, but it will be time asynchronous from the main thread so be careful.
Cheers!
|