Quaxi
A small self-driving car my team built for a course at Queen’s. I wrote most of the code.
Project sourceGetting from A to B
The map is 29 intersections and the roads between them. You give the car a spot on the map, it picks the nearest intersection, and A* finds the shortest way there.

Turning a route into driving
Each intersection stores how to get through it from one road to another: go straight this far, or turn this many degrees. The car looks those up along the route and runs them through a small state machine. The roundabout and parking states never got filled in.
Read the route followerFinding the lane lines
Keep the yellow and white pixels, find their edges, ignore anything outside a triangle in front of the car, then find straight line pieces (a Hough transform) and average them into one line per side.



These are from a test image I ran after the course.
Read the lane codeSpotting signs
A small TensorFlow Lite model on a Coral accelerator looks for stop, yield, no-entry, and one-way signs, and the camera turns to follow the closest one. A proximity sensor stops the car if something gets too close. The code that reacts to signs is there but switched off in the final version.
Read the detector code