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

Revision history [back]

click to hide/show revision 1
initial version

You can organise your packages any way you want, catkin will crawl your directory structure and discover packages. rosrun should have no problem with this either, provided you have correctly sourced the devel/setup.bash after building your workspace.

I added my src folder to ROS_PACKAGE_PATH but nothing is found.

If you use catkin to build, and source the devel/setup.bash, you should not need to set ROS_PACKAGE_PATH yourself.

You can organise your packages any way you want, catkin will crawl your directory structure and discover packages. rosrun should have no problem with this either, provided you have correctly sourced the devel/setup.bash after building your workspace. The only constraint is that catkin by default only looks for packages under the src directory in your catkin workspace.

I added my src folder to ROS_PACKAGE_PATH but nothing is found.

If you use catkin to build, and source the devel/setup.bash, you should not need to set ROS_PACKAGE_PATH yourself.