You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Required Info
Camera Model
D435
Firmware Version
5.9.14
Operating System & Version
Win10
Platform
PC
SDK Version
2.14.1
Issue Description
Hi, I'm currently using playback to read from two rosbag files and synchronize those frames. As far as I don't write those frames to disk by stb, pipe.wait_for_frames() return each frames in .bag file correctly. However, when I try to call stbi_write_png, the next call of playback.resume() and pipe.wait_for_frames() return exactly the same frameset as the previous one.
Hi @hflsdupont
We are looking into this issue. The short story is that pause and resume have some unintended consequences on synchronization. If you avoid pause and resume I believe you will get the frames in correct sequence, but processing is likely to cause frame drops. One idea (I still need to test) is decreasing playback speed.
Hi @dorodnic
Thank you for the quick reply. I noticed playback.set_real_time() has similar functions as calling pause and resume, but it doesn't work for me as well. I'll try decreasing playback speed.
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
Hi, I'm currently using playback to read from two rosbag files and synchronize those frames. As far as I don't write those frames to disk by stb, pipe.wait_for_frames() return each frames in .bag file correctly. However, when I try to call stbi_write_png, the next call of playback.resume() and pipe.wait_for_frames() return exactly the same frameset as the previous one.
Thanks for the help
The text was updated successfully, but these errors were encountered: