Robotics simulation setup - RobotTeaching/COMP4034 GitHub Wiki

ROS installation

This year's module is developed on a standard ROS Noetic Installation running on a 64-bit Installation of Ubuntu 20.04LTS.

Step 1: Install ROS

  1. Open a terminal
  2. sudo apt-get update && sudo apt-get dist-upgrade
  3. Follow the instructions here and perform a Desktop-Full Install.

Step 2: Turtlebot3 and Gazebo installation

We will use the Turtlebot Waffle in this year's practical work.

  1. Install Turtlebot3 on your PC by following the Quick Start Guide -> 3.1. PC setup. Make sure you select Noetic at the top of the screen.
  2. Skip the Network Configuration part
  3. Skip the rest of Quick Start (items 3.2-3.6)
  4. Jump to 6.Simulation and complete the instructions

Test your setup. Open a terminal and enter the following commands:

  1. export TURTLEBOT3_MODEL=waffle
  2. roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch You should see an empty scene with your Turtlebot sitting in the middle: A lonely Turtlebot

PS. You may want to add TURTLEBOT3_MODEL to the bash script if you don't want to enter it each time you open a new terminal.

  1. nano ~/.bashrc
  2. export TURTLEBOT3_MODEL=waffle
  3. source ~/.bashrc