ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
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 -0500

munnveed gravatar image

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

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 -0500

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 -0500 )edit

Question Tools

1 follower


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

Seen: 283 times

Last updated: Oct 18 '13