Ask Your Question
0

Roslaunch cannot find launch file

asked 2014-03-02 04:13:48 -0500

evk02 gravatar image

I have installed uvc_camera package by running:

~/ros_catkin_ws/src $ git clone git://github.com/ktossell/camera_umd.git 
~/ros_catkin_ws $ catkin_make_isolated --pkg camera_umd --install

Everything went fine, no errors. But when I'm trying to launch a launch file from this package it says it cannot find it:

~/ros_catkin_ws $ ls /dev/video*
/dev/video0  /dev/video1
~/ros_catkin_ws $ roslaunch uvc_camera stereo_node.launch
[stereo_node.launch] is neither a launch file in package [uvc_camera] nor is [uvc_camera] a launch file name

The stereo_node.launch is still in the src folder:

~/ros_catkin_ws $ sudo find / -name stereo_node.launch
~/ros_catkin_ws/src/camera_umd/uvc_camera/launch/stereo_node.launch

Is it normal that after installation the .launch file is still in the /src folder? If no, then would this be an installation issue? If yes, then why roslaunch cannot find it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-03-02 10:31:45 -0500

ahendrix gravatar image

updated 2014-03-02 10:34:45 -0500

This sounds like an installation problem; the camera_umd package probably isn't installing that launch file.

I would inspect the package's CMakeLists.txt to be sure, and then file a bug against that package.

EDIT : confirmed, this CMakeLists.txt doesn't have install rules for any of the launch files: https://github.com/ktossell/camera_um...

edit flag offensive delete link more

Comments

Thanks, I filed the bug. Do you know where can I manually place the .launch files for to find it until the CMakeLists.txt's bug doesn't get resolved?

evk02 gravatar imageevk02 ( 2014-03-02 11:41:12 -0500 )edit

You can manually install them to ~/ros_catkin_ws/install/share/camera_umd/ . You may have to create the directory if it doesn't exist.

ahendrix gravatar imageahendrix ( 2014-03-02 19:38:05 -0500 )edit

Thanks, I have copied the launch file to ~/ros_catkin_ws/install_isolated/share/uvc_camera/ and now it works. Thanks!

evk02 gravatar imageevk02 ( 2014-03-03 05:51:26 -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: 2014-03-02 04:13:48 -0500

Seen: 2,016 times

Last updated: Mar 02 '14