ros-drivers / pointgrey_camera_driver

ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
128 stars 177 forks source link

Failed to get first connected camera #207

Open mankinb opened 3 years ago

mankinb commented 3 years ago

Hi all,

I'm trying to use this driver to publish a live image stream from a FLIR Blackfly S USB to rqt_image_view. I know this was based on FlyCapture2, but I have seen many places online that it has been successfully used with Blackfly. I have Spinnaker SDK already installed, and I can run SpinView as sudo.

I'm using Ubuntu 18.04 and ROS Melodic.

When I try: roslaunch pointgrey_camera_driver camera.launch, I receive:

SUMMARY

PARAMETERS

NODES /camera/ camera_nodelet (nodelet/nodelet) camera_nodelet_manager (nodelet/nodelet) image_proc_debayer (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

process[camera/camera_nodelet_manager-1]: started with pid [15308] process[camera/camera_nodelet-2]: started with pid [15309] process[camera/image_proc_debayer-3]: started with pid [15310] [ERROR] [1623434176.028826042]: Reconfigure Callback failed with error: PointGreyCamera::connect Failed to get first connected camera | FlyCapture2::ErrorType 19 Failed to get the camera from the index.

(and of course, no image stream is published to rqt_image_view).

Any help on this would be greatly appreciated. Thanks in advance!