ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Did you notice the Setting up the environment section in the installation tutorial?
Specifically this part:
Environment setup
It's convenient if the ROS environment variables are automatically added to your bash session every time a new shell is launched:
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc source ~/.bashrc
''If you have more than one ROS distribution installed,
~/.bashrc
must only source thesetup.bash
for the version you are currently using.''If you just want to change the environment of your current shell, instead of the above you can type:
source /opt/ros/melodic/setup.bash
2 | No.2 Revision |
This is not easy for ROS newbies. No idea what I'm missing yet, and the documentation hasn't led to any clues.
Did you notice the Setting up the environment section in the installation tutorial?
Specifically this part:
Environment setup
It's convenient if the ROS environment variables are automatically added to your bash session every time a new shell is launched:
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc source ~/.bashrc
''If you have more than one ROS distribution installed,
~/.bashrc
must only source thesetup.bash
for the version you are currently using.''If you just want to change the environment of your current shell, instead of the above you can type:
source /opt/ros/melodic/setup.bash