Skip to content

This repository contains multiple approaches for generating global racetrajectories.

License

Notifications You must be signed in to change notification settings

saksham219/global_racetrajectory_optimization

 
 

Repository files navigation

Optimal Racing Line computation

Fork of repository for finding optimal trajectory for a race car on a race track. This fork does two major updates:

  • Incoroporates Single Track model.
  • Incporates optimal trajectory computation for non-circular tracks.

This code has been tested with Python 3.8.16 The code for spline regression is contained in trajectory_planning_helpers/spline_approximation_open.py

  1. Install packages.
pip install -r requirements.txt
  1. Run code to calculate optimal trajectory and generate plots.
python3 main_globaltraj.py
  1. The folder outputs/mintime contains the optimal controls and states, outputs/track_bounds.csv contains the track boundaries, outputs/traj_rac_cl.csv contains the optimal trajectory.

  2. plots.ipynb contains the plots used in the report.

image

About

This repository contains multiple approaches for generating global racetrajectories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.1%
  • Jupyter Notebook 38.9%