-
Notifications
You must be signed in to change notification settings - Fork 258
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
ros2 bag can't be shut down with ctrl + c when the bag is paused #1000
Comments
@Kaju-Bubanja I confirm this issue. I came across on it recently too. |
@MichaelOrlov While I have your attention :P May I ask you to have a look at this issue: #966 ? The ctrl + c or z issue is a minor cosmetic thing, but the issue 966 is really a blocker for me right now, because I can't play back a large bag file which is split. The issue seems orphaned but easy to fix(I assume, could always turn out very hard ofc), if you know more about the rosbag2 internals. |
@Kaju-Bubanja After some analysis I can say that fix for this particular issue is going to be in one line and most probably will need to add one more regression test. Giving that I |
I see, unfortunate because I have a weeks worth of data which I can't analyse. I guess I will dig into the code to see what I can do. |
You can try to put correct start time in |
The thing is the times are correct everywhere, that's what confused me. They are correct in the metadata.yaml and in the individual bags. I think the reader is somehow broken. |
Hey @MichaelOrlov, for the Humble release, do you think we should say in the release documentation that splitting bags is an experimental feature? |
Maybe the best would be to have a warning where the doc is on how to use it. Because for me it was quite a surprise, the rest of rosbag2 works good, so i expected the split feature to work too and didnt test playback first before collecting data. This just in case the humble release happens before the fix. Better be warned then surprised later. |
Perhaps a warning would be a good idea.
The nice thing about calling it "experimental" is that, IIUC, it doesn't lock in the API/ABI, so that they can change if needed to make fixes. To me it basically means that it's still evolving, which doesn't necessarily relate to how long the feature has been around. |
@Kaju-Bubanja I've prepared fix #1002 for this bug. |
Ok. I agree. |
Will do. |
FYI, here's the release note in the known issues section: ros2/ros2_documentation#2643. |
Thank you @audrow. Much appreciated. |
Description
ros2 bag can't be shut down with ctrl + c when the bag is paused, but it can also not be resumed after sending ctrl + c once. It enters a frozen state where only ctrl + z helps.
Expected Behavior
Clean shutdown like when the bag is not paused
Actual Behavior
The program freezes
To Reproduce
System (please complete the following information)
The text was updated successfully, but these errors were encountered: