Inspiration
Sim racing is a great way to learn real racecraft, but it's expensive to get into and lonely to practice. Miss Turn 1 and you don't know why, and you have to drive a whole lap to try again. Real drivers have a coach on the radio. We wanted to give everyone one.
What it does
Pit Pal is an AI racing coach for Assetto Corsa. You steer with your phone and drive with homemade Arduino pedals. Pit Pal watches every corner, and NVIDIA Nemotron tells you one thing to fix, like "Brake at the 100 m board." When you make a mistake, tap Next on your phone and the game rewinds to just before that corner so you can try it again. Rev, our pixel-art mascot, sits on screen to react to your driving and cheer on your retries.
How we built it
- Phone: a SwiftUI iPhone app that steers by tilting and pairs securely by QR code.
- Pedals: an Arduino with ultrasonic sensors that measure how far you press.
- Coach: a Python program on the game PC that reads live telemetry, scores each corner, and turns the phone and pedals into a virtual Xbox controller.
- AI: NVIDIA Nemotron, self-hosted on an H100, picks the coaching tip, with a rules-based backup if it's slow. The tip is spoken with NVIDIA's text-to-speech.
- Rewind: a Lua app inside the game that keeps save-states ready before every corner.
Challenges we ran into
- Assetto Corsa has no way to "go back to Turn 1," so we built our own save-state system inside the game.
- Keeping steering, AI responses and rewinds fast enough to feel instant.
- Making an AI coach short, accurate and safe to listen to at 300 km/h.
- Merging four people's work in a weekend.
Accomplishments that we're proud of
- The full loop works: make a mistake, hear a tip, tap Next, retry the corner.
- The coach keeps working even if the AI goes down.
- A complete brand, Pit Pal and Rev, carried across the app, the overlay and the dashboard.
- More than 450 automated tests, so we could build without the game PC.
What we learned
With AI in a real-time system, speed and fallbacks matter as much as the model. And good coaching is about restraint: one tip at the right moment beats ten at once.
What's next for Pit Pal
More tracks, Android support, real wheel support, and a coach that remembers you across sessions and tracks your progress over time.

