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

Revision history [back]

catkin_python_setup() and the Setup.py are needed if you want to install the Python scripts/modules that you program. They basically define how to copy things from your workspace to the place where you want to install.

The tutorials work because there you just execute the script directly in your workspace. There is no Installation involved.

If you start to develop ROS packages that you intend to make public, I'd suggest you make sure you provide install tags. If not, this is definitely not mandatory...

catkin_python_setup() and the Setup.py are needed if you want to install the Python scripts/modules that you program. They basically define how to copy things from your workspace to the place where you want to install.

You also Need that if you write a module in pkg A and want to use/Import it in pkg B.

The tutorials work because there you just execute the script directly in your workspace. There is no Installation involved.

If you start to develop ROS packages that you intend to make public, I'd suggest you make sure you provide install tags. If not, this For modules, however, it is definitely not mandatory...mandatory.