-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipe.stop() after set_real_time(False) freezes the program when capturing from a rosbag file #3126
Comments
Is this behavior consistent for you? I ran the second snippet in a loop and couldn't get the program to freeze |
@lramati It's actually the first snippet the one that freezes, not the second. In the second I just change the real time option to True to point out that it works then. |
Possibly related to: #2472 |
The problem occurs erratically in 2.18.1, it's really annoying for production code, I need to kill the process from outside and setting real_time to True is not a workaround since you can loose frames to process. @dorodnic Do you have an actual workaround for this? Thanks. |
Well, a working approach is to postpone the processing after caching all frames in memory in real_time mode. Not so annoying :) |
using the lastest 2.21 version and still getting the freeze situation. |
I am also facing this issue in 2.21 |
facing this in 2.23 with both python and matlab. |
Me too 2.24. (C++ in my case) |
I just updated everything, now running kernel 5.0.0-29-generic with realsense api v 2.29, and this problems seems to be fixed! |
Issue Description
After opening a Rosbag file with real_time = False, stopping the pipe using pipe.stop() freezes the program.
Same code with real_time = True works flawlessly and stops the pipe.
This code freezes the program:
This code works well, the only difference is the value of real_time:
This code also freezes the program, the only difference is setting real_time a second time:
The text was updated successfully, but these errors were encountered: