ros-drivers / flir_camera_driver

153 stars 146 forks source link

Lanching with multiple camera_nodelet_manager gives erratic behavior #101

Open Thomas-Merlet opened 2 years ago

Thomas-Merlet commented 2 years ago

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:

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:

Thanks

MathiasStokholm commented 1 year ago

@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 commented 1 year ago

@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.