ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Why does catkin add the src directory of the workspace to ROS_PACKAGE_PATH and not the devel directory?

asked 2013-08-28 09:24:32 -0600

munnveed gravatar image

updated 2013-10-18 07:47:19 -0600

KruseT gravatar image

If the devel space is supposed to mimic the install space, (as described in, should that not be what is added to the ROS_PACKAGE_PATH? It seems confusing to have the package.xml and .launch files remain in the src directory and the binary targets copied to the devel directory...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-29 17:31:54 -0600

I'm not an expert, but this catkin-related REP seems to provide the rationale for this design choice.

Basically, the REP says that it would have potentially broken some override capabilities to add both locations to ROS_PACKAGE_PATH, and it would've been overly complicated to copy all src files to the devel directory on every catkin_make.

edit flag offensive delete link more


Thanks. At least it is not the case that I was just missing something obvious.

munnveed gravatar image munnveed  ( 2013-08-29 17:49:25 -0600 )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


Asked: 2013-08-28 09:24:32 -0600

Seen: 248 times

Last updated: Oct 18 '13