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

issue viewing multicameras from rviz or image_view #23

Closed
PatrickHussey opened this issue Oct 14, 2014 · 7 comments
Closed

issue viewing multicameras from rviz or image_view #23

PatrickHussey opened this issue Oct 14, 2014 · 7 comments

Comments

@PatrickHussey
Copy link

Here's my issue:

I launch 2 Flea3 USB3 cameras with separate namespaces and separate nodelet managers: works as expected

Everything works fine, the topics are publishing and I get this result, as expected:
before_both_open_in_imageview

Now everything continues to work just fine if I open 1 image at a time in either image_view or rviz.

Here's the issue, when I open both images at the same time everything falls apart. I also tried launching image_view as a nodelet inside the individual namespaces with separate nodelet managers. I get a strange result after attempting to open simultaneously:
after_both_open_in_imageview

I can get both to display in image_view with a modified versions of the camera1394, libdc1394, and libusb. But not with the pointgrey_camera_driver.

I know this was brought up in a closed issue, but it did not have resolution there. Anyone have an idea why this might be happening? I am completely stumped....

@PatrickHussey PatrickHussey changed the title issue viewing multicameras from rviz of image_view issue viewing multicameras from rviz or image_view Oct 14, 2014
@dani-carbonell
Copy link

I still have this problem with two GigE PGE cameras. I get this error when some node demands images from the second camera:

[ERROR] [1419250192.411562627]: PointGreyCamera::grabImage Failed to retrieve buffer | FlyCapture2::ErrorType 41There is an image consistency issue with this image.

@mikepurvis
Copy link
Member

@konradb3 @ecuzzillo Do you guys know anything about this?

Potentially related: #28 #27 (comment)

@ecuzzillo
Copy link

Not at all. The only thing I would note is that the 'There is an image consistency issue with this image." spams quite regularly in normal operation. I imagine there is some crazy bug with reusing memory when it's not supposed to, but I have no good idea for where it would be.

@dani-carbonell
Copy link

I have reinstalled the ros-package and checked the version of libflycapture2. I still have the same issues. In the video I run a launch file with two nodelet-managers (one per camera).

https://www.youtube.com/watch?v=k-XHjpnZuAg&feature=youtu.be

@PatrickHussey
Copy link
Author

this was an issue related to this:

#8

it can be closed as well

@kingfolk
Copy link

Hi Patrick,

I use your launch file #8 (comment) for two flea3 cameras. But only the first camera is streaming, although i got topics from both left_camera and right_camera. I have already follow the instruction of usbfs setting. Do you have a clue of what might be wrong?

many thanks

@JakubWedrowycz
Copy link

Hello,
I am trying to use two Pointgrey cameras, and also have this problem:
[ERROR] [1446217164.145882434]: PointGreyCamera::grabImage Failed to retrieve buffer | FlyCapture2::ErrorType 41There is an image consistency issue with this image.

The cameras are connected, and I can see the topic for both, but once I want to see the stream from them, using image_view, the error occurs for image_raw topic. And to compare for image_mono, the window just opens but no stream is visible (white window) and no error message is sent.
I tried increasing memory buffer, I followed the solutions from ROS Wiki but it doesn't help - still the same error.
The funny thing is, that my friend is using exactly the same launch file on his computer and the same version of driver and ROS, and it works for him strangely: he can see the stream but once in a few seconds he receives the same error message, but the stream doesn't stop.
Can anyone help with that? I would really appreciate it

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

6 participants