Abstract
Autonomous racing presents a complex environment requiring robust controllers capable of making rapid decisions under dynamic conditions. While traditional controllers based on tire models are reliable, they often demand extensive tuning or system identification. Reinforcement Learning (RL) methods offer significant potential due to their ability to learn directly from interaction, yet they typically suffer from the sim-to-real gap, where policies trained in simulation fail to perform effectively in the real world. In this paper, we propose RLPP, a residual RL framework that enhances a Pure Pursuit (PP) controller with an RL-based residual. This hybrid approach leverages the reliability and interpretability of PP while using RL to fine-tune the controller's performance in real-world scenarios. Extensive testing on the F1TENTH platform demonstrates that RLPP improves lap times of the baseline controllers by up to 6.37 %, closing the gap to the State-of-the-Art methods by more than 52 % and providing reliable performance in zero-shot real-world deployment, overcoming key challenges associated with the sim-to-real transfer and reducing the performance gap from simulation to reality by more than 8-fold when compared to the baseline RL controller. The RLPP framework is made available as an open-source tool, encouraging further exploration and advancement in autonomous racing research.
Introduction
In the domain of autonomous racing, engineers typically face a trade-off between the reliability of classical geometric controllers and the high-performance potential of Reinforcement Learning (RL). Classical controllers like Pure Pursuit (PP) are easy to tune and robust but often fail to account for non-linear tire dynamics at high speeds. Conversely, RL can learn complex dynamics directly from experience but is notoriously brittle during "sim-to-real" transfer, where minor discrepancies between simulation and reality lead to catastrophic failure.
RLPP (Reinforcement Learning + Pure Pursuit) addresses this by introducing a hybrid "residual" control framework. By anchoring an RL agent to a rock-solid classical baseline, the system achieves high-performance racing with zero-shot real-world deployment capabilities.
Methodology
The core of the RLPP architecture is a Residual RL approach. Instead of the RL agent controlling the vehicle entirely, the final control command ($u$) is calculated as the sum of two components: a standard Pure Pursuit command ($u_{PP}$) and an RL-based residual correction ($u_{RL}$).
The Pure Pursuit baseline handles the fundamental geometry of staying on the track. The RL agent, trained using the Soft Actor-Critic (SAC) algorithm, learns to provide the necessary steering and velocity "deltas" to account for tire slip and optimize the racing line. To ensure robustness, the training process in the F1TENTH simulator utilized domain randomization of tire friction coefficients and a curriculum learning strategy to help the agent master high-velocity dynamics.
Experimental Results
Testing was conducted on a physical 1:10 scale F1TENTH racing platform. RLPP demonstrated a significant performance improvement, reducing the best lap time of the standard Pure Pursuit controller by 6.37% (from 14.28s to 13.37s).
Key findings from the experimental phase include:
- Zero-Shot Success: Unlike pure RL agents that often struggle to complete a single lap on a real track without extensive fine-tuning, RLPP successfully completed 10 consecutive laps immediately upon deployment.
- Sim-to-Real Gap Reduction: The performance drop-off when moving from simulation to the real track was 8 times smaller for RLPP than for a pure, end-to-end RL controller.
- Efficiency: The total computation time was approximately 8.38ms, well within the real-time constraints of the vehicle's 40Hz control loop.
Conclusion
RLPP successfully bridges the gap between simple geometric controllers and complex, state-of-the-art model-based methods. While it currently trails specialized methods like Model Predictive Control (MPC) by roughly 7%, it eliminates the need for tedious system identification and offers a much more stable path to real-world deployment. Future work will focus on applying this residual method to more advanced baselines and exploring on-car training to further minimize the remaining performance gap.
Summary updated