Realsense cannot find the camera
Hello, I followed realsense tutorial from the link. In the end when I ran the camera node it cannot find the camera. I did not install any other realsense software prior to this tutorial. My error log is below. Basically it says no camera is detected, even though my camera is attaced via USB3.0 port.
My camera is Creative BlasterX Senz3D Appreciate your help.
robolab3@robolab3-Inspiron-7566:~$ roslaunch realsense_camera sr300_nodelet_default.launch ... logging to /home/robolab3/.ros/log/853b5580-3031-11e8-9952-701ce722ed90/roslaunch-robolab3-Inspiron-7566-3853.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://robolab3-Inspiron-7566:41951/
SUMMARY
PARAMETERS * /camera/driver/base_frame_id: camera_link * /camera/driver/camera_type: SR300 * /camera/driver/color_fps: 30 * /camera/driver/color_frame_id: camera_rgb_frame * /camera/driver/color_optical_frame_id: camera_rgb_optica... * /camera/driver/depth_frame_id: camera_depth_frame * /camera/driver/depth_height: 480 * /camera/driver/depth_optical_frame_id: camera_depth_opti... * /camera/driver/depth_width: 640 * /camera/driver/fisheye_frame_id: camera_fisheye_frame * /camera/driver/fisheye_optical_frame_id: camera_fisheye_op... * /camera/driver/imu_frame_id: camera_imu_frame * /camera/driver/imu_optical_frame_id: camera_imu_optica... * /camera/driver/ir2_frame_id: camera_ir2_frame * /camera/driver/ir2_optical_frame_id: camera_ir2_optica... * /camera/driver/ir_frame_id: camera_ir_frame * /camera/driver/ir_optical_frame_id: camera_ir_optical... * /camera/driver/mode: manual * /camera/driver/serial_no: * /camera/driver/usb_port_id: * /rosdistro: kinetic * /rosversion: 1.12.13
NODES /camera/ driver (nodelet/nodelet) nodelet_manager (nodelet/nodelet)
auto-starting new master process[master]: started with pid [3864] ROS_MASTER_URI=http://localhost:11311
setting /run_id to 853b5580-3031-11e8-9952-701ce722ed90 process[rosout-1]: started with pid [3877] started core service [/rosout] process[camera/nodelet_manager-2]: started with pid [3880] process[camera/driver-3]: started with pid [3881] libusb_open(...) returned LIBUSB_ERROR_ACCESS
[camera/driver-3] process has died [pid 3881, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load realsense_camera/SR300Nodelet nodelet_manager depth:=depth color:=color ir:=ir ir2:=ir2 fisheye:=fisheye imu:=imu __name:=driver __log:=/home/robolab3/.ros/log/853b5580-3031-11e8-9952-701ce722ed90/camera-driver-3.log]. log file: /home/robolab3/.ros/log/853b5580-3031-11e8-9952-701ce722ed90/camera-driver-3*.log
The
LIBUSB_ERROR_ACCESS
error message onlibusb_open
makes me think the driver found the device, but the user running ROS has no access to it. Try adding the user to theplugdev
group, or modify/add udev rules to give the user access to this device (depending on your security requirements).Try adding the user to the plugdev group: How can I do it?
Adding a user to the plugdev group is the 3. option in my answer.