ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Your .bashrc file is located at the user's home directory, it's a linux thing. There isn't a different .bashrc file for each ros workspace. But you have to source every one ros workspace you want to use. These "sources" are happening when you open a new terminal. So remember to open a new terminal after a catkin_make
Example (in my .bashrc):
source /opt/ros/hydro/setup.bash
source ~/navigation_ws/devel/setup.bash
source ~/pandora_ws/devel/setup.bash
P.S. When you have multiple workspaces the latter overlays the previous ones. For example my nanigation_ws overloads some packages that exist in /opt/ros/hydro
2 | No.2 Revision |
Your .bashrc file is located at the user's home directory, it's a linux thing. There isn't a different .bashrc file for each ros workspace. But you have to source every one ros workspace you want to use. These "sources" are happening when you open a new terminal. So remember to open a new terminal after a catkin_make
Example (in my .bashrc):
source source ~/pandora_ws/devel/setup.bash
P.S. When you have multiple workspaces the latter overlays the previous ones. For example my nanigation_ws overloads some packages that exist in /opt/ros/hydro
3 | No.3 Revision |
Your .bashrc .bashrc
file is located at the user's home directory, it's a linux thing. There isn't a different .bashrc .bashrc
file for each ros workspace. But you have to source every one ros workspace you want to use. These "sources" are happening when you open a new terminal. So remember to open a new terminal after a catkin_make catkin_make
Example (in my .bashrc):.bashrc
):
source /opt/ros/hydro/setup.bash
source ~/navigation_ws/devel/setup.bash
source ~/pandora_ws/devel/setup.bash
P.S. When you have multiple workspaces the latter overlays the previous ones. For example my nanigation_ws overloads some packages that exist in /opt/ros/hydro
4 | No.4 Revision |
Your .bashrc
file is located at the user's home directory, it's a linux thing. There isn't a different .bashrc
file for each ros workspace. But you have to source every one ros workspace you want to use. These "sources" are happening when you open a new terminal. So remember to open a new terminal after a catkin_make
Example (in my .bashrc
):
source /opt/ros/hydro/setup.bash
source ~/navigation_ws/devel/setup.bash
source ~/pandora_ws/devel/setup.bash
P.S. When you have multiple workspaces the latter overlays the previous ones. For example my nanigation_ws navigation_wsoverloads some packages that exist
in /opt/ros/hydroin/opt/ros/hydro`
5 | No.5 Revision |
Your .bashrc
file is located at the user's home directory, it's a linux thing. There isn't a different .bashrc
file for each ros workspace. But you have to source every one ros workspace you want to use. These "sources" are happening when you open a new terminal. So remember to open a new terminal after a catkin_make
Example (in my .bashrc
):
source /opt/ros/hydro/setup.bash
source ~/navigation_ws/devel/setup.bash
source ~/pandora_ws/devel/setup.bash
P.S. When you have multiple workspaces the latter overlays the previous ones. For example my navigation_ws
overloads some packages that exist inin /opt/ros/hydro
/opt/ros/hydro`