RoboRacer - Learn
latest

Getting Started

  • Start Here!

Overview

  • Introduction
  • Syllabus

Setup

  • VESC setup
  • Lidar Setup
  • RoboRacer Driver Stack
  • Calibrate Odom
  • NoMachine
  • INSTALL - Realsense D435i
  • SETUP - OpenCV
  • SETUP - Realsense ROS
  • SETUP - SLAM
  • SETUP - Nav2

Modules

  • Module A: Introduction to ROS, RoboRacer & the Simulator
  • Module B: Reactive Methods
  • Module C: Mapping & Localization
  • Module D: Planning & Control
  • Module E: Vision
  • Module F: Special Topics
  • Module G: RoboRacer Grand Prix!!
  • Material Downloads

Module A - Introduction

  • Tutorial 1 - ROS 2 Intro and Turtlesim
    • Turtlesim Installation
    • Create turtlesim_ws Workspace
    • Create Turtlesim Controller Package
  • Tutorial 2 - Automatic Emergency Braking

Module B - Reactive Methods

  • Tutorial 3 - Wall Following
  • Tutorial 4 - Follow the Gap

Module C - Mapping & Localization

  • Tutorial 5 - SLAM
  • Tutorial 6 - Nav2 Navigation

Module D - Planning & Control

  • Tutorial 7 - Particle Filter Localization
  • Tutorial 8 - Pure Pursuit

Weber Assignments

  • Labs

Assignments

  • Labs
  • Races
  • Final Project
  • Grading Rubrics

Support

  • Contact
  • Acknowledgements
RoboRacer - Learn
  • »
  • Tutorial 1 - ROS 2 Intro and Turtlesim
  • Edit on GitHub

Tutorial 1 - ROS 2 Intro and Turtlesim¶

  • Turtlesim Installation
    • 1️⃣ Overview
    • 2️⃣ Installation
      • Install turtlesim using apt
      • Verify Installation
    • 3️⃣ Use Turtlesim
      • Start turtlesim
      • Control the Turtle
      • Explore ROS 2 Commands
    • 4️⃣ Install rqt
    • 5️⃣ Use rqt
      • Try the spawn service
      • Try the set_pen service
    • 6️⃣ Remapping
    • 7️⃣ Close turtlesim
  • Create turtlesim_ws Workspace
    • 1️⃣ Set Up the Workspace Directory
    • 2️⃣ Build the Workspace
    • 3️⃣ Source the Workspace
    • 4️⃣ Understanding ROS 2 Workspaces
      • What is a Workspace?
    • 5️⃣ Understanding ROS 2 Packages
      • What Is a ROS 2 Package?
      • Key Components of a ROS 2 Package
      • What Makes a Package Special in ROS 2?
      • How a Package Fits Into a Workspace
      • Example Use Case
  • Create Turtlesim Controller Package
    • 1️⃣ Overview
    • 2️⃣ Navigate to Your Workspace
    • 3️⃣ Create the Package
    • 4️⃣ Understand the Generated Files
    • 5️⃣ Add Dependencies
    • 6️⃣ Colcon Build
    • 7️⃣ Write the Python Node Code
    • 8️⃣ Update setup.py
    • 9️⃣ Build the Package
    • 🔟 Source the Workspace
    • ⏸️ Test the my_turtlesim_controller Node
      • Summary
Next Previous

© Copyright 2025, Weber State University. Based on RoboRacer (CC-BY-NC-SA 4.0) Last updated on Apr 02, 2026.

Built with Sphinx using a theme provided by Read the Docs.