Pure Pursuit Simulator screenshot

Pure Pursuit Simulator

Author Avatar Theme by Github11200
Updated: 19 Oct 2023
8 Stars

This is a simple simulator I made that lets you simulate the pure pursuit algorithm and get the way points for the algorithm for the Vex Robotics Competition.

Categories

Overview

Pure-Pursuit-Simulator is a simple path planner and simulator designed for pure pursuit algorithms in the Vex Robotics Competition. This tool allows users to create paths by adding points and visualize how a robotic vehicle would move on the field. It also provides the capability to make adjustments to the path.

Features

  • Path Creation: Users can add points on the image of the Vex Over Under field to create a path.
  • Simulation: The simulator enables users to run a simulation where the robot follows the created path.
  • Point Adjustment: Each point on the path can be adjusted, allowing users to modify properties of individual points.
  • C++ Code Output: The application provides the C++ code output as an object, allowing users to utilize it in their projects.

Installation

To install Pure-Pursuit-Simulator, follow these steps:

  1. Ensure you have the following prerequisites:

    • NPM
    • Node JS
    • Text editor (e.g., VS Code)
  2. Download the source code for the project.

  3. Open the source code in a text editor such as VS Code.

  4. In the terminal of VS Code, navigate to the “Simulator” folder using the cd command.

  5. Run the command npm run dev to start the application.

  6. Access the application by visiting the provided localhost link.

Summary

Pure-Pursuit-Simulator is a valuable tool for planning and simulating paths for pure pursuit algorithms in the Vex Robotics Competition. With its intuitive interface, users can easily create paths, run simulations, and make adjustments. The upcoming features such as an improved PID controller and options for changing the robot size further enhance the tool’s capabilities. With the convenient code output and compatibility with popular libraries like React JS and Tailwind CSS, this simulator offers a comprehensive solution for robotics enthusiasts.