[Documentation] [TitleIndex] [WordIndex

(!) 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.

Installation

Description: Installation instructions from iso, deb or sources.

Keywords: turtlebot installation

Tutorial Level: BEGINNER

Next Tutorial: Post-Installation Setup

Choose the installation process you'd like to follow from the options below.

USB Installation

Not yet supported!

Debs Installation

Pre-Requisites

These instructions are intended for users with a netbook pre-installed with Ubuntu Precise.

Instructions

Follow the generic Ubuntu instructions for a ros-hydro-desktop-full installation.

In addition, you will need to install the following debs for TurtleBot (please update this if you find any errors):

> sudo apt-get install ros-hydro-turtlebot ros-hydro-turtlebot-apps ros-hydro-turtlebot-viz ros-hydro-turtlebot-simulator ros-hydro-kobuki-ftdi

One last step if you have a kobuki base, you'll need to add Kobuki's udev rules (you'll need your sudo password):

> . /opt/ros/hydro/setup.bash
> rosrun kobuki_ftdi create_udev_rules

Convenience

For convenience, you may wish to source your setup.sh script from your .bashrc so that your environment is ready as soon as you log in. e.g.

> echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc

If you have overlaid your own development environment on top of the installed debs, point to that setup script instead.

Source Installation

Overview

This guide is for people who'd like to hack on the turtlebot sources and contribute. For more information, please ask us for more information at <ros-sig-turtlelbot AT googlegroups DOT com>.

On Hydro, source installation gets simple compared to groovy since everything is now catkinized.

Preparation

> sudo apt-get install python-rosdep python-wstool ros-hydro-ros
> sudo rosdep init
> rosdep update

Software Development Workspace

> mkdir ~/turtlebot
> cd ~/turtlebot
> wstool init src https://raw.github.com/turtlebot/turtlebot/hydro/turtlebot.rosinstall -j8
> source /opt/ros/hydro/setup.bash
> rosdep install --from-paths src -i -y
> catkin_make

If you have a kobuki base, don't forget to create the udev rule so that it always appears on /dev/kobuki (you'll need your sudo password):

> source ~/turtlebot/devel/setup.bash
> rosrun kobuki_ftdi create_udev_rules

Optional: Software Installation Workspace

The previous instructions are sufficient for working and building with the sources in the devel space. You can also install the results and use that as well (for most users there are no immediate benefits to this).

# Follow the previous instructions up to catkin_make, then:
> catkin_make -DCMAKE_INSTALL_PREFIX=/opt/turtlebot/hydro
> cd build; sudo make install
> source /opt/turtlebot/hydro/setup.bash
# If you need to uninstall
> rm -rf /opt/turtlebot/hydro

Convenience

For convenience, you may wish to source your setup.sh script from your .bashrc so that your environment is ready as soon as you log in. e.g.

> echo "source ~/turtlebot/devel/setup.bash" >> ~/.bashrc

What Next?


2019-10-19 13:17