Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Environment Setup
Description: This tutorials steps you through setting up your desktop environment.Keywords: TurtleBot
Tutorial Level: BEGINNER
Contents
ROS Environment
ROS uses environment variables to find your libraries and by default the TurtleBot Tutorials use ROS Diamondback.
The quickest way to setup your environment is to type.
source /opt/ros/diamondback/setup.bash
This however will only work in your current terminal so instead you can do the following to make it setup every new terminal to use ROS diamondback.
echo source /opt/ros/diamondback/setup.bash >> ~/.bashrc
For more information on the general use of environment variables please see the general Environment Variables documentation.
If you have not already reviewed them, the core ROS Tutorials start by covering the use of environment variables and are highly recommended.