ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi @tengfei
Even if you add source ~/catkin_ws/devel/setup.bash
to your ~/.bashrc
file, it only will be automatically executed when you open a shell.
If you create new packages, the setup.bash
won't be automatically executed on the shell that is already open, then, what I do is to run the following commands every time I create a new ROS Package
:
source ~/catkin_ws/devel/setup.bash
rospack profile
Probably only one of then would work, but I always run both commands to make sure it will find my recent created packages, messages, etc.