Camera data rate not consistent

asked 2021-10-10 17:03:55 -0600

andrea_pat gravatar image


I am using a camera sensor to record frames from a simulation and produce videos. However, I noticed that when generating the video (using the same fps as the update_rate of the sensor), the resulting video will not be of the expected length, but longer. I suspect that the update_rate of the sensor actually works with the real time of the simulation, instead of the fictional one (which is the one to be used). Is that possible? I can solve the issue by generating the video with a different fps, computed employing the number of generated frames and the simulation time; however, this is quite tedious.

Thanks in advance for the help

edit retag flag offensive close merge delete