04 / Independent work by Kush Rishi

Autonomy Simulation Lab

Compare model outputs from the same recording.

In brief

I built C++ and Python tools to process the same recorded images repeatedly and compare model predictions. A separate interactive browser simulator demonstrates route planning and position estimation.

C++ preprocessingWhole-process time
Three paired timing comparisons with an 8.97 percent median reduction in whole-process time
8.97% median reduction in whole-process time, with identical recorded model outputs. Three paired runs of the same 108-frame workload on a Linux host using MobileNetV2 and ONNX Runtime CPU.
Whole-process time (seconds)
PairBaselineCandidate
14.1413803.593176
23.9591653.628908
33.9802223.623002
Inspect exact recorded timings
Pair 1: baseline (seconds)
4.141379592998419
Pair 1: candidate (seconds)
3.5931763839980704
Pair 2: baseline (seconds)
3.9591646699991543
Pair 2: candidate (seconds)
3.628907812999387
Pair 3: baseline (seconds)
3.9802216890020645
Pair 3: candidate (seconds)
3.6230019760041614

The separately measured preprocessing stage fell by 57.52%. Whole-process timing includes startup; cache and scheduling were not fully controlled. Results apply to this workload, not to inference systems generally.

Original figure · Source measurements · Method and limitations

Native C++ systems case study

The native tool verifies recording timestamps, paths and file identities; decodes bounded PNG images; and runs a pinned ONNX Runtime CPU model. Python tools compare outputs and processing configurations. Optional Rerun export adds timing and spatial context.

  1. 01Verify recording and model identity
  2. 02Prepare images and compute model predictions
  3. 03Compare outputs and timing

I implemented a crop-aware preprocessing path that avoids computing resized pixels discarded by the center crop. The figure above reports the paired timings, identical model outputs and workload limits.

Libpng, ONNX Runtime, MobileNetV2 and Rerun are dependencies, not original components. KITTI data retains its own terms and is not republished here.

Full case study · Native quickstart

Browser simulator

A separate educational simulator lets a visitor edit a grid, compare routes, introduce noisy measurements and inspect position estimates against simulated truth. It is not a complete autonomy stack or GNSS receiver.

Planning and localization

BFS provides an unweighted step-count reference. A* and Dijkstra use terrain-weighted costs. Localization includes Gauss–Newton range estimation and a constant-velocity Kalman filter using position measurements, not direct nonlinear range fusion. JSON/CSV telemetry can be inspected with Python.

Try the browser demo

Autonomy Simulation LabBrowser demo
An A-star route through weighted terrain beside position-estimation results
A completed A* run with simulated measurements. This is the browser simulator, not the native replay tool.

Choose a scenario, compare planners with terrain costs, add an obstacle during motion and inspect the resulting route. Use arrow keys to move between grid cells and Enter or Space to apply the selected editor tool.

Open the live simulator

Verification

Automated checks cover paths, weighted optimality, queue ordering, range recovery, input validation and filter behaviour. The native workflow includes numerical-reference and repeated-run checks. Those tests are not evidence of real-vehicle perception accuracy or cross-platform numerical equivalence.

Limits and unresolved issues

The browser uses simplified dynamics and deterministic noise; its covariance is not calibrated to real sensing errors. Gauss–Newton has a finite iteration budget, not a convergence guarantee. Compatibility with assistive technologies has not been established.

The native tool has no packaged release. An earlier output-cleanup issue remains unresolved. Installation by a new user and reopening saved viewer sessions still need testing.

Native release-readiness record · Numerical audit

Run and reproduce

npm ci
npm test
npm run build
npm run dev

The browser base path is /autonomy-simulation-lab/. Native builds and optional inference dependencies are documented separately.

cmake -S native -B native/build -DCMAKE_BUILD_TYPE=Debug
cmake --build native/build
ctest --test-dir native/build --output-on-failure

Native build options · Recording walkthrough · Browser release

Current scope

Both workflows are in maintenance. This project compares software behaviour on recorded or simulated data; it does not validate real-world driving performance.