Skip to content
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 store image data as rosbag from stereo cameras simultaneously. #114

Closed
ashnarayan13 opened this issue May 5, 2017 · 5 comments

Comments

@ashnarayan13
Copy link

I want to store the image data from the cameras in real time. When I run the rosbag record, one of the camera nodes closes.
Any suggestions?

@mikepurvis
Copy link
Member

The topics are transcoded on demand, so if you try to subscribe to all of them, you'll peg your CPU. Did you record a specific topic, or just rosbag record -a?

@ashnarayan13
Copy link
Author

I am able to record a single topic at a time. I want to record the image_raw from both left and right cams simultaneously. When I try that, it crashes the right cam always. I am using flea3 cams.
rosbag record -a stops one of the cams from recording (right cam) and only left cam data is available

@naveenT1010
Copy link

Hi @mikepurvis, I am also trying to record two camera topics, but most of the times, one of the camera nodelet dies. Even if i try to view the images in rqt (both the cameras simultaneously) it again kills one of the camera nodelet.

@ashnarayan13
Copy link
Author

This can be fixed by changing the buffer for the USB on Jetson tx1 (device I was using).
Also, reducing the framerates / image resolution can help with this.

@BoomFan
Copy link

BoomFan commented May 10, 2018

Would you mind sharing the way you change USB buffer, please? I'm running into the same issue. And not only on Jetson tx1, but also on my personal laptop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants