https://github.com/github11200/pure-pursuit-simulator
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.
https://github.com/github11200/pure-pursuit-simulator
daisyui p5js reactjs simulator tailwindcss
Last synced: 5 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/github11200/pure-pursuit-simulator
- Owner: Github11200
- Created: 2023-08-12T03:08:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-19T05:44:03.000Z (over 2 years ago)
- Last Synced: 2024-01-27T06:06:08.063Z (over 2 years ago)
- Topics: daisyui, p5js, reactjs, simulator, tailwindcss
- Language: JavaScript
- Homepage: https://purepursuit.netlify.app
- Size: 1.34 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pure-Pursuit-Simulator
A simple way to plan and simulator your path for pure pursuit.
## 🎉 Overview
This is a simple path planner and simulator for pure pursuit algorithms in the vex robotics competition. It lets you add points to create a path, and then you can see how a robot (that is up to scale with our robot) will move on the field, and any adjustments you need to make in the path.
## 🛠️ Setup
Prequesites for running the program:
- NPM
- Node JS
- Text editor (I will be using VS Code)
1) Download the source code
2) Open it in a text editor such as VS Code
3) From the built in terminal in VS Code use the `cd` command and go to the Simulator folder.
4) Now run the command, `npm run dev`.
5) This should give you a localhost link from which you can view the project.
## 📝 Usage
In order to use the application you can place points on the image of the vex Over Under field, and when you add 2 more more you will see a path is created. If you click run simulation the robot will follow this path and that will give you can approximation of what the robot will do. You will also see boxes with each point and that can let you adjust the properties of each point, and at the very bottom you will see the output for the C++ code as a object.
## 🚀 Upcoming Features
Some features to look out for are:
- A more accurate PID controller
- An updated code output box
- Options for changing the size of the robot
- A timer to make sure your autonomous routine is within the time
- The ability to create seperate paths so that you can add things like turns or other movements between them
## 🏗️ Tools used
The tools and libraries used to create this project are:
- React JS
- P5 JS
- Tailwind CSS
- Daisy UI