PurePursuitAlgorithm
An implementation of a basic adaptive pure pursuit algorithm in Java using the Processing library.
Install / Use
/learn @xiaoxiae/PurePursuitAlgorithmREADME
Pure Pursuit Algorithm
Introduction
This repository is a Processing implementation of the Adaptive Pure Pursuit algorithm used to control FRC robots.

Controls and Features
The program offers the following functionality:
- Left click shows the lookahead line from the cursor to the nearest path segment.
- Right click creates new points of the path.
- r resets the simulation.
- n creates a new path follower that is moved by pressing f.
- + increases the lookahead distance.
- - decreases the lookahead distance.
Resources
- A Feedforward Control Approach to the Local Navigation Problem for Autonomous Vehicles - the main resource used in the implementation of this project.
- Pure Pursuit Controller - MATLAB & Simulink - a useful MathWorks article about the Pure Pursuit Controller.
- 254's 2017 code - a real-world implementation of the controller.
- Processing 3 - the graphic library used in this project.
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
