Ask Your Question
0

realsense ROS wont start with roslaunch realsense2_camera rs_camera.launch

asked 2018-10-01 10:42:21 -0500

daedelus1982 gravatar image

updated 2018-10-02 06:47:09 -0500

I am trying to get the realsense ROS wrapper installed for my D435

I have followed the instructions here: https://github.com/intel-ros/realsens... which says... install librealsense SDK, install Kinetic then install realsense ROS. All of which I have done but when I get to the line

$ roslaunch realsense2_camera rs_camera.launch

it returns

[rs_camera.launch] is neither a launch file in package [realsense2_camera] nor is [realsense2_camera] a launch file name The traceback for the exception was written to the log file

Any ideas why its doing this? Also, where is the log file?

I am using Ubuntu 16.04 and ROS kinetic. I can also confirm that the realsense viewer is working as it should with the latest firmware

edit retag flag offensive close merge delete

Comments

Ros cannot find the package, did you source the setup.bash located in your catkin_ws/devel?

matlabbe gravatar imagematlabbe ( 2018-10-02 08:37:05 -0500 )edit

Thanks, yes I did, just double checked though. Still get the same error after sourcing. The source line is in .bashrc as well: source ~/catkin_ws/devel/setup.bash

daedelus1982 gravatar imagedaedelus1982 ( 2018-10-02 08:55:05 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-02 09:43:02 -0500

daedelus1982 gravatar image

Sorry, it was my own stupid mistake.

I missed out the 'clone' part in the realsense install instructions. Works OK now, albeit with a couple of warnings:

[ INFO] [1538490692.476132397]: RealSense Node Is Up!
 02/10 15:31:32,620 ERROR [140522792425344] (types.h:179) xioctl(VIDIOC_S_CTRL) failed Last Error: Numerical result out of range
[ WARN] [1538490692.620699703]: Reconfigure callback failed with exception xioctl(VIDIOC_S_CTRL) failed Last Error: Numerical result out of range: 
 02/10 15:31:32,650 WARNING [140522068899584] (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to installation chapter for details.
[ WARN] [1538490692.652735711]: Frame metadata isn't available! (frame_timestamp_domain = RS2_TIMESTAMP_DOMAIN_SYSTEM_TIME)
 02/10 15:31:32,663 WARNING [140522029975296] (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to installation chapter for details.

Is it normal?

edit flag offensive delete link more

Comments

When using rqt_image_view, can you see the images streamed?

matlabbe gravatar imagematlabbe ( 2018-10-02 11:03:48 -0500 )edit

I do yes. Thanks for your time and answers.

daedelus1982 gravatar imagedaedelus1982 ( 2018-10-02 11:48:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-10-01 10:42:21 -0500

Seen: 1,120 times

Last updated: Oct 02 '18