Skip to content

contested-nav

Is the filter right about how wrong it is?

Animation of the same GNSS outage in two panels, without and with vision: the claimed bound and the actual position error are drawn as the run unfolds

The same GNSS outage drawn in time order, without and with the camera, showing the error the filter makes against the error it claims.

Position error against the uncertainty the filter claims, through a GNSS outage, without and with vision

contested-nav is a 21-state error-state Kalman filter and an evaluation harness for GNSS-denied navigation. It measures not only how accurate the trajectory is, but whether the uncertainty the filter reports is honest.

Configuration ATE RMSE, full run Claimed 1σ, full run Mean NEES, full run (expected 3) 2σ-per-axis coverage, full run (expected 99.3%) Mean NEES, outage window (expected 3) 2σ-per-axis coverage, outage window (expected 99.3%)
GNSS denied, vision off 6.530 m 0.567 m 3.2 100.0% 4.3 100.0%
GNSS denied, vision on 17.568 m 0.156 m 14018.6 19.2% 2783.3 5.0%

Calibration failed, and accuracy did not improve. The filter is confidently wrong, so visual fusion ships off by default. The table is one run with one start draw. In that run the aided case is also less accurate than the case without vision, and over 10 seeds it was less accurate in 9 (measured once on one machine, not checked by CI, at 946d661). The overconfidence held in every run of every sweep (see Results).

Mostly synthetic evidence

The table above comes from a deterministic known-answer fixture. The recorded-data pages use a real IMU with GNSS simulated from the ground truth, and the UrbanNav page uses a real receiver's own fixes. Recorded data is real, but no result here is field validation: the reference is a post-processed estimate or a simulation, not a surveyed truth.

How it works

flowchart TB
    IMU["IMU, always on"] --> F
    GNSS["GNSS, can be denied"] --> FDIR["Fault detection: screens each measurement"]
    CAM["Camera motion, opt-in"] -.-> FDIR
    FDIR --> F["Navigation filter: position, and how sure it is"]
    F --> ACC["Accuracy: error against the truth"]
    F --> HON["Honesty: is the truth inside the claimed area?"]
    TRUTH["Known truth: synthetic runs, recorded datasets"] --> ACC
    TRUTH --> HON
    ACC --> GATE{"Gate B1"}
    HON --> GATE
    GATE -- "met" --> ON["Camera fusion on"]
    GATE -- "not met" --> OFF["Camera fusion off by default (ADR-0003)"]

Every run is scored twice: how far the estimate is from the truth, and whether the truth falls inside the area the filter claims. A feature that improves the first and breaks the second stays off. The project page has an animated figure of the same outage; the module-level design is in docs/architecture.md.

Where to start