Inspiration

Amateur race car drivers rely on their gut feel and the "seat of the pants" to. Pros use complicated telemetry systems such as Vbox, on a local computer on track and expensive coaches. We built a cloud-based system that gives amateur drivers professional-grade data analysis and AI coaching - accessible from any internet browser, at a fraction of the cost.

What it does

Cloud based Telemetry Analytics with an AI coach.

  • Compare lap to all other drivers, meter-by-meter, lap by lap (or by race, or by season)
  • Time delta analysis showing exactly where you gain or lose time against another driver.
  • Works with dataset of VBOX data provided by TGRNA data at 23 Hz (1,380 samples/minute)
  • Also ingested all other datasets for a wholistic view of the entire series.

How we built it

Tech Stack: React + TypeScript + Supabase (PostgreSQL) + AI Edge Functions

Data Pipeline:

  1. Ingested 23.2M raw telemetry rows from Toyota GR Cup races
  2. Built TypeScript scripts to pivot CSV data from "long" (1 row per sensor) to "wide" format (1 row per timestamp)
  3. Stored 2.9M optimized records in PostgreSQL with smart indexing (reducing data without loss by 88%)
  4. Created interactive visualizations with Recharts and Leaflet maps
  5. Added AI analysis that understands racing context (corner names, track layouts, techniques)

Challenges we ran into

  1. Inconsistent data: Only 2 of 7 tracks have GPS. Speed/distance sensors update 5x less frequently than throttle/brake (276 vs 1,380 samples/min)

  2. Scale: Processing multi gig CSV files - built streaming ingestion with batching to avoid browser crashes

  3. Missing data: Some cars had incomplete laps - added pre-flight data quality checks for user.

  4. Performance: Can't render 100,000+ data points smoothly - implemented smart sampling and progressive loading

  5. AI coaching: Made it racing-specific, not just a ChatGPT wrapper - injected track context and cached results

Accomplishments that we're proud of

  1. Handled pro-level data: 23.2M rows → 2.9M optimized records, sub-second queries
  2. Matched $10K systems in the cloud Same capabilities as VBOX, accessible via browser
  3. 23 Hz precision: Millisecond-level timing with centimeter GPS accuracy
  4. AI that helps: Context-aware coaching with official corner names and racing terminology
  5. Real impact: Amateur drivers now have access to data previously only available to pros

What we learned

Technical:

  • Amateur racing generates professional-quality data (23 Hz, sub-centimeter GPS)
  • Performance requires smart design: sample intelligently, load progressively, cache AI results

Racing:

  • Milliseconds matter: at 180 km/h, 23 Hz = one reading every 2.2 meters
  • Context is everything: "Turn 5 entry" means more than "2,450m mark"
  • Objectivity beats intuition: "You brake at 150m, the fast driver brakes at 130m" > "I feel slow"

What's next for TGRNA Race Telemetry and Driver Comparison AI Analysis

Will use to ingest VBOX data and unbundle it from their "Circuit Tools" to help coaches provide objective driving feedback.

Built With

Share this project:

Updates