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

Lanching with multiple camera_nodelet_manager gives erratic behavior #101

Open
Thomas-Merlet opened this issue Jul 12, 2022 · 2 comments
Open

Comments

@Thomas-Merlet
Copy link

Hi,

I've been struggling to launch multiple cameras using this node.

After some investigation, it appears that launching the node with multiple camera_nodelet_manager was causing the issue.
Doing so, the ROS driver will either:

  • Work as expected
  • Ouptut one of the following errors
    Failed to connect with error: [SpinnakerCamera::connect] Failed to connect to camera. Error: Spinnaker: Camera is not communicating in U3V protocol. [-1015]
    [SpinnakerCamera::grabImage] Failed to retrieve buffer with error: Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011]
  • Make the entire PC crash on startup

This is unconsistent with the comment in the stereo.launch file ( Both cameras are not loaded into one nodelet manager to avoid the namespacing issue.), algouth it's not was is done in this launch file. Launching multiple camera.launch causes the problem. Following the stereo.launch layout and expending it for multiple cameras solved the issue.

Details:

  • flir_camera_driver: 2.0.3
  • spinnaker 2.5.0.80
  • OS: Ubuntu 18.04 LTS (ROS Melodic)

Thanks

@MathiasStokholm
Copy link

@Thomas-Merlet I've seen this behavior when trying to run while a newer version of the Spinnaker SDK is installed. Can you try just uninstalling the SDK and reconfiguring + compiling?

@Thomas-Merlet
Copy link
Author

@MathiasStokholm Yes, I've actually encountered this problem on multiple computer, with different installation. I was using Spinnaker SDK 2.5.0.80 for my tests.

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

2 participants