ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Problem with pr2_2dnav tutorial [closed]

asked 2015-03-16 05:36:09 -0600

pexison gravatar image

updated 2015-03-17 05:03:47 -0600

Hello,

i'm trying to follow the pr2_2dnav tutorial but I found that when I execute the command roslaunch pr2_2dnav pr2_2dnav.launch it says:

[pr2_2dnav.launch] is neither a launch file in package [pr2_2dnav] nor is [pr2_2dnav] a launch file name

I used sudo apt-get install ros-hydro-pr2-2dnav in order to obtain the package.

What could generate this problem?

Thanks beforehand!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by pexison
close date 2015-03-18 11:45:34.572858

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-03-17 05:18:06 -0600

gvdhoorn gravatar image

Looking at the CMakeLists.txt for pr2_2dnav for Hydro, it would appear that the launch file is not installed (the build script is missing an install(..) rule). That would result in the error message you quoted.

You can check this by doing a ls -al /opt/ros/hydro/share/pr2_2dnav/ and then look for the pr2_2dnav.launch file in the listing. It will most likely not be there.

If the file is missing, please log an issue on the pr2_navigation_apps issue tracker.

edit flag offensive delete link more

Comments

under this directory is only a cmake folder and a package.xml file, there are no more files/folders. Should I log an issue then?

pexison gravatar image pexison  ( 2015-03-17 05:37:36 -0600 )edit

Yes, file an issue and please add a link to this question to the issue.

gvdhoorn gravatar image gvdhoorn  ( 2015-03-17 06:21:32 -0600 )edit

Thanks for bringing this up. I've fixed it and re-released it. See: https://github.com/ros/rosdistro/pull...

DevonW gravatar image DevonW  ( 2015-03-17 11:01:03 -0600 )edit

By the way, it is possible to use this library for the turtlebot? or it is only for PR2 robot?

pexison gravatar image pexison  ( 2015-03-18 04:07:52 -0600 )edit

Please open a new question if this one is answered.

DevonW gravatar image DevonW  ( 2015-03-18 09:24:43 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-16 05:36:09 -0600

Seen: 1,056 times

Last updated: Mar 17 '15