Git Product home page Git Product logo

f110_planning_example's Introduction

f110_planning_example

A* and Dijkstra's toy example in racecar simulator

Quick start

To run the example, make sure you already have mLab's racecar simulator working first. Then clone this repo to your catkin_ws/src:

git clone https://github.com/hzheng40/f110_planning_example.git planning_example

To run the example:

roslaunch planning_example planning_toy.launch

In RVIZ, use the 2D Pose Estimate tool to set the start point on the map. Then use the 2D Nav Goal tool to set the goal point on the map. Once the algorithm runs for the first time, changing either the start point or the goal point will trigger the planning.

The green cubes in the visualization represents the expansion frontier. The red cubes represents the visited set. And the blue cube represents the current node. The gree path represents the path found by the algorithm.

The default algorithm used is A*, to change to Dijkstra's, change the variable self.use_astar to False in scripts/planning_toy.py.

f110_planning_example's People

Contributors

hzheng40 avatar

Stargazers

Manav Gagvani avatar Patrick Musau, Ph.D. avatar Dhruv Karthik avatar

Watchers

James Cloos 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.