A self-driving GPS system for a physical Finch robot. You pick a destination on the digital map, the app finds the shortest route, and the robot drives itself there.
- Interactive map UI where you click a destination like Hospital or School
- Shortest-path routing with Dijkstra's algorithm
- Autonomous driving with infrared sensors to stay on the line
- Live map animation that follows the robot's movement
- Curve vs straightaway speed handling
- Failsafe stop if the robot leaves the track for too long
- The track is modeled as a weighted graph in code.
- When you click a destination, Dijkstra finds the shortest path.
- The Finch uses a dual IR sensor loop to stay centered on the white line.
- The map UI updates while the robot moves, including slower motion on curves.
- Java
- Finch Robot (BirdBrain Technologies)
- Java Swing and Graphics2D
- Graph theory, multithreading, event-driven UI, hardware/software integration
From the project directory (files are in the repo root):
# Windows
del *.class
javac *.java
java FinchTest- Calibrate the light sensors for grass, black road, and white line.
- Choose the robot's current facing direction from the dropdown.
- Click a red station on the map.
- Watch the path calculation and autonomous drive.