[Documentation] [TitleIndex] [WordIndex

All these tutorials assume that you have setup your tutorial workspace. If you have not done so click here.

Setting up the ROS tutorial workspace

This describes how to setup your environment for tutorials.

  Show EOL distros: 

Create a file named ~/tutorials.rosinstall with the following content:

- other: { local-name: workspace }

To overlay on the ROS distro you are using:

rosinstall ~/tutorials /opt/ros/%YOUR_ROS_DISTRO% ~/tutorials.rosinstall

Fill in %YOUR_ROS_DISTRO% with either { electric, fuerte } or any distro you use.

To use this workspace whenever you open a new terminal setup your ROS environment by typing:

source ~/tutorials/setup.bash

Sourcing this file adds ~/tutorials/workspace to your ROS_PACKAGE_PATH.

Create a file named ~/tutorials.rosinstall with the following content:

- other: { local-name: workspace }

To overlay on the ROS distro you are using:

rosinstall ~/tutorials /opt/ros/%YOUR_ROS_DISTRO% ~/tutorials.rosinstall

Fill in %YOUR_ROS_DISTRO% with either { electric, fuerte } or any distro you use.

To use this workspace whenever you open a new terminal setup your ROS environment by typing:

source ~/tutorials/setup.bash

Sourcing this file adds ~/tutorials/workspace to your ROS_PACKAGE_PATH.

Create catkin workspace by following this tutorial. Don't forget to source setup script as mentioned in it.

Any packages you create in that directory will be found by rospack.

An alternative to source your script file is to add it to your .bashrc, but remember that this will persist in your .bashrc into the future, and you can only have one environment setup. For more on what this is doing see this page


2024-11-16 17:49