Code Monkey home page Code Monkey logo

hybridastartrailer's Introduction

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 😃.

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)

hybridastartrailer's People

Contributors

atsushisakai avatar

Forkers

richardtoo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.