Skip to content

Not able to run camera node if not root #62

@fabrizioschiano

Description

@fabrizioschiano

I am opening an issue after having tried really a lot of things which did not work.

The problem is the following (I am working on an NVIDIA TX2, an embedded ARM computer):
I am not able to run the camera node with rosrun camera1394 camera1394_node because it gives me the following error:

nvidia@tegra-ubuntu:~$ rosrun camera1394 camera1394_node
libdc1394 warning: usb: Failed to open device for config ROM
libdc1394 warning: Failed to get config ROM from usb device
[ERROR] [1524225157.307367296]: [camera] device open failed: [Camera1394::open]: No cameras found
libdc1394 warning: usb: Failed to open device for config ROM
libdc1394 warning: Failed to get config ROM from usb device
libdc1394 warning: usb: Failed to open device for config ROM
libdc1394 warning: Failed to get config ROM from usb device

This does not happen if I run the node as a root.

On the internet I found out that maybe this is due to some rules in udev that I need to set. I researched this issue a lot and I arrived at the conclusion that I needed to create (if not already available) the file
/etc/udev/rules.d/10-pointgrey.rules and put in this file the following line:
BUS=="usb", SYSFS{idVendor}=="1e10", SYSFS{idProduct}=="3300", GROUP="plugdev"

where I took the idVendor and idProduct from the lsusb command. Which was giving me the following:
Bus 002 Device 003: ID 1e10:3300 Point Grey Research, Inc.

Also after imposing this rule and rebooting the system nothing changed.

Could you please help me?

Thanks in advance for your time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions