1 Star 1 Fork 5

herolin12 / HybridAStarTrailer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Hybrid AStar Trailer

Build Status Build status Coverage Status

A path planning algorithm based on Hybrid A* for trailer truck.

Goal

I want to achieve this on autonomous vehicle (click the image to see movie).

IMAGE ALT TEXT HERE

Fedex truck amazing reverse parking - YouTube

Simulation Examples

These are simulation results for autonomous parking in a narrow space.

This planner can generate a feasible path from diffent start states.

Perpendicular parking

2

2

2

Parallel parking

2

2

2

Requirements

How to use

  1. Install the required libraries.

  2. Clone this repo.

  3. Run the script like: julia perpendicular_parking.jl or julia parallel_parking.jl

  4. Add star to this repo if you like it :smiley:.

Algorithm

This algorithm is almost same as the original Hybrid A * algorithm.

I will explain the some diffent parts of it.

Vehicle Model

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:

Hybrid A * for trailer

This algorithm has 3 novelies for traier parking.

  1. 4D (x,y,θ0,θ1) gridding of Hybrid A *.

  2. Adding the Jackknif cost: Σ|θ0 - θ1|.

  3. Two rectangle (truck and trailer) collision check.

Other materials

License

MIT

Author

Atsushi Sakai (@Atsushi_twi)

MIT License Copyright (c) 2018 Atsushi Sakai Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

A path planning algorithm based on Hybrid A* for trailer truck 展开 收起
Julia
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Julia
1
https://gitee.com/herolin12/HybridAStarTrailer.git
git@gitee.com:herolin12/HybridAStarTrailer.git
herolin12
HybridAStarTrailer
HybridAStarTrailer
master

搜索帮助