ros-drivers / pointgrey_camera_driver

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

This package does not automatically install 60-pgr.rules #85

Closed TheDash closed 7 years ago

TheDash commented 7 years ago

Manual install and copy/paste required before camera is detected.

fabrizioschiano commented 7 years ago

Could you describe a bit more your problem ? I did not understand what is it about.

TheDash commented 7 years ago

The udev rules aren't installed by this package. So when you install the camera, the package won't work unless you configure the udev rules. There is source code in the package that means to do this - but it doesn't achieve it.

mikepurvis commented 7 years ago

It does if you install from the deb— debhelper picks up the files and slips them into the correct locations:

https://github.com/ros-drivers-gbp/pointgrey_camera_driver-release/tree/debian/indigo/pointgrey_camera_driver/debian

TheDash commented 7 years ago

It was installed by the deb. Version 0.12.2. Files were put into /lib/udev/rules.d but not /etc/udev/rules.d

After they were applied to /etc/udev/rules.d, it detected the camera perhaps its related to the files being there - but a lack of a command to actually make sure these commands are installed.

FWIW:

/lib/udev/rules.d contains the .udev files as copied from the source, but perhaps it should contain .rules files? I manually copied 60-pgr.rules over to /etc/udev/rules.d and that is when it started working. Wasn't working if I had .udev files in the /lib/udev/rules.d/

TheDash commented 7 years ago

I'll close this. seems like it did install. But for some reason it wasn't showing up and I had to manually do it. I re-installed later to see if it was working as intended, and it did.

Must have been a blip in the matrix.. We got cheesed.