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

Revision history [back]

click to hide/show revision 1
initial version

Hello @HiroIshida ,

I can see 2 solutions here, either you can manually edit your devel/setup.sh file or you can edit your ~/.bashrc by editing something like this.

source_my_ws()
{
source "$HOME"/my_ws/devel/setup.bash
export PATH=/path/to/somewhere:$PATH
}

Now whenever you want to source that workspace, you can just call function source_my_ws from terminal