pboon09
Institute of Field Robotics (FIBO), KMUTT

Obstacle Avoidance Strategies on an F1TENTH Racing Car

April 2026 – May 2026

About the project

A head-to-head comparison of obstacle-avoidance strategies on a real 1:10 autonomous race car, built and tested by a team of five.

Map-based planners can exploit a known track but depend on good localization. Reactive methods need no map but only see what is directly ahead. The project measures that trade-off on the same car.

The map-based controllers use a pose from SLAM Toolbox on a frozen map, while the mapless controller works directly from the LiDAR scan. Every controller runs its own best tuning on the same track and starts from the same pose, so the comparison is fair.

The track is 120 to 160 cm wide, and obstacles up to 26 × 18 × 30 cm are placed in three scenarios. The obstacles are not in the saved map, so the map-based methods have to see them live.

The car in action.
0.070 mBest mean cross-track error
23.34 sFastest lap with obstacles
3.62°Best heading error RMS
5Team members

Process

  1. Build the car

    The car runs a VESC-driven BLDC motor, a steering servo under micro-ROS on an STM32G474RE, an RPLIDAR C1 and a BNO055 IMU.

  2. Localize on a frozen map

    SLAM Toolbox in localization mode and an EKF fusing wheel odometry and IMU give every method the same pose estimate.

  3. Implement the planners

    Map-based Stanley avoidance and a lattice planner with Pure Pursuit go up against map-free Follow the Gap, with Pure Pursuit and Stanley as clean-track baselines.

  4. Race and measure

    Each method runs the clean track and three obstacle scenarios, logging lap time, cross-track error and heading error.

Results

  • Localization stayed within the 0.05 m² covariance target in every trial.
  • Stanley tracked the line best, with 0.070 m mean cross-track error on the clean track.
  • Follow the Gap set the fastest laps, 24.98 s clean and 23.34 s with obstacles, but with 7.99° heading error RMS against 3.62° for Stanley.

Figures

System diagram.
System diagram.
The three controllers running in RViz.
Trajectories and metrics in the obstacle scenarios.

Where it stands

Map-based methods drive more smoothly and precisely on a known track. The reactive method is faster and handles surprise obstacles without a map, at the cost of precision.

System

Vehicle1:10 Ackermann RC car
SensorsRPLIDAR C1, BNO055 IMU
Compute and driveSTM32G474RE with micro-ROS, VESC BLDC drive
Power2 × 4S LiPo, about 2.5 h
SoftwareROS 2 Humble, SLAM Toolbox, robot_localization
Team5 people