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

Revision history [back]

Normally when you installed ROS you added the following line to your .bashrc

source /opt/ros/indigo(or any other distro)/setup.bash

This is only done for more convenience and if you only use one ROS disto. The content of a .bashrc is executed automatically whenever you open a terminal in order to setup some environment variables (telling linux where to find ROS). I don't know what implications a missing bashrc would have on linux but for ROS you just need to run the command I mentioned above in every new terminal you open and eventually also source any other workspaces you are using. Mostly it would look like this

source /home/user_name/some_workspace/devel/setup.bash