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

Revision history [back]

Note that sourcing a setup.bash file overwrites any environment variables that were set through a previous "sourcing" of a setup.bash file. At the bottom of your bashrc, you source 4 workspace setup.bsh files, and one from the Indigo install. The only source command that has any lasting effect is the last one. So the environment you see should only have the /home/robot3/test2 workspace active.

If you need all of these workspaces active at the same time, you should either merge them to make one workspace, or read about workspace chaining. Unless you have a good reason to have all of these workspaces, I'd recommend just merging them.

Note that sourcing a setup.bash file overwrites any environment variables that were set through a previous "sourcing" of a setup.bash file. At the bottom of your bashrc, you source 4 workspace setup.bsh setup.bash files, and one from the Indigo install. The install, but the only source command that has any lasting effect is the last one. So the environment you see should only have the /home/robot3/test2 workspace active.

If you need all of these workspaces active at the same time, you should either merge them to make one workspace, or read about workspace chaining. Unless you have a good reason to have all of these workspaces, I'd recommend just merging them.