Return to ParkFree Sapphire

Mega Fusion Ultra | Engineering lab

C2005 — Quaternion EKF Noise-Stabilization Lab

Simulation only. Based on the supplied quaternion error-state Kalman filter: rotation quaternion, gyroscope bias, Joseph-form covariance update, and mirrored roll/pitch checks. This lab does not access motion sensors or alter live GPS, compass, MapLibre, Dynamic Mode, camera, routing, or Project Duck.

Experimental noise adjustment: accelerometer measurement covariance R = 0.0115 I (15% above 0.0100). The slightly lower correction gain is intended to resist measurement jitter, with a possible trade-off in tilt response speed. High dynamic acceleration remains rejected.

Not tested. The simulation runs only after you press the button.

Ultra position noise comparison

Compare raw and filtered synthetic positions on a straight road and through a 90° turn. Lower RMS error means the positions were closer to the known test track on average. The corner error shows how far the filter can lag or overshoot.

Ready to run.

Created by Jeff Ryan Goldman (2026). Diagnostic-only — no live sensor authority.

Open Sapphire with optional live shadow diagnostics. The shadow observes the existing GPS stream; it never controls the marker, camera or route. Start while parked.