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

Error: ... is not a package or launch file name

asked 2013-07-03 03:49:06 -0600

Sonne gravatar image

updated 2013-07-03 03:53:46 -0600

Hi,

I'm using ROS groovy and have some packages in my workspace. When I use catkin_make and just want to build one of these packages, I put a CATKIN_IGNORE file into the packages I don't want to be build.

But when I now try to launch one of the packages which have a CATKIN_IGNORE file, roslaunch can't launch and shows "myPackage is not a package or launch file name".

Shouldn't it be possible to launch even if there is a catkin ignore file in the package?

Has anyone experience with catkin_make? Does anyone know how to build just one packet? Any idea how to do this without copying and deleting CATKIN_IGNORE files every time?

edit retag flag offensive close merge delete

Comments

Thank you. This works fine.

Sonne gravatar image Sonne  ( 2013-07-03 05:48:44 -0600 )edit

Seems to work fine, if the workspace contains only catkin packages. If there are packages which need to be build with 'catkin_make_isolated' it doesn't work, so that I need to use CATKIN_IGNORE files. Has anyone an idea who to build without putting CATKIN_IGNORE files in the packages in such case?

Sonne gravatar image Sonne  ( 2013-07-05 23:06:41 -0600 )edit
1

By placing a CATKIN_IGNORE file into a package folder you will make this package disappear - not only from the build but also from runtime. You will neither be able to discover the package anymore nor run binaries/launch files from it.

Dirk Thomas gravatar image Dirk Thomas  ( 2013-07-06 08:27:07 -0600 )edit

@Dirk thanks, removing the ignore helped my ROS accepting a roslaunch for a rosbuild package in my ROS_PACKAGE_PATH, which had no problems since the last update. But, why has groovy put that file (and lots of folders like devel) in my rosbuild package in the first place without needing them?

felix k gravatar image felix k  ( 2013-07-07 23:51:19 -0600 )edit
1

Nevermind, If I understood the issue correct, make eclipse-project was faulty and responsible for those folders. related question

felix k gravatar image felix k  ( 2013-07-07 23:55:49 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-07-03 05:43:05 -0600

dornhege gravatar image

As to building just one package: Use catkin_make --pkg PACKAGE.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-07-03 03:49:06 -0600

Seen: 2,699 times

Last updated: Jul 03 '13