Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Autonomous racing path planning is the process of choosing where a race car should drive on the track to finish a lap as fast as possible while staying safe. The car must account for track boundaries, tire grip, speed limits in curves, and its own ability to steer, brake, and accelerate. This matters because a path that looks short is not always fastest if it forces the car to slow down too much.

A good racing line balances distance, curvature, and speed.

Understanding Autonomous Racing Path Planning and Trajectory

A racing car has a limited grip budget at each tire. That grip can be used for braking, turning, or acceleration. At corner entry, hard braking uses a large part of the available grip.

If the car tries to steer sharply at the same moment, the tires may slide. Good control therefore changes the brake pressure as steering builds. This is the idea behind trail braking.

The car brakes strongly while straight, then gradually releases the brake as it turns. On corner exit, steering is reduced before full power is applied. This helps prevent wheelspin and keeps the car stable.

The best route through a corner depends on what comes next. An apex is not simply a point that every car should hit in the middle of a bend. For a corner followed by a long straight, a later apex can be useful.

It may make the entry slower, yet it leaves the car straighter earlier on exit. That allows earlier acceleration, which can save more time than a fast entry gains. Linked corners are even more challenging.

A path that is ideal for the first bend may place the car badly for the second one. The planner must treat the sequence as one problem instead of solving every corner separately.

Computer planners usually represent the track with many closely spaced points. At every point, the system estimates a safe speed, steering angle, brake demand, and throttle demand. Smooth changes matter.

A route with sudden steering commands may look fast in a simple calculation, but a real car cannot follow it cleanly. The planner predicts the car's motion a short distance ahead, compares possible actions, then chooses the best one. It repeats this process many times each second.

This allows the car to react if it is slightly off line, if speed is higher than expected, or if the tires provide less grip than predicted. Penalties in the calculation discourage unsafe choices before the car reaches a boundary.

Real tracks make this harder than a clean map suggests. Grip changes with tire temperature, wear, rain, rubber left on the surface, and dust near the edge of the circuit. Curbs can help a car widen its route, but they can upset the suspension or reduce tire contact.

Sensors have errors too. GPS, cameras, wheel speed sensors, and inertial sensors may disagree slightly about the car's location. A safe planner leaves a margin rather than trusting every measurement perfectly.

When studying this topic, pay close attention to units, direction of motion, and the difference between a planned route and the route the car actually drives. Simulations are useful, but they need realistic limits for tires, steering, brakes, and sensor uncertainty.

Key Facts

  • Lateral acceleration in a turn is a_y = v^2 / r, where v is speed and r is turn radius.
  • Maximum cornering speed is approximately v_max = sqrt(mu g r), where mu is tire friction coefficient.
  • Curvature is kappa = 1 / r, so tighter turns have larger curvature.
  • A trajectory includes both path position and timing, such as x(t), y(t), v(t), and a(t).
  • The fastest safe path often uses outside, apex, outside geometry to increase turn radius and reduce curvature.
  • Model predictive control minimizes a cost such as lap time plus penalties for leaving the track, high acceleration, or unstable steering.

Vocabulary

Racing line
The racing line is the planned path through a track segment that allows high speed while staying within track limits.
Trajectory
A trajectory is a time-based plan that tells the car where to be, how fast to go, and how to control its motion at each moment.
Curvature
Curvature measures how sharply a path bends, with larger curvature requiring more lateral acceleration at the same speed.
Friction circle
The friction circle is a model showing the limited tire grip shared between braking, accelerating, and cornering.
Model predictive control
Model predictive control is a control method that repeatedly predicts future motion and chooses the best control inputs over a short time horizon.

Common Mistakes to Avoid

  • Choosing the shortest path, which is wrong because the shortest path may have tight turns that force a much lower speed.
  • Ignoring tire grip limits, which is wrong because the car cannot brake, accelerate, and corner beyond the available friction without sliding.
  • Planning only a path and not a velocity profile, which is wrong because the same path can be safe or unsafe depending on speed.
  • Treating the track as perfectly known and static, which is wrong because sensor noise, opponents, changing grip, and localization error require continuous replanning.

Practice Questions

  1. 1 A car enters a curve with radius 60 m on tires with mu = 1.2. Using g = 9.8 m/s^2, estimate the maximum cornering speed in m/s from v_max = sqrt(mu g r).
  2. 2 At 30 m/s, a car follows a path with radius 75 m. Calculate the lateral acceleration using a_y = v^2 / r, then express it in g by dividing by 9.8 m/s^2.
  3. 3 Explain why an autonomous race car might choose a longer outside, apex, outside racing line instead of hugging the inside edge of a corner.