-
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
.bag file convert to csv file #10235
Comments
Hi @LeeChangwon-remote As you have defined a filename for the bag but not a path to the file, have you placed your bag file in the same folder that rs-convert is launched from so that rs-convert can find the bag file? If the librealsense SDK was installed on Linux with the pre-made versions of tools and examples included then I would recommend launching the pre-built version of rs-convert from the usr/local/bin folder where launchable binaries of SDK examples are placed during SDK installation, and putting your bag file in the same folder as rs-convert. |
Thank you for your quick response. @MartyG-RealSense . |
My reason for suggesting changing to the usr/local/bin file and putting the bag there, instead of being in python/examples like the image above, was that inputting the rs-convert command could be causing the pre-built version of the program in usr/local/bin to run, but it looks for your bag file in the usr/local/bin folder and can't find it because the bag is in python/examples. A path to the bag file should be included in your conversion instruction in order for rs-convert to find it if the bag is not in the same directory that the program is launching from. |
A small number of RealSense users have reported problems with bag to csv conversion in the past when using rs-convert, whilst bag to PNG image extraction worked for them. Examples of this problem can be found at #6221 and also the link below. https://support.intelrealsense.com/hc/en-us/community/posts/360042055394/comments/360011063953 Similarly, problems with bag to ply conversion have been reported, like in #4171 (comment) If csv or ply conversion issues occur in rs-convert then there is not a known fix for it, unfortunately. If your main goal is to achieve a csv file and the bag recording is not important to you then the rs-capture tool can dump depth and color frames to csv, as described at #1485 (comment) For RealSense users who want to extract image files instead of csv or ply, there is an alternative extractor to rs-convert that was created by a RealSense user that is called rs_bag2image |
The depth data would be in the /device_0/sensor_0/Depth_0/image/data topic. I cannot find descriptions for the other highlighted topics, unfortunately. |
Okay, Thank you |
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
Hello, everyone.
I entered rs-convert command but problem called segmentaion fault (core doped) occurs when converting the bag file into a csv file.
Can you tell me the reason and solution?
The text was updated successfully, but these errors were encountered: