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
  • Tutorial 2 - Automatic Emergency Braking

Module B - Reactive Methods

  • Tutorial 3 - Wall Following
    • Wall Following Theory
    • Create Wall Following Package
    • Steering Adjustment Using PID
  • 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 3 - Wall Following
  • Edit on GitHub

Tutorial 3 - Wall Following¶

  • Wall Following Theory
    • I. Learning Goals
    • II. Review of PID in the Time Domain
    • III. Wall Following
    • Summary: Wall Following Algorithm
  • Create Wall Following Package
    • 1️⃣ Create the Wall Follow Package
    • 2️⃣ Modify package.xml
    • 3️⃣ Modify CMakeLists.txt (If Using C++)
    • 4️⃣ Install Dependencies Using rosdep
    • 5️⃣ Implement the Wall Follow Node
    • 6️⃣ Make It Executable
    • 7️⃣ C++ Alternative (Optional)
    • Alternative: C++ Wall Follow Node Implementation
  • Steering Adjustment Using PID
    • Overview
    • 1️⃣ Why Use PID Control for Steering?
    • 2️⃣ PID Control Formula for Steering Adjustment
    • 3️⃣ How Each Term Contributes
      • Proportional Term (P)
      • Integral Term (I)
      • Derivative Term (D)
    • 4️⃣ Example: PID-Based Steering Control
      • Scenario: Maintaining Distance While Wall Following
    • 5️⃣ Handling Curves and Corners
    • 6️⃣ Considerations & Tuning
    • 7️⃣ Integrating Speed Control
    • 8️⃣ 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.