-
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
Unable to Stop Realsense Pipeline! [C++] #2743
Comments
Hello @RealSense-Customer-Engineering , any updates on what I could change to fix this? Many thanks!! 👍 😺 |
I have experienced the same issue. The problem seems to be this line: |
Hello @Tuebel , i will give this a shot. Thank you very much!! |
This works @Tuebel, thank you very much!! Any idea why this solves it? |
@HippoEug Nope this was just a lucky shot. |
[Realsense Customer Engineering Team Comment] Is the workaround suggested by Tuebel working for you? Thanks! |
Hi @RealSense-Customer-Engineering , the workaround works. However, it would be nice to have an explanation of why simply changing this parameter fixes this issue. Is this a bug? Good to know in case there are any side effects (which I have not discovered so far) |
Similar behavior using Python in this related issue: |
HI HippoEug, Wonder if there is any update? Thanks! |
Hi HippoEug, Wonder if you have any any update or still need help on this one? Thanks! |
@RealSense-Customer-Engineering @RealSenseCustomerSupport or enable_device_from_file(filename,False) only this can stop the pipeline and keep the program running |
Introduction
Hi! I am trying to convert/split a
.bag
file into.csv
and.png
for further data analytics. However, I am unable to stop the pipeline when the conversion is complete. I borrowed most of the conversion code fromrs-convert.exe
.Goal
For example, given a
.bag
file, in this caserecord.bag
, I am able to producerealsense_Color_7.png
,realsense_Depth_5.png
, and most importantlyrealsense_Depth_5.csv
.Issue
After conversion, I have confirmed the
realsense_Color_7.png
,realsense_Depth_5.png
, andrealsense_Depth_5.csv
opens just fine, but the pipeline refuses to close, resulting in aNot Responding Program
since my conversion function is written as a blocking one.Conversion Function Code:
Reason
I would like to stop the pipeline because the pipeline is with the configuration
convertConfig.enable_device_from_file("record.bag");
, and after this conversion I would like to restart the pipeline with a configuration for streaming Color and/or Depth (pipe->start(standardConfig);
)End
I have tested with just CSV conversion without PNG conversion, with the same results. The pipeline would not stop. Any ideas on how I would fix this is appreciated. Many thanks!
The text was updated successfully, but these errors were encountered: