Autonomous racing pushes vehicle perception and control to the limit because decisions must happen at highway speeds and often with only small gaps between cars. A racing robot must know where other cars are, how fast they are moving, and which spaces are safe to enter. Vehicle-to-vehicle awareness combines onboard sensors, communication, prediction, and control into one fast decision loop.
The goal is not only to avoid collisions, but also to choose aggressive racing lines that can create overtaking opportunities.
The car builds a live map using lidar, radar, cameras, inertial sensors, GPS, and sometimes messages from nearby vehicles. Tracking algorithms estimate each opponent's position, velocity, acceleration, and uncertainty, then prediction models project likely future paths through corners and straights. A planning system compares these predictions with track limits, tire grip, braking distance, and passing rules to select a safe trajectory.
The control system then turns, accelerates, and brakes to follow that trajectory while constantly updating its plan as the race changes.
Key Facts
- Relative speed is v_rel = v_ego - v_other, where positive means the autonomous car is closing in.
- Time to collision for straight-line closing motion is TTC = d / v_rel when v_rel > 0.
- Stopping distance can be estimated by d_stop = v^2 / (2 μ g), where μ is tire-road friction and g = 9.8 m/s^2.
- Sensor fusion combines measurements from lidar, radar, cameras, GPS, and inertial sensors to reduce uncertainty.
- A prediction horizon of 1 to 5 seconds is common in high-speed planning because long predictions become less certain.
- A safe overtake requires enough lateral gap, longitudinal gap, available grip, and time before the next braking or cornering zone.
Vocabulary
- Sensor fusion
- Sensor fusion is the process of combining data from multiple sensors to create a more reliable estimate of the environment.
- Tracking
- Tracking is the repeated estimation of another car's position, velocity, and motion state over time.
- Prediction horizon
- A prediction horizon is the future time interval over which the vehicle estimates where other cars may move.
- Trajectory planning
- Trajectory planning is the calculation of a path and speed profile that the car can safely and physically follow.
- Time to collision
- Time to collision is the estimated time before two vehicles would meet if their current relative motion continued.
Common Mistakes to Avoid
- Using distance alone to judge safety is wrong because a small gap may be safe at low relative speed but dangerous at high closing speed.
- Assuming sensors are perfect is wrong because rain, glare, spray, vibration, and occlusion can increase measurement uncertainty.
- Planning an overtake without checking tire grip is wrong because a path can be geometrically clear but physically impossible at racing speed.
- Predicting other cars as if they will keep a constant speed forever is wrong because drivers brake, turn, defend, and react to nearby vehicles.
Practice Questions
- 1 An autonomous race car is 45 m behind another car. It travels at 72 m/s while the other car travels at 66 m/s on a straight. What is the time to collision if neither car changes speed?
- 2 A car traveling at 60 m/s has tire-road friction coefficient μ = 1.5. Using d_stop = v^2 / (2 μ g) with g = 9.8 m/s^2, estimate its braking distance.
- 3 During an overtake, the sensor system briefly loses sight of the car ahead because another car blocks the camera. Explain why radar, lidar memory, vehicle-to-vehicle messages, and prediction uncertainty are important for making a safe decision.