Robotics StackExchange | Archived questions

realsense ROS wont start with roslaunch realsense2_camera rs_camera.launch

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

I have followed the instructions here: https://github.com/intel-ros/realsense/tree/6f2c7c86208f4b5f653e4c15cb1ca6a3515f3b09#installation-instructions 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 realsense2camera rscamera.launch

it returns

[rscamera.launch] is neither a launch file in package [realsense2camera] 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

Asked by daedelus1982 on 2018-10-01 10:42:21 UTC

Comments

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

Asked by matlabbe on 2018-10-02 08:37:05 UTC

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

Asked by daedelus1982 on 2018-10-02 08:55:05 UTC

Answers

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?

Asked by daedelus1982 on 2018-10-02 09:43:02 UTC

Comments

When using rqt_image_view, can you see the images streamed?

Asked by matlabbe on 2018-10-02 11:03:48 UTC

I do yes. Thanks for your time and answers.

Asked by daedelus1982 on 2018-10-02 11:48:16 UTC