Fast and Modular Autonomy Software for Autonomous Racing Vehicles

Andrew Saba, Aderotimi Adetunji, Adam Johnson, Aadi Kothari, Matthew Sivaprakasam, Joshua Spisak, Prem Bharatia, Arjun Chauhan, Brendan Duff Jr., Noah Gasparro, Charles King, Ryan Larkin, Brian Mao, Micah Nye, Anjali Parashar, Joseph Attias, Aurimas Balciunas, Austin Brown, Chris Chang, Ming Gao, Cindy Heredia, Andrew Keats, Jose Lavariega, William Muckelroy Iii, Andre Slavescu, Nickolas Stathas, Nayana Suvarna, Chuan Tian Zhang, Sebastian Scherer, Deva RamananField Robotics 2024 · DOI

TL;DR

This paper presents the MIT-Pitt-RW team's modular and fast autonomy software stack for the Indy Autonomous Challenge (IAC). The system successfully navigated high-speed, multi-agent racing scenarios, demonstrating robust perception, planning, and control capabilities on the Dallara AV-21 platform, pushing the boundaries of autonomous vehicle performance.

What Problem Does This Paper Address?

Autonomous racing, as exemplified by the Indy Autonomous Challenge (IAC), presents a unique and extreme operational design domain (ODD) for autonomous vehicles. Unlike typical autonomous driving scenarios focused on urban or highway environments, ARVs operate at speeds exceeding 150 mph, demanding extremely fast reaction times, precise control, and robust perception in dynamic, multi-agent situations. The challenge lies in developing an autonomy stack that can reliably detect, track, and predict the behavior of other high-speed vehicles, plan safe and efficient maneuvers, and execute them with high fidelity, all while dealing with sensor noise, high accelerations, and the inherent uncertainties of competitive racing.

Methods

The authors developed a modular and fast autonomy stack, emphasizing speed and flexibility. Key components include:

  • Perception: A decoupled, multi-modal approach using LiDAR (PointPillars) and cameras (YOLOv5) for robust agent detection. The camera pipeline uses monocular depth estimation, while LiDAR provides precise 3D information.
  • Tracking: An AB3DMOT-based approach for data association and fusion, incorporating filtering, association, and fusion to provide a precise and consistent state estimate of other agents.
  • Planning: A two-stage (offline and online) motion planner. Offline, it generates a bank of raceline trajectories. Online, it selects an action primitive (e.g., trail, safe merge) based on race conditions and then interpolates and velocity-profiles a trajectory from the pre-generated bank.
  • Controls: A three-task architecture for lateral control (LQR with pure pursuit look-ahead), longitudinal control (P controller with feed-forward), and gear shifting. The LQR controller is tuned across different speed brackets to adapt to varying vehicle dynamics.
  • Localization: A custom solution using dual GNSS units and wheel speed sensors, processed by a Localization Executive and fused by an Extended Kalman Filter (EKF) in the Robot Localization package. It's designed to handle partial and total sensor failures.
  • System Monitoring: A base station with primary and secondary interfaces for real-time monitoring of vehicle and stack health, crucial for safe operations.

Datasets

  • Training Data: A custom, hand-labeled dataset of other AV-21 vehicles was created for training the PointPillars model. This dataset included data from both simulation and real-vehicle runs. Later iterations incorporated more real-vehicle data.
  • Evaluation Data: Real-world runs from the Indy Autonomous Challenge (IAC) competitions (Season One and Season Two) on various oval tracks (Indianapolis Motor Speedway, Las Vegas Motor Speedway, Texas Motor Speedway) were used for evaluation. This included single-agent and multi-agent scenarios.

Key Insights and Ideas

  • Modularity is Paramount: The paper strongly emphasizes the benefits of a modular design, especially in a fast-paced, evolving competition environment. This allowed for rapid adaptation, such as disabling the camera pipeline when it failed without impacting the rest of the stack.
  • Speed vs. Quality Trade-off: Achieving high performance at 150+ mph requires algorithms that are not only accurate but also extremely fast and deterministic. The authors carefully selected algorithms and optimized their implementation to meet these demands.
  • Sensor Fusion is Crucial: Combining data from multiple sensor modalities (LiDAR, cameras, radar) is essential for robust perception, especially in challenging conditions like dust, glare, and high speeds.
  • Real-World Testing is Indispensable: The paper highlights numerous lessons learned from extensive field testing, revealing issues that were not apparent in simulation or offline analysis, such as the impact of tire temperature on performance.
  • Small Issues Have Big Consequences: Time synchronization, network load management, and even simple hardware connections can have a disproportionately large impact on system performance, underscoring the importance of rigorous integration testing.

Key Results

  • High-Speed Performance: The system demonstrated stable trajectory tracking at speeds over 150 mph with reasonable lateral deviations.
  • Robust Detection: The perception stack reliably detected and tracked opponent ARVs at over 100m away, even at high speeds (>125 mph).
  • Safe Maneuvering: The stack successfully executed safe passing and trailing maneuvers of opponent ARVs at high speeds (≥125 mph).
  • Competition Success: The MIT-Pitt-RW team achieved a 4th place overall finish in the IAC, despite significant hardware failures and a crash less than 72 hours before competition.
  • Cross-Track Error (CTE): Mean absolute CTE was around 0.323m for high-speed runs, with worst-case CTE around 1.25m during cornering. For runs over 100 mph, CTE was around 0.501m.

Limitations and Future Work

  • Sensor Calibration Brittleness: Frequent sensor plate disassembly leads to calibration changes, which can cause significant projection errors. Streamlining calibration and developing more robust systems are future goals.
  • Adversarial Agents: The current stack does not explicitly address adversarial agents. Future work will focus on motion prediction and forecasting in highly dynamic scenarios, planning under uncertainty, and optimizing for reward while minimizing risk.
  • Tire Modeling: The current tire model is based on data sheets and does not account for real-time conditions. Developing improved tire modeling with online estimation is a key area for future work.
  • Model Predictive Control (MPC): Exploring MPC for better reasoning about control limits and developing a controller that explicitly considers maximum control constraints is planned.
  • Fuel Consumption Monitoring: Fuel consumption needs to be more carefully monitored and accounted for in future planning.
  • Complex Circuits: The current system is primarily tested on oval tracks. Future work will explore performance on more complicated circuits with sharp turns.

Summary updated

BibTeX
@article{saba2024fast,
  author = {Andrew Saba and Aderotimi Adetunji and Adam Johnson and Aadi Kothari and Matthew Sivaprakasam and Joshua Spisak and Prem Bharatia and Arjun Chauhan and Brendan Duff Jr. and Noah Gasparro and Charles King and Ryan Larkin and Brian Mao and Micah Nye and Anjali Parashar and Joseph Attias and Aurimas Balciunas and Austin Brown and Chris Chang and Ming Gao and Cindy Heredia and Andrew Keats and Jose Lavariega and William Muckelroy III and Andre Slavescu and Nickolas Stathas and Nayana Suvarna and Chuan Tian Zhang and Sebastian Scherer and Deva Ramanan},
  title = {{Fast and Modular Autonomy Software for Autonomous Racing Vehicles}},
  journal = {Field Robotics},
  year = {2024},
  doi = {10.55417/fr.2024001},
}
Figure