Why you should catkin build
a pure python package as well, although nothing gets compiled:
When you build a package using catkin build
, the path to the package is added to some variables in setup.bash
.
When setup.bash
is sourced the next time, these variables are made part of the environment.
Thus, tools like rosrun
and roslaunch
can find the executables/scripts and python may find modules.