Spline-based Trajectory Optimization tool for Autonomous Racing (Indy Autonomous Challenge)
- Install
SciPy
,matplotlib
,shapely
,pandas
- Install Julia 1.8.5+.
- Clone this repository and install with
pip install -e .
.
Run julia/spline_traj_opt.ipynb
.
spline_traj_optm/examples
: Example inputs for the trajectory optimization (Monza)spline_traj_optm/models
: Data classes for holding optimization information (race track, vehicle, and trajectory information)spline_traj_optm/optimization
: Optimization functionsspline_traj_optm/simulator
: Quasi-Steady State (QSS) simulation of a given trajectory for optimal speedspline_traj_optm/tests
: Tests for the packagespline_traj_optm/visualization
: Functions for visualization the optimization and simulation resultsjulia/spline_traj_opt.ipynb
: Julia notebook of the optimization notebookjulia/utils/find_center_line.py
: Python file for generating center line, given the inner and outer track boundaries (CSV files) as inputs.