Skip to content

rcya1/pure-pursuit-visualizer

Repository files navigation

Pure Pursuit Visualizer

This project is an implementation of the adaptive pure pursuit algorithm for path following. The application allows you to place points and have a robot follow them, while also allowing certain visualization and following parameters be modified.

Most of the original code is based off of this paper

However, the following augmentations to the algorithm were made:

  • The algorithm will only look for look ahead points farther than the last found point
  • When starting the algorithm, the robot will start on the point that is closest on it and look forward from there

Project Structure

  • All source code is located in the /src folder, which includes HTML, TypeScript, and Sass code
  • Webpack is used to to bundle all of the code into the /dist directory
  • Webpack compilesp5.js with the application for the visualization tool
  • Webpack also compiles Bootstrap with the application for the UI elements
  • Express is used to serve the compiled files

The project was originally built with JavaScript with Watchify and CSS, but the transition to TypeScript and Sass was made to improve code quality and reduce bugs.

Instructions

Build the source code and run the web server:

npm install
npm run build
npm start

The website should now be running locally at localhost:1257.

Run the development environment for incremental builds

npm install
npm run watch

The website should now be running locally at localhost:1257 and any saved changes should be autoamtically updated.

Credits

About

Interactive visualizer for the Adaptive Pure Pursuit algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published