ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The solution depends on how you generated your rosbuild workspace. This page contains all the info you need. But I'll summarise below.
If you created your rosbuild workspace with rosws then add to your ~/.bashrc
the following line:
source $HOME/mywork/setup.bash
When going down this route make sure you called rosws after having sourced the setup.bash from your catkin devel directory (assuming you're mixing catkin and rosbuild). See the link above for more information.
Alternatively, if you want to set your workspace the "traditional" (pre-groovy) way, then append the following to ~/.bashrc
:
export ROS_PACKAGE_PATH=$HOME/mywork:$ROS_PACKAGE_PATH
This simply adds your rosbuild workspace to ROS's package path (which incidentally is what the error above was trying to tell you to do :P ).