A path planning algorithm based on Hybrid A* for trailer truck.
I want to achieve this on autonomous vehicle (click the image to see movie).
Fedex truck amazing reverse parking - YouTube
These are simulation results for autonomous parking in a narrow space.
This planner can generate a feasible path from diffent start states.
-
Install the required libraries.
-
Clone this repo.
-
Run the script like: julia perpendicular_parking.jl or julia parallel_parking.jl
-
Add star to this repo if you like it 😃.
This algorithm is almost same as the original Hybrid A * algorithm.
I will explain the some diffent parts of it.
This is the vehicle model which is used in this code.
x and y are 2D positions.
θ0 and θ1 is the orientation of vehicle and trailer respectively.
Ref:
This algorithm has 3 novelies for traier parking.
-
4D (x,y,θ0,θ1) gridding of Hybrid A *.
-
Adding the Jackknif cost: Σ|θ0 - θ1|.
-
Two rectangle (truck and trailer) collision check.
- トレーラトラックの自動駐車計画アルゴリズムの紹介@ROS Japan UG #24 勉強会 (in Japanease)
MIT
Atsushi Sakai (@Atsushi_twi)