commonroad-raceline-planner 0.1.1
CommonRoad Raceline Planner Toolbox
License: BSD
Requires Python: <3.12,>=3.9
Keywords: autonomous, automated, vehicles, driving, motion, planning, racing

![Hockenheim Ring Minimum Curvature Algorithm](docs/assets/combined_av_chairs.svg)
# CommonRoad Raceline Planner
The CommonRoad Raceline Planner combines several algorithms for raceline global trajectory planning for 
autonomous racing.
Our work is based on code of the Indy Racing Team at TU Munich [1,2], namely the groups from Prof. Betz (AVS) and Prof. Lienkamp (FTM)
and the following papers [3-6]. This toolbox is a collaboration between TUM CPS, AVS and FTM.

### Contributing
This toolbox is a collaborative effort from several chairs of the Technical University of Munich, namely
the Professorship of Cyber-Physical Systems (CPS), the Professorship of Autonomous Vehicle Systems (AVS) 
and the Professorship of Automotive Enginnering (FTM). We especially like to thank the entire Indy Autonomous Team
of TUM for their code base.

## Featured Planners
Currently, the toolbox features the following planners: 
- shortest path planner: plans the shortest path using convex optimization
- minimum curvature planner: plans the path with minimum curvature

## Example
Depcited is the Formula 1 racing track Hockenheimring in Germany.
The color coding is always relative to the minimum and maximum values in the current velocity profile in m/s.

### Formula 1 Hockenheim Ring
Minimum Curvature
![Hockenheim Ring Minimum Curvature Algorithm](docs/assets/hhr.png)

Shortest Path
![Hockenheim Ring Shortest Path Algorithm](docs/assets/hhr_sp.png)


## References
- [1] AVS and FTM (2024): TUMFTM/global_racetrajectory_optimization. Available online at: https://github.com/TUMFTM/global_racetrajectory_optimization
- [2] AVS and FTM (2024): TUMFTM/trajectory_planning_helpers. Available online at: https://github.com/TUMFTM/trajectory_planning_helpers
- [3] Heilmeier, A., Wischnewski, A., Hermansdorfer, L., Betz, J., Lienkamp, M., & Lohmann, B. (2020). Minimum curvature trajectory planning and control for an autonomous race car. Vehicle System Dynamics.
- [4] Betz, J., Wischnewski, A., Heilmeier, A., Nobis, F., Hermansdorfer, L., Stahl, T., ... & Lienkamp, M. (2019, November). A software architecture for the dynamic path planning of an autonomous racecar at the limits of handling. In 2019 IEEE international conference on connected vehicles and expo (ICCVE) (pp. 1-8). IEEE.
- [5] Betz, J., Betz, T., Fent, F., Geisslinger, M., Heilmeier, A., Hermansdorfer, L., ... & Wischnewski, A. (2023). Tum autonomous motorsport: An autonomous racing software for the indy autonomous challenge. Journal of Field Robotics, 40(4), 783-809.
- [6] E. Velenis and P. Tsiotras, "Optimal velocity profile generation for given acceleration limits: Theoretical analysis". In Proceedings of the 2005, American Control Conference, 2005, (pp. 1478-1483).

## Authors
- Tobias Mascetta: tobias.mascetta[at]tum.de,
- Mohammed Aziz Bouziri: aziz.bouziri1[at]gmail.com
- Johannes Betz: betz[at]tum.de
- Based on and using code of: Alexander Heilmeier, Leonhard Hermannsdorfer, Fabian Christ, Tim Stahl, Boris Lohmann and Markus Lienkamp