GithubHelp home page GithubHelp logo

personalrobotics / lra-star Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 3.0 154 KB

Lazy Receding Horizon A*

Home Page: https://personalrobotics.cs.washington.edu/publications/mandalika2018lrastarfull.pdf

CMake 2.59% C++ 97.41%

lra-star's Introduction

Lazy Receding-Horizon A*

Implementation of LRA*, a lazy search framework that balances edge evaluations with search effort to reduce total planning time. The framework generalizes existing lazy search algorithms LazySP and LWA* using a tunable parameter, lookahead.

Search Algorithm implemented in OMPL, also using Boost Graph Library.

Dependencies:

  1. C++11 or higher
  2. cmake
  3. OMPL
  4. Boost Graph Library
  5. OpenCV (optional to display final solution)

The CMakeLists.txt file supports catkin tools. Once you have created and initialized your workspace, you should be able to build the package by running catkin build LRAstar.

LRAstar has been implemented as an OMPL planner and can be invoked on a RealVectorStateSpace. The planner returns the shortest path on the roadmap graph it is planning on.


Examples:

The executables [example2D, example2D_image] can be found under devel/lib/LRA-star/. The executables expect five command-line arguments that might be of interest:

  1. Path to graph (-g option)
    • example2D defaults to data/graphs/halton2D.graphml
    • example2D_image defaults to data/graphs/halton2D.graphml
  2. Path to obstacle (-o option)
    • example2D defaults to data/obstacles/Forest2D.txt (requires text format)
    • example2D_image defaults to data/obstacles/OneWall2D.png (requires image format)
  3. Lookahead (-l option)
    • Set to 1 for LWA*
    • Set to -1 for LazySP
    • Set to any integer value for LRA* with lookahead
  4. Source (2D) between 0 and 1 (-s option)
  5. Target (2D) between 0 and 1 (-t option)

From the root folder of the catkin workspace:

  1. ./devel/lib/LRA-star/example2D -s 0.1 0.1 -t 0.9 0.9 -l -1
  2. ./devel/lib/LRA-star/example2D_image -s 0.1 0.1 -t 0.9 0.9 -l -1

lra-star's People

Contributors

aditya-vk avatar

Stargazers

 avatar  avatar Masafumi Endo avatar Lucas Saldyt avatar Shundo Kishi avatar  avatar June avatar Albert Tavares de Almeida avatar Chang Liu avatar Karan Chawla avatar Andre Nguyen avatar 郭正龙, BUAA 可靠飞行控制组 avatar Chang Chen(陈常) avatar

Watchers

Michael Koval avatar Jeongseok (JS) Lee avatar Siddhartha Srinivasa avatar  avatar  avatar

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.