LTsommer / frenet_optimal_trajectory_planner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:C++ 68.3%Language:Python 24.2%Language:CMake 5.0%Language:C 2.2%Language:Shell 0.3%