ros-drivers / pointgrey_camera_driver

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

Core dumps when I try to connect to the camera #82

Closed fabrizioschiano closed 7 years ago

fabrizioschiano commented 7 years ago

Hi to everyone,

I have a FLEA3 USB Camera which is recognized my my system as you can see from the following screenshot. (This is done via the flycapture SDK). screenshot from 2016-10-26 18 06 15 Then I try to launch: rosrun pointgrey_camera_driver list_cameras and it also works: screenshot from 2016-10-26 18 08 51

Then I try to launch a camera_node: rosrun pointgrey_camera_driver camera_node

After that I try to see the camera feed through rqt_image_view

But the core dumps. I have this: screenshot from 2016-10-26 18 11 12

Could you please help me?

This camera is working perfectly on another laptop of a colleague.

Thanks in advance.

EDIT: I don't know if it can help but the Linux Kernel I am at is: Linux 4.4.0-45-generic #66~14.04.1-Ubuntu SMP Wed Oct 19 15:05:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

fabrizioschiano commented 7 years ago

Ok, I solved my problem.

I needed to follow the Troubleshooting at the end of this page: https://www.ptgrey.com/KB/10699

In particular I did the following: sudo sh -c 'echo 1000 > /sys/module/usbcore/parameters/usbfs_memory_mb'

This solved my problem.

I am on Ubuntu 14.04.

I hope this will help someone else with the same problem.