TL;DR
This paper introduces a novel "double-GPR" approach to improve autonomous racing by compensating for modeling errors in both the trajectory planner and the real-time controller. An iterative data collection strategy further refines these compensation models, leading to more stable and faster lap times compared to methods that only address one part of the system.
What Problem Does This Paper Address?
Autonomous racing pushes vehicles to their absolute limits, revealing complex and often hard-to-model dynamics like drifting and suspension effects. While offline planning can optimize for minimum lap time, discrepancies between the planned model and the actual vehicle dynamics can compound, leading to infeasible or suboptimal trajectories. Existing methods often focus on compensating for modeling errors in the real-time controller, neglecting the impact of errors in the initial planning phase. This paper tackles the problem of these compounding modeling errors by addressing both the planner and the controller simultaneously.
Methods
The core of the proposed solution is a "double-GPR" (Gaussian Process Regression) error compensation system. This system uses two GPR models: one to compensate for errors in the offline trajectory planner and another for the real-time Model Predictive Control (MPC) tracker.
Key methodological contributions include:
- Double-GPR Compensation: Applying GPR to learn and correct errors in both the planning model (used for generating the optimal trajectory) and the control model (used by the MPC to follow that trajectory).
- Iterative Framework: An iterative data collection and model update scheme. In each iteration, the system plans a trajectory, executes it with the MPC, collects data from this execution, and then uses this data to update both GPR compensation models. This allows the models to become more accurate over time as more "error-rich" data is gathered.
- Feature Selection: Empirically determining that lateral velocity ($V_y$), yaw rate ($\psi$), and steering angle ($\delta$) are the most influential features for predicting modeling errors.
Datasets
The experiments were conducted using the high-fidelity racing simulator Gran Turismo Sport (GTS). The paper does not introduce a new benchmark dataset but rather utilizes the simulator to generate data through closed-loop experiments. The iterative framework collects data over multiple laps, accumulating a dataset of over 10,000 data points for GPR fitting.
Key Insights and Ideas
- Compounding Errors are Critical: The paper strongly emphasizes that ignoring modeling errors in the planning phase, even with a good controller, leads to significant performance degradation. The "double-GPR" approach directly addresses this compounding effect.
- Iteration is Key for Stability and Performance: The iterative data collection and model update process is crucial. It allows the GPR models to adapt to the vehicle's behavior over time, leading to more consistent performance and reduced tracking errors, especially in the early stages of learning.
- Data Diversity Matters: The authors found that starting with a curvature-optimal trajectory in the initial iteration (instead of a time-optimal one) helped enrich data diversity, which in turn improved the prediction performance of the GPR models.
- Targeted Error Compensation: Focusing GPR compensation on specific state variables (like $V_y$ and $\psi$) that are known to be more susceptible to modeling errors is an effective strategy for computational efficiency and performance.
Key Results
The proposed iterative, double-GPR method demonstrated superior performance compared to baselines:
- Reduced Lap Times: The Double-GPR method achieved the shortest closed-loop lap time of 78.945s, significantly outperforming the Non-GPR baseline (79.779s).
- Minimized Time Gap: It consistently reduced the time gap between the planned and actual lap times, reaching a minimum difference of 0.066s, indicating better trajectory tracking.
- Lower Tracking Errors: Double-GPR resulted in lower tracking errors for lateral distance ($e_y$) and heading ($\psi$) compared to GPR-Plan, demonstrating improved control stability.
- Model Error Reduction: Figure 6 clearly shows that the GPR compensation functions effectively reduce modeling errors for both planning and control over iterations, making the models more accurate.
Limitations and Future Work
- Computational Cost: While GPU acceleration and approximations like BBMM are used, managing a large dataset for real-time updates still presents a hardware challenge. The authors update the dataset offline after each lap.
- Stochastic Environment: The GTS environment is described as stochastic due to timing variations, leading to slight variations in results. The paper acknowledges this and analyzes the mean and standard deviation of results.
- Future Work: The paper suggests that further research could explore more advanced GPR approximations or hardware optimizations for even faster real-time updates. Extending the framework to more complex scenarios, such as multi-agent racing or different vehicle dynamics, would also be valuable.
Summary updated