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

Revision history [back]

You can place your packages anywhere in your system. It doesn't have to be in your home (~) directory. The right way to "share" your packages would be to get rid of hard-coded paths and use relative paths using rospack and rospkg.

This page will give you examples to get relative paths using both python and c++.