Comments (8)
Hi! Thanks for giving the a try— sorry it's not doing the right thing for you.
The way this driver is structured is very different from camera1394; we're primarily just calling through to the libflycapture library supplied by Pt. Grey, which we've found to be more efficient than camera1394, as well as supporting camera features not available in the generic interface. If the device is appearing in /dev
, then it's still possible there's a permissions problem. A quick way to check this is to try executing everything as root:
sudo su
source /opt/ros/hydro/setup.bash
rosrun pointgrey_camera_driver list_cameras
If it works that way, then the udev rules file needs to be tweaked to properly recognize your camera. Would welcome a pull request to that effect!
Oh, one other thing— I'm assuming you're on Ubuntu 12.04, with a 3.2 or 3.8 kernel. Is that correct?
from pointgrey_camera_driver.
Thanks! You are correct; executing everything as root made it all work as intended. Now, here's where my Linux skills start to fade. The udev keys for the device are as listed:
KERNEL=="fw1"
SUBSYSTEM=="firewire"
DRIVER==""
ATTR{guid}=="0x00b09d0100d61c64"
ATTR{units}=="0x00a02d:0x000102"
ATTR{is_local}=="0"
ATTR{vendor}=="0x00b09d"
ATTR{vendor_name}=="Point Grey Research"
So, I added the following line, and a couple of variants, to the 71-pgr.rules file without much success:
KERNEL=="fw*" SUBSYSTEM=="firewire", ATTR{vendor}=="0x00b09d", MODE="0666"
Beyond that, I'm not really sure how to tweak the udev rules so that my camera is recognized / listed when I'm not root. What should I be looking for / adding to the udev rules to get the camera to be recognized?
Thanks!
Matt
from pointgrey_camera_driver.
Oh, one more thing: Ubuntu 12.04, ROS Hydro, kernal 3.13
from pointgrey_camera_driver.
This is a bit of a blunt instrument, but please try out the following:
KERNEL=="fw*", MODE="0666", GROUP="pgrimaging"
Make sure you reload the udev rules and replug the device as well.
from pointgrey_camera_driver.
Like most blunt instruments, that seemed to do the job. Also, just found my typo in my above noted rules line:
KERNEL=="fw_" SUBSYSTEM=="firewire", ATTR{vendor}=="0x00b09d", MODE="0666"
should have an extra comma:
KERNEL=="fw_", SUBSYSTEM=="firewire", ATTR{vendor}=="0x00b09d", MODE="0666"
and adding in the group:
KERNEL=="fw*", SUBSYSTEM=="firewire", ATTR{vendor}=="0x00b09d", MODE="0666", GROUP="pgrimaging"
which also seems to be working fine now.
Thanks again!
Matt
from pointgrey_camera_driver.
Okay, perfect. Will leave this ticket open until I've fixed the issue in the repo.
from pointgrey_camera_driver.
Im not sure if this is just something with my computer, but i am still receiving the same error on Ubuntu 14.04 indigo. I can reproduce
sudo su
source /opt/ros/hydro/setup.bash
rosrun pointgrey_camera_driver list_cameras
and it works fine. Coriander works perfectly fine too, and so does camera1394stereo. udevinfo doesnt work for me on 14.04 and udevadm doesnt produce the useful attributes like udevinfo does.
device shows up under /dev/fw1 as well. Not sure what to do here.
from pointgrey_camera_driver.
I am also facing the same problem for Ubuntu 12.04.
I have installed ros-hydro driver "pointgrey_camera_driver". When I try to run the nodes to connect to the camera, I am getting the following error messages (with and with out specifying serial number):
- PointGreyCamera::connect Failed to get first connected camera | FlyCapture2::ErrorType 19Failed to get the camera from the index
- PointGreyCamera::connect Could not find camera with serial number: 10210007. Is that camera plugged in? | FlyCapture2::ErrorType 19Failed to get the camera from the serial number.
What is surprising is that if I am running everything as a superuser, I am able to access cameras properly with no errors.
What am I doing wrong, please help me out here.
My /lib/udev/rules.d contains the standard file 40-ros-hydro-pointgrey-camera-driver.rules:-
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="2000", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="2001", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="2002", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="2003", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="2004", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="2005", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3000", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3001", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3004", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3005", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3006", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3007", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3008", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="300A", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="300B", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3100", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3101", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3102", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3103", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3104", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3105", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3106", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3107", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3108", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3109", MODE="0666", GROUP="pgrimaging"
ATTRS{idVendor}=="1e10", ATTRS{idProduct}=="3300", MODE="0666", GROUP="pgrimaging"
KERNEL=="raw1394", MODE="0666", GROUP="pgrimaging"
KERNEL=="video1394_", MODE="0666", GROUP="pgrimaging"
KERNEL=="fw_", SUBSYSTEM=="firewire", ATTR{vendor}=="0x00b09d", MODE="0666", GROUP="pgrimaging"
KERNEL=="fw*", SUBSYSTEM=="firewire", ATTR{vendor}=="0x00a02d", MODE="0666", GROUP="pgrimaging"
from pointgrey_camera_driver.
Related Issues (20)
- Cannot Download Camera Driver HOT 6
- Poor Frame Rate with shared ethernet channel
- Is it possible to launch by IP address and/or network interface?
- pointgrey_camera_driver : FlyCapture2::ErrorType 28 Feature register read failed.
- Flea 3 Camera not discoverable
- Jetson TX2: Camera detected, but no serial number output
- Rename statistics_msgs? HOT 5
- Noetic release HOT 5
- Stereo Mode Nodelet Crashes After Calibrator Subscribes to Two Topics HOT 1
- Blackfly BFS-U3-04S2C-CS - No Cameras Detected HOT 3
- [Question]: Compatibility with Blackfly S GigE or Grasshopper3 GigE HOT 2
- Can use this driver for Grassshopper3 GS3-U3-51S5C USB3 cameras and get the point clouds in ROS?
- Error by running camera_node under ROS-Noetic HOT 1
- Failed to get first connected camera
- Compressed image transport support HOT 3
- Fails to reconnect to camera when it is re-plugged in, or is plugged in after startup of the node
- ROS 2 Port HOT 1
- Any possibility to support ROS2 HOT 1
- How to change the frame of image_mono topic? HOT 1
- stereo launch file error(only one image is played) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pointgrey_camera_driver.