Skip to content

HandsomeDragon3/frenet_optimal_trajectory_planner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frenet Optimal Trajectory

FrenetOptimalTrajectory Demo FrenetOptimalTrajectory Demo

Overview

This repository contains a fast, C++ implementation of the Frenet Optimal Trajectory algorithm with a Python wrapper. It is used as one of the motion planning models in pylot, an erdos project.

Reference Papers:

Profiling

Some basic profiling of the code (same trajectory as demo, 10 obstacles) indicates the following expected performance:

Average Time: ~7 ms
Max Time: ~20 ms

Setup

git clone https://github.com/fangedward/frenet-optimal-trajectory-planner.git
./build.sh

Example Usage

There is a Python wrapper and C++ API. The Python wrapper is located in FrenetOptimalTrajectory/fot_wrapper.py and the C++ API is under src/FrenetOptimalTrajectory/fot_wrapper.cpp. The following command will simulate a simple scenario to run the FrenetOptimalTrajectory planning algorithm.

python3 FrenetOptimalTrajectory/fot.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 68.2%
  • Python 24.3%
  • CMake 5.0%
  • C 2.2%
  • Shell 0.3%