Skip to content

UrbanNav: recorded IMU and real GNSS outages

The first dataset here with a real GNSS receiver and a real GNSS outage. The reader is navkit.urbannav_data, the measurements below come from navkit urbannav check, and the decision behind the dataset is ADR-0026. This page says what the files contain, then what the filter did on the Tunnel-1 recording with the receiver's own fixes and its real outage, then what it did on Deep-Urban-1, where the receiver reports no outage.

Read this before quoting anything

  • One sequence, one receiver, one recording. The five seeds perturb only the start state, so they are not five independent tests. This is not field performance.
  • The settings were declared before the first run, with one exception. The first table below was fixed before the filter ran on this data. The second variant (the receiver's sigma per fix) was added after the first result, so it is not blind, and it is labelled as such. Neither was tuned on the result.
  • The data is not in the repository (S2). It is fetched with navkit urbannav fetch. The table below comes from a committed CSV of aggregate quantities, so CI can check the page and cannot reread the data. The data is MIT licensed by its authors, who ask for a citation of Hsu et al. (2023), NAVIGATION.
  • The receiver is the u-blox F9P, through its own NMEA position fixes. The NovAtel and F9P RINEX files hold raw observations only, and positions from them would need navigation files that the download does not contain.
  • The outage rule reads the receiver's fix flag and nothing else. An epoch is denied when the fix quality is 0 or it has no position, and time with no epoch is denied. It was written before any filter ran on this data, and it does not look at the reference, the satellite count or how wrong a fix turns out to be.
  • A fix marked valid can be badly wrong. In the seconds before the receiver gives up, and in the first seconds after it recovers, the fixes carry a valid flag and differ from the reference by tens of metres (rows below). The rule does not cover them. The filter's gate has to catch them, and how well it does is a result.
  • The reference is an estimate. It is a post-processed NovAtel SPAN-CPT solution at 1 Hz. Through the tunnel it is carried by that unit's inertial sensors alone, and its error there is unknown. Scores against it inside the outage are scores against an estimate. Its quality column has six codes, and what each means has not been confirmed.
  • The fixes are not the simulated ones. They differ from the reference by metres, with a long tail, where the simulated GNSS of the other pages differs by a fraction of a metre. The vertical difference is a bias that changes between the two sides of the outage, so the height is not usable as given.
  • The two units share one frame. The dataset's extrinsic.yaml gives an identity rotation between the IMU and the reference unit, with the body axes x right, y forward, z up. The start attitude is taken from the reference. The convention was checked on the data: the reference velocity rotated with it matches the velocity from the positions, and the static accelerometer reading rotated with it points up. The antenna offset from the IMU (measured by hand) is not corrected.

What the files contain

Sequence Quantity Value Unit
tunnel1 IMU samples 159459 count
tunnel1 IMU time span 398.6 s
tunnel1 IMU rate, median 400.6 Hz
tunnel1 IMU longest gap 9.227 ms
tunnel1 Reference epochs 401 count
tunnel1 Reference spacing, median 1 s
tunnel1 Distinct reference quality codes 6 count
tunnel1 Reference-to-IMU clock offset 0 s
tunnel1 Offset search step 0.01 s
tunnel1 F9P fixes (GGA sentences) 401 count
tunnel1 Epochs with no fix 151 count
tunnel1 Outages by the rule 1 count
tunnel1 First outage, start (IMU clock) 137.5 s
tunnel1 First outage, end (IMU clock) 288.5 s
tunnel1 First outage, length 151 s
tunnel1 Fix horizontal difference from the reference, median 1.999 m
tunnel1 Fix horizontal difference, 95th percentile 11.33 m
tunnel1 Fix horizontal difference, largest 83.25 m
tunnel1 Last valid fix before the outage, difference 83.25 m
tunnel1 Largest difference in the last valid fixes before the outage 83.25 m
tunnel1 First valid fix after the outage, difference 52.76 m
tunnel1 Largest difference in the first valid fixes after the outage 52.76 m
tunnel1 Mean fix height minus reference height, before the outage -7.63 m
tunnel1 Mean fix height minus reference height, after the outage 1.164 m
deepurban1 IMU samples 614782 count
deepurban1 IMU time span 1537 s
deepurban1 IMU rate, median 400.5 Hz
deepurban1 IMU longest gap 9.376 ms
deepurban1 Reference epochs 1539 count
deepurban1 Reference spacing, median 1 s
deepurban1 Distinct reference quality codes 5 count
deepurban1 Reference-to-IMU clock offset 0.01 s
deepurban1 Offset search step 0.01 s
deepurban1 F9P fixes (GGA sentences) 1539 count
deepurban1 Epochs with no fix 0 count
deepurban1 Outages by the rule 0 count
deepurban1 Fix horizontal difference from the reference, median 2.361 m
deepurban1 Fix horizontal difference, 95th percentile 7.497 m
deepurban1 Fix horizontal difference, largest 13.8 m

The run

The filter is the repository's own, with no change to its gating. The settings, generated from the code that runs:

Setting Value Meaning
gyro_noise_density 0.0005236 rad/s/sqrt(Hz): the larger of 0.03 and 0.01 deg/s/sqrt(Hz)
accel_noise_density 0.0007845 m/s^2/sqrt(Hz): the larger of 60 and 80 ug/sqrt(Hz)
gyro_bias_rw 2e-06 rad/s/sqrt(Hz): the repository default
accel_bias_rw 0.0001 m/s^2/sqrt(Hz): the repository default
gnss_horizontal_sigma receiver per axis: the root mean square of the receiver's own latitude and longitude sigma over valid fixes
gnss_vertical_sigma 100 m: declared large because the height is biased
start_pose reference pose and velocity from the reference at the first IMU sample, perturbed by the filter's start sigmas
start_bias static estimated from the quietest stretch of the first seconds
clock_offset_applied 0 s
antenna_offset not corrected about 0.9 m
seeds 0 1 2 3 4 perturb the start state only; the data is one recording
variant: declared scalar sigma the settings above, fixed before the first run
variant: per_fix receiver sigma per fix added AFTER the first run, because one scalar over-weights the fixes at the tunnel mouth. Not blind
variant: oracle_tilt reference roll and pitch in the outage ORACLE DIAGNOSTIC, not a filter: it uses the reference. Inside the outage the roll and pitch are set to the reference's at every IMU step and the yaw is the filter's own. Otherwise the declared settings
variant: oracle_yaw reference yaw in the outage ORACLE DIAGNOSTIC, not a filter: it uses the reference. Inside the outage the yaw is set to the reference's at every IMU step and the roll and pitch are the filter's own. Otherwise the declared settings
variant: oracle_attitude reference attitude in the outage ORACLE DIAGNOSTIC, not a filter: it uses the reference. Inside the outage the whole attitude is set to the reference's at every IMU step. Otherwise the declared settings

As declared, one scalar GNSS sigma for every fix:

Quantity seed 0 seed 1 seed 2 seed 3 seed 4 Unit
Horizontal position RMSE over the recording 4944 4786 4762 4817 4836 m
Horizontal mean NEES (2 degrees of freedom, expected 2) 27.33 25.77 25.62 26.07 26.21
Share of epochs inside the horizontal 95% ellipse (expected 0.95) 0.2313 0.2373 0.2348 0.2361 0.237
Vertical RMSE (the height is almost unused by design) 35.2 30.82 30.36 31 31.97 m
Horizontal error, median before the outage 7.265 7.225 7.286 7.26 7.233 m
Horizontal mean NEES before the outage 10.2 9.956 10.15 9.993 9.934
Horizontal error when the outage starts 15.99 15.47 15.46 15.52 15.55 m
Claimed horizontal sigma when the outage starts 4.378 4.378 4.378 4.378 4.378 m
Attitude error when the outage starts 6.369 0.2777 0.7097 1.399 2.041 deg
Peak horizontal error in the outage 3726 3607 3588 3630 3644 m
Horizontal error when the outage ends 3726 3607 3589 3630 3644 m
Claimed horizontal sigma when the outage ends 529.7 529.5 529.5 529.4 529.6 m
Attitude error when the outage ends 5.439 4.309 4.841 3.858 3.743 deg
For comparison: horizontal error from the accelerometer alone with the reference attitude 426.7 426.7 426.7 426.7 426.7 m
Vertical error when the outage ends 18.09 10.4 14.81 11.44 11.81 m
Horizontal mean NEES inside the outage 19.47 18.22 18.05 18.45 18.59
Horizontal error, median from 10 s after the outage 8864 8600 8559 8651 8683 m
Roll error when the outage starts (estimate minus reference) -0.1578 -0.06654 -0.05381 -0.08395 -0.09397 deg
Pitch error when the outage starts (estimate minus reference) -0.1452 -0.1377 -0.1348 -0.1396 -0.1407 deg
Yaw error when the outage starts (estimate minus reference) 6.369 0.2332 -0.6937 1.391 2.036 deg
Roll error when the outage ends (estimate minus reference) -3.789 -3.697 -3.682 -3.715 -3.726 deg
Pitch error when the outage ends (estimate minus reference) 0.217 0.1596 0.1568 0.172 0.1774 deg
Yaw error when the outage ends (estimate minus reference) 3.607 -2.518 -3.444 -1.362 -0.7188 deg
NIS of the first fix after the outage (3 degrees of freedom) 51 47.37 46.95 48.06 48.46
Fixes offered after the outage 111 111 111 111 111 count
Of those, over the 0.1% chi-square level 111 111 111 111 111 count
Receiver epochs the reader did not pass on (no fix or no position) 151 151 151 151 151 count
Fixes dropped because a reported variance was negative, NaN or infinite 0 0 0 0 0 count
Fixes with a reported sigma below the filter's floor 0 0 0 0 0 count
The start-bias stretch was judged at rest (1 yes, 0 no) 0 0 0 0 0 flag
Valid fixes offered to the filter 248 248 248 248 248 count
Fixes the filter rejected 118 118 118 118 118 count
GNSS channel declared faulty by the end 1 1 1 1 1 count
Times a faulty channel was taken back 0 0 0 0 0 count
Fixes whose NIS is over the 0.1% chi-square level 118 118 118 118 118 count
Valid fixes over 10 m from the reference 13 13 13 13 13 count
Of those, over the 0.1% chi-square level 10 10 10 10 10 count

Per-fix sigma, added after the first result. Each fix is weighted with the error estimate the receiver reported for it:

Quantity seed 0 seed 1 seed 2 seed 3 seed 4 Unit
Horizontal position RMSE over the recording 4760 4664 4649 4688 4699 m
Horizontal mean NEES (2 degrees of freedom, expected 2) 30.33 29.12 28.99 29.4 29.49
Share of epochs inside the horizontal 95% ellipse (expected 0.95) 0.2236 0.2311 0.229 0.229 0.2301
Vertical RMSE (the height is almost unused by design) 33.76 32.59 31.74 32.33 32.93 m
Horizontal error, median before the outage 2.935 2.849 2.858 2.867 2.864 m
Horizontal mean NEES before the outage 20.32 19.46 19.51 19.63 19.59
Horizontal error when the outage starts 8.994 8.024 7.91 8.236 8.328 m
Claimed horizontal sigma when the outage starts 3.919 3.919 3.92 3.919 3.92 m
Attitude error when the outage starts 4.489 0.4263 0.2367 1.409 1.827 deg
Peak horizontal error in the outage 3574 3503 3491 3520 3529 m
Horizontal error when the outage ends 3574 3503 3491 3521 3529 m
Claimed horizontal sigma when the outage ends 514.3 514.3 514.3 514.3 514.3 m
Attitude error when the outage ends 4.196 4.158 4.482 3.781 3.693 deg
For comparison: horizontal error from the accelerometer alone with the reference attitude 426.7 426.7 426.7 426.7 426.7 m
Vertical error when the outage ends 6.03 2.527 0.6393 1.26 0.6926 m
Horizontal mean NEES inside the outage 19.04 18.22 18.08 18.41 18.5
Horizontal error, median from 10 s after the outage 8536 8378 8352 8417 8435 m
Roll error when the outage starts (estimate minus reference) -0.06422 -0.008905 -0.0008733 -0.02251 -0.02826 deg
Pitch error when the outage starts (estimate minus reference) -0.1307 -0.1243 -0.1226 -0.126 -0.1269 deg
Yaw error when the outage starts (estimate minus reference) 4.488 0.4078 -0.2024 1.403 1.823 deg
Roll error when the outage ends (estimate minus reference) -3.682 -3.625 -3.616 -3.639 -3.646 deg
Pitch error when the outage ends (estimate minus reference) 0.1661 0.1342 0.1328 0.1432 0.1459 deg
Yaw error when the outage ends (estimate minus reference) 1.736 -2.337 -2.946 -1.343 -0.9246 deg
NIS of the first fix after the outage (3 degrees of freedom) 49.74 47.52 47.25 48.04 48.28
Fixes offered after the outage 111 111 111 111 111 count
Of those, over the 0.1% chi-square level 111 111 111 111 111 count
Receiver epochs the reader did not pass on (no fix or no position) 151 151 151 151 151 count
Fixes dropped because a reported variance was negative, NaN or infinite 0 0 0 0 0 count
Fixes with a reported sigma below the filter's floor 0 0 0 0 0 count
The start-bias stretch was judged at rest (1 yes, 0 no) 0 0 0 0 0 flag
Valid fixes offered to the filter 248 248 248 248 248 count
Fixes the filter rejected 111 111 111 111 111 count
GNSS channel declared faulty by the end 1 1 1 1 1 count
Times a faulty channel was taken back 0 0 0 0 0 count
Fixes whose NIS is over the 0.1% chi-square level 111 111 111 111 111 count
Valid fixes over 10 m from the reference 13 13 13 13 13 count
Of those, over the 0.1% chi-square level 3 3 3 3 3 count

Oracle diagnostics. These are not filters. They use the reference, to find out where the outage error comes from. Inside the outage, at every IMU step, part of the filter's attitude is replaced by the reference's, and everything else is the declared filter. Outside the outage they are the declared filter, so they start from the same place. One sequence, one receiver; the seeds perturb only the start state.

Variant Quantity seed 0 seed 1 seed 2 seed 3 seed 4 Unit
declared filter Horizontal error when the outage ends 3726 3607 3589 3630 3644 m
Fixes the filter rejected 118 118 118 118 118 count
ORACLE DIAGNOSTIC: reference roll and pitch in the outage Horizontal error when the outage ends 159.8 115 108.7 122.9 127.3 m
Fixes the filter rejected 16 16 16 16 16 count
ORACLE DIAGNOSTIC: reference yaw in the outage Horizontal error when the outage ends 3738 3607 3586 3632 3648 m
Fixes the filter rejected 118 118 118 118 118 count
ORACLE DIAGNOSTIC: reference attitude in the outage Horizontal error when the outage ends 148.9 117.6 113.7 122.6 125.5 m
Fixes the filter rejected 16 16 16 16 16 count

The last rows of the two run tables above are counts from the data: the receiver epochs the reader did not pass on (no fix or no position), the fixes dropped for a negative, NaN or infinite reported variance, and the fixes whose reported sigma is below the filter's floor, which the filter raises to the floor. The filter raises an error on an unusable variance, so the run drops such a fix before the filter sees it and reports how many.

What the run shows

Every statement is about one sequence and one receiver, and points at rows of the generated tables above.

  1. With GNSS available the filter is already inconsistent on this sequence. The horizontal mean NEES before the outage is above its expected value in both variants and every seed. The yaw error when the outage starts reaches several degrees on one of the five seeds. Neither is caused by the outage. This does not say how much comes from the start attitude and how much from the IMU model.
  2. The outage error is driven by tilt error (roll and pitch) inside the outage. The roll error when the outage ends is far larger than when it starts. The pitch error is small at both moments, so the rows do not show pitch growing, and the oracle row for roll and pitch together does not separate the two. The horizontal error at the end is several times the sigma the filter claims. Integrating the accelerometer with the reference attitude and no gyroscope gives an error that is a small fraction of the filter's. The oracle rows separate the cause: with the reference roll and pitch inside the outage the end error falls by an order of magnitude, and with the reference yaw alone it does not change. A tilt error leaks gravity into horizontal acceleration, so the position error grows with the square of time. The oracle rows say where the error comes from. They are not a better filter.
  3. A link between statement 1, the inconsistency before the outage, and statement 2, the tilt growth in the outage, is not shown. At the start of the outage the tilt error is small and the yaw error does not drive the outage error.
  4. The lost channel is a consequence of the position error, not a separate finding. The gate rejects every fix after the outage, including the first, whose NIS is several times the 0.1% chi-square level, and the channel is declared faulty and never taken back (rows "NIS of the first fix after the outage" and "Fixes offered after the outage"). That follows from an error many times the claimed sigma. With the reference roll and pitch inside the outage, far fewer fixes are rejected. This is the lockout behaviour of the existing gate, reached on real data.
  5. Before the tunnel, weighting each fix by the receiver's own sigma follows the fixes more closely, and the filter is still not calibrated: the normalised error is above its expected value in both variants. The receiver's own sigma is optimistic against the reference. Note (2026-10-22): the sentence holds under the rule of ADR-0029, which forms a single run's verdict with the effective sample size. The bulk verdict of the horizontal normalised error before the outage is overconfident for both variants on all five seeds. For the scalar variant the effective sample size is a handful of samples and truncated, so an upper bound; for the per-fix variant it is a little larger and not truncated. The result was recomputed once, to a scratch path, measured once on one machine, not checked by CI. The committed tables are unchanged.
  6. The receiver's sigma already marks the worst fixes. The fixes just before the receiver gives up are far from the reference and carry a large reported sigma. The scalar variant rejects most of the wrong ones. The per-fix variant accepts most of them, because it believes the sigma that came with them.
  7. The start biases were a guess. The stretch used to estimate them is judged not at rest, because the vehicle moves off within seconds of the start. The accelerometer-only comparison does not depend on it.
  8. The seeds agree, because the start perturbation is small against the effect.

What the run does not show

  • It does not say how another IMU, another tunnel or a better start alignment would do. The Xsens MTi-10 is an industrial MEMS unit, and its noise figures were declared from two datasheets that disagree.
  • The reference in the tunnel is carried by its own inertial sensors, so the scores inside the outage are against an estimate. Its error there is unknown. The gap between it and the filter is far larger than the accelerometer-only drift, so it is not plausibly all reference error.
  • The antenna offset from the IMU is not corrected, and the height is almost unused by design.
  • The cause of the tilt growth is not shown. HYPOTHESIS, not tested here: the gyroscope bias, and so the tilt, is weakly observable during driving at roughly constant velocity. The tilt growth is of the same size as a gyroscope bias inferred from the data over the stretch before the outage, but starting the filter from the inferred biases in a scratch run (no code in the repository reproduces it) still ended with a kilometre-scale error, so the growth is not explained.
  • It does not say how the filter does on a sequence where the receiver reports no outage. The Deep-Urban-1 section below is that aided run, and it is not an outage test.

What it shows about the data

  1. One real outage. The F9P reports no fix for one continuous stretch, and the rule finds a single outage there.
  2. No clock offset was applied. The offset search above returned zero within its step. The reference is 1 Hz and the search uses only the yaw axis, so it cannot rule out a shift of a fraction of a second. The method was checked by shifting a synthetic reference by known amounts, and it recovered each.
  3. The edges of the outage are the hard part. The fixes just before the receiver gives up are the worst of the valid ones, and the first fixes after it recovers are wrong too.

Deep-Urban-1: real urban GNSS, no outage

Status: run for this page. The tables in this section are generated from the committed CSVs. They are one sequence, one receiver and one recording. They are not field performance.

  • One sequence, one receiver, one recording. The seeds perturb only the start state, as for Tunnel-1.
  • The receiver reports no outage here. The outage rule is the one used for Tunnel-1, and it was not changed or tuned to find one (issue #95). So this is not an outage test. It is the aided run: the filter is offered the receiver's own fixes over the whole recording, and the question is how it handles them. The filter is offered the fixes that fall inside the IMU recording, which is two fewer than the receiver wrote.
  • The settings are the ones declared above, unchanged. Both variants were fixed before this sequence was run. Neither was tuned on it. The per-fix variant was added after the first Tunnel-1 result, so on Tunnel-1 it is not blind. Here it was declared in advance.
  • The oracle diagnostics are not applicable. They replace part of the attitude inside an outage, and there is none. The block below says so.
  • The reference is the same kind of file as for Tunnel-1: the post-processed NovAtel SPAN-CPT solution, read from the text file and not from the bag (the ADR records this choice). Between tall buildings its own error is not known. Its quality column has several codes, and what each means has not been confirmed. Every score here is a score against an estimate.
  • The height is not relied on. The vertical noise is declared very large, so the vertical error is large and the page makes no claim about it. The absolute trajectory error is in the CSV and not in the tables, because it is a three-dimensional number that the vertical error dominates. The tables quote the horizontal error.

What the section tests:

  1. Whether the filter is right about how wrong it is on real urban GNSS errors. The rows are the horizontal and attitude normalised errors over the whole run and by third of the run, the pooled 2-sigma coverage per axis, the sigma the filter claims against the receiver's own, and the fixes' own normalised error against the receiver's reported sigma.
  2. How the gate behaves on real urban fixes. Multipath is the likely cause of their errors, but it is not measured here. The rows are the fixes it rejects, whether the channel is declared faulty, and the NIS against the gate's level.

As declared, one scalar GNSS sigma for every fix:

Quantity seed 0 seed 1 seed 2 seed 3 seed 4 Unit
Valid fixes offered to the filter 1537 1537 1537 1537 1537 count
Fixes the filter used 1537 1537 1537 1537 1537 count
Fixes the filter rejected 0 0 0 0 0 count
Share of the offered fixes the gate rejected 0 0 0 0 0
The gate's alpha (the FDIR default) 0.001 0.001 0.001 0.001 0.001
The gate's level on the NIS (3 degrees of freedom) 16.27 16.27 16.27 16.27 16.27
Mean NIS of the offered fixes 0.5061 0.496 0.5026 0.4989 0.4979
Rejections expected at that alpha if every fix were consistent (offered x alpha) 1.537 1.537 1.537 1.537 1.537 count
Wilson 95% interval of the rejection rate on the raw count, lower end 0 0 0 0 0
Wilson 95% interval of the rejection rate on the raw count, upper end 0.002493 0.002493 0.002493 0.002493 0.002493
Effective number of fixes behind the rate (effective sample size of the over-the-level series) 1537 1537 1537 1537 1537 count
That size could be estimated (1 yes, 0 no: the series is constant, so it counts every fix) 0 0 0 0 0 flag
Wilson 95% interval on the effective count, lower end 0 0 0 0 0
Wilson 95% interval on the effective count, upper end 0.002493 0.002493 0.002493 0.002493 0.002493
GNSS channel declared faulty by the end 0 0 0 0 0 count
Times a faulty channel was taken back 0 0 0 0 0 count
Horizontal mean NEES over the whole run (2 degrees of freedom, expected 2) 13.84 13.82 13.84 13.82 13.82
Horizontal mean NEES, first third of the run 14.12 14.07 14.13 14.09 14.07
Horizontal mean NEES, middle third of the run 22.44 22.43 22.43 22.44 22.44
Horizontal mean NEES, last third of the run 4.949 4.951 4.952 4.951 4.951
Effective sample size of the horizontal NEES series (it has one value per IMU step) 18.03 18.05 18.06 18.05 18.05 count
That size is an upper bound (1 yes, 0 no) 0 0 0 0 0 flag
Attitude mean NEES over the whole run (3 degrees of freedom, expected 3) 14.12 13.46 13.64 13.5 13.49
Attitude mean NEES, first third of the run 20.27 18.28 18.81 18.43 18.4
Attitude mean NEES, middle third of the run 12.89 12.88 12.88 12.88 12.88
Attitude mean NEES, last third of the run 9.183 9.205 9.216 9.199 9.199
Effective sample size of the attitude NEES series 62.38 163.6 160.7 159 158.5 count
That size is an upper bound (1 yes, 0 no) 0 0 0 0 0 flag
Pooled 2-sigma per-axis coverage, east and north (a Gaussian gives 0.9545) 0.606 0.6079 0.6075 0.6078 0.6081
Share of epochs inside the horizontal 95% ellipse (expected 0.95) 0.4459 0.4488 0.4512 0.4522 0.4538
Horizontal position RMSE over the recording 4.354 4.348 4.351 4.352 4.352 m
Vertical RMSE (the height is almost unused by design) 11.44 10.19 10.56 10.25 10.4 m
Fix horizontal difference from the reference, median 2.361 2.361 2.361 2.361 2.361 m
Fix horizontal difference, 95th percentile 7.497 7.497 7.497 7.497 7.497 m
Fix horizontal difference, 99th percentile 12.97 12.97 12.97 12.97 12.97 m
Fixes more than 3 of the receiver's own per-axis sigmas from the reference 166 166 166 166 166 count
Receiver's own reported per-axis sigma, median 2.164 2.164 2.164 2.164 2.164 m
Per-axis position sigma the filter claims, median over the run 1.173 1.173 1.173 1.173 1.173 m
Fixes alone: mean of (horizontal difference / receiver sigma) squared (expected 2) 3.285 3.285 3.285 3.285 3.285
Fixes whose NIS is over the 0.1% chi-square level 0 0 0 0 0 count
Valid fixes over 10 m from the reference 48 48 48 48 48 count
Of those, over the 0.1% chi-square level 0 0 0 0 0 count
Receiver epochs the reader did not pass on (no fix or no position) 0 0 0 0 0 count
Fixes dropped because a reported variance was negative, NaN or infinite 0 0 0 0 0 count
Fixes with a reported sigma below the filter's floor 0 0 0 0 0 count
The start-bias stretch was judged at rest (1 yes, 0 no) 0 0 0 0 0 flag

Per-fix sigma, each fix weighted with the error estimate the receiver reported for it:

Quantity seed 0 seed 1 seed 2 seed 3 seed 4 Unit
Valid fixes offered to the filter 1537 1537 1537 1537 1537 count
Fixes the filter used 1537 1537 1537 1537 1537 count
Fixes the filter rejected 0 0 0 0 0 count
Share of the offered fixes the gate rejected 0 0 0 0 0
The gate's alpha (the FDIR default) 0.001 0.001 0.001 0.001 0.001
The gate's level on the NIS (3 degrees of freedom) 16.27 16.27 16.27 16.27 16.27
Mean NIS of the offered fixes 0.5249 0.5132 0.5206 0.5164 0.5152
Rejections expected at that alpha if every fix were consistent (offered x alpha) 1.537 1.537 1.537 1.537 1.537 count
Wilson 95% interval of the rejection rate on the raw count, lower end 0 0 0 0 0
Wilson 95% interval of the rejection rate on the raw count, upper end 0.002493 0.002493 0.002493 0.002493 0.002493
Effective number of fixes behind the rate (effective sample size of the over-the-level series) 1537 1537 1537 1537 1537 count
That size could be estimated (1 yes, 0 no: the series is constant, so it counts every fix) 0 0 0 0 0 flag
Wilson 95% interval on the effective count, lower end 0 0 0 0 0
Wilson 95% interval on the effective count, upper end 0.002493 0.002493 0.002493 0.002493 0.002493
GNSS channel declared faulty by the end 0 0 0 0 0 count
Times a faulty channel was taken back 0 0 0 0 0 count
Horizontal mean NEES over the whole run (2 degrees of freedom, expected 2) 15.08 15.07 15.08 15.07 15.07
Horizontal mean NEES, first third of the run 18.97 18.94 18.97 18.94 18.93
Horizontal mean NEES, middle third of the run 20.51 20.51 20.5 20.51 20.51
Horizontal mean NEES, last third of the run 5.772 5.774 5.775 5.774 5.774
Effective sample size of the horizontal NEES series (it has one value per IMU step) 13.55 13.6 13.59 13.58 13.59 count
That size is an upper bound (1 yes, 0 no) 0 0 0 0 0 flag
Attitude mean NEES over the whole run (3 degrees of freedom, expected 3) 13.33 13.07 13.26 13.07 13.05
Attitude mean NEES, first third of the run 18.9 18.03 18.54 18.04 18
Attitude mean NEES, middle third of the run 11.64 11.71 11.73 11.69 11.69
Attitude mean NEES, last third of the run 9.448 9.479 9.49 9.471 9.471
Effective sample size of the attitude NEES series 178.6 195.6 188.2 195.8 195.9 count
That size is an upper bound (1 yes, 0 no) 0 0 0 0 0 flag
Pooled 2-sigma per-axis coverage, east and north (a Gaussian gives 0.9545) 0.5734 0.5719 0.5714 0.5714 0.5713
Share of epochs inside the horizontal 95% ellipse (expected 0.95) 0.4242 0.4243 0.4256 0.4223 0.422
Horizontal position RMSE over the recording 4.302 4.301 4.302 4.302 4.302 m
Vertical RMSE (the height is almost unused by design) 11.38 10.14 10.52 10.19 10.34 m
Fix horizontal difference from the reference, median 2.361 2.361 2.361 2.361 2.361 m
Fix horizontal difference, 95th percentile 7.497 7.497 7.497 7.497 7.497 m
Fix horizontal difference, 99th percentile 12.97 12.97 12.97 12.97 12.97 m
Fixes more than 3 of the receiver's own per-axis sigmas from the reference 166 166 166 166 166 count
Receiver's own reported per-axis sigma, median 2.164 2.164 2.164 2.164 2.164 m
Per-axis position sigma the filter claims, median over the run 1.137 1.137 1.137 1.137 1.137 m
Fixes alone: mean of (horizontal difference / receiver sigma) squared (expected 2) 3.285 3.285 3.285 3.285 3.285
Fixes whose NIS is over the 0.1% chi-square level 0 0 0 0 0 count
Valid fixes over 10 m from the reference 48 48 48 48 48 count
Of those, over the 0.1% chi-square level 0 0 0 0 0 count
Receiver epochs the reader did not pass on (no fix or no position) 0 0 0 0 0 count
Fixes dropped because a reported variance was negative, NaN or infinite 0 0 0 0 0 count
Fixes with a reported sigma below the filter's floor 0 0 0 0 0 count
The start-bias stretch was judged at rest (1 yes, 0 no) 0 0 0 0 0 flag

Oracle diagnostics:

Not applicable: the receiver reports no outage on this sequence by the outage rule, and an oracle diagnostic acts only inside an outage. The oracle variants are not run.

The effective count behind the rejection rate has one convention. When no fix is over the gate's level the series of yes and no answers is constant and has no autocorrelation to estimate, so it counts every fix as an independent sample. The effective interval is then the raw one, and the row "That size could be estimated" is the flag for no.

The receiver's fix errors in time. This table has no filter in it. It is the receiver's fixes against the reference, for both sequences, with the mean offset taken out. The correlation at a lag is over the pairs of fixes that far apart, and the effective sample size is per axis. Tunnel-1 has far fewer fixes, and its fixes are joined across the outage, so its numbers are rougher.

Sequence Quantity Value Unit
tunnel1 Valid fixes 250 count
tunnel1 Pairs for a lag: time difference within this of the lag 0.5 s
tunnel1 Mean offset of the fixes from the reference, east -1.234 m
tunnel1 Mean offset of the fixes from the reference, north 1.95 m
tunnel1 Horizontal root mean square of the difference about that offset 10.87 m
tunnel1 Pairs of fixes 1 s apart 248 count
tunnel1 Correlation of the fix difference 1 s apart, east 0.9405
tunnel1 Correlation of the fix difference 1 s apart, north 0.9908
tunnel1 Correlation of the fix difference 1 s apart, pooled 0.9704
tunnel1 Pairs of fixes 10 s apart 230 count
tunnel1 Correlation of the fix difference 10 s apart, east 0.07743
tunnel1 Correlation of the fix difference 10 s apart, north 0.3562
tunnel1 Correlation of the fix difference 10 s apart, pooled 0.2331
tunnel1 Pairs of fixes 30 s apart 190 count
tunnel1 Correlation of the fix difference 30 s apart, east -0.05684
tunnel1 Correlation of the fix difference 30 s apart, north 0.03377
tunnel1 Correlation of the fix difference 30 s apart, pooled -0.00567
tunnel1 Pairs of fixes 60 s apart 130 count
tunnel1 Correlation of the fix difference 60 s apart, east -0.07971
tunnel1 Correlation of the fix difference 60 s apart, north -0.1313
tunnel1 Correlation of the fix difference 60 s apart, pooled -0.1038
tunnel1 Effective sample size of the fix difference, east 66.8 count
tunnel1 That size is an upper bound, east (1 yes, 0 no) 0 flag
tunnel1 Effective sample size of the fix difference, north 18.33 count
tunnel1 That size is an upper bound, north (1 yes, 0 no) 0 flag
deepurban1 Valid fixes 1539 count
deepurban1 Pairs for a lag: time difference within this of the lag 0.5 s
deepurban1 Mean offset of the fixes from the reference, east 0.9633 m
deepurban1 Mean offset of the fixes from the reference, north -1.233 m
deepurban1 Horizontal root mean square of the difference about that offset 3.508 m
deepurban1 Pairs of fixes 1 s apart 1538 count
deepurban1 Correlation of the fix difference 1 s apart, east 0.9983
deepurban1 Correlation of the fix difference 1 s apart, north 0.9985
deepurban1 Correlation of the fix difference 1 s apart, pooled 0.9984
deepurban1 Pairs of fixes 10 s apart 1529 count
deepurban1 Correlation of the fix difference 10 s apart, east 0.9455
deepurban1 Correlation of the fix difference 10 s apart, north 0.95
deepurban1 Correlation of the fix difference 10 s apart, pooled 0.9477
deepurban1 Pairs of fixes 30 s apart 1509 count
deepurban1 Correlation of the fix difference 30 s apart, east 0.7442
deepurban1 Correlation of the fix difference 30 s apart, north 0.777
deepurban1 Correlation of the fix difference 30 s apart, pooled 0.7599
deepurban1 Pairs of fixes 60 s apart 1479 count
deepurban1 Correlation of the fix difference 60 s apart, east 0.4217
deepurban1 Correlation of the fix difference 60 s apart, north 0.5265
deepurban1 Correlation of the fix difference 60 s apart, pooled 0.4719
deepurban1 Effective sample size of the fix difference, east 16.46 count
deepurban1 That size is an upper bound, east (1 yes, 0 no) 0 flag
deepurban1 Effective sample size of the fix difference, north 17.87 count
deepurban1 That size is an upper bound, north (1 yes, 0 no) 0 flag

What the section shows

Every statement is about one sequence and one receiver, and points at rows of the generated tables above.

  1. The gate rejects none of the offered fixes. Some fixes are more than three of the receiver's own sigmas from the reference, and some are more than ten metres from it (the two rows of counts of far fixes). The mean NIS stays far below the gate's level (rows "Mean NIS" and "The gate's level"). The rejection rate is zero, and the gate's alpha lies inside its Wilson interval, so the rows do not show the gate failing its own level. They show that it rejects none of these fixes. The channel is never declared faulty.
  2. The filter is overconfident against this reference, in position and in attitude. The horizontal and the attitude normalised errors are far above their expected values, and the pooled 2-sigma coverage is far below the Gaussian value. The per-axis sigma the filter claims is below the receiver's own median sigma. This holds in both variants and on every seed.
  3. The excess is not a start-up transient. The horizontal and the attitude normalised errors are above their expected values in each third of the run, in both variants and on every seed. This does not say what causes it, and the first, middle and last thirds differ from each other.
  4. The means have few independent samples behind them. The normalised-error series has one value per IMU step, and its effective sample size is a small fraction of its length (rows "Effective sample size"). The means say the filter is overconfident. They do not give a precise value.
  5. The receiver's own sigma is optimistic against the reference. The mean of the fixes' squared difference over their reported sigma is above its expected value. This is a statement about the receiver and the reference. The reference's own error is not known.
  6. Each variant sees the same fixes. The fix statistics are identical in the two variants, because they are statistics of the fixes and not of the filter.
  7. The seeds agree, because the start perturbation is small against the effect. They are not independent tests.

INTERPRETATION, not a result of this page. The filter treats the receiver's fixes as independent measurements. The table of fix errors above shows that on this sequence the receiver's errors are correlated over tens of seconds: the correlation is high at the longer lags, and the effective sample size per axis is a small fraction of the number of fixes. Averaging correlated errors does not reduce the error the way the claimed covariance assumes, and the innovations stay small because the estimate follows the fixes. This is consistent with the rows above. It does not prove the cause, because the filter was not run with a correlated-error model here. A separate run with a correlated-error term, in the section A correlated-error GNSS term, does not remove the overconfidence. The reference's own error is not known, and some of the correlated difference could be in the reference and not in the receiver.

The synthetic counterpart, where the cause is known, is below.

Is the gate blind to a slow, correlated GNSS error? Synthetic, not the real receiver (MEASUREMENT). Each case was run over 10 development seeds. The correlated case adds a first-order Gauss-Markov error with a standard deviation of 1.5 m and a correlation time of 30 s to the fixes, both declared before the run. The rejection column pools the fixes of all seeds with a Wilson 95% interval that treats them as independent trials, which they are not under correlated error, so it is too narrow. The gate level is 16.27 (three degrees of freedom).

Case Fixes Rejected (Wilson 95%) Mean NIS (expected 3) Mean NEES (expected 3)
Independent noise (control) 1510 2 (0.0% to 0.5%) 2.83 3.4
Correlated error, 1.5 m, 30 s 1510 8 (0.3% to 1.0%) 4.50 106.7
Single anchor with an outage (control) 760 502 (62.6% to 69.3%) 7016.27 45042.1

The criteria for "blind" were declared first: an upper Wilson bound of the rejection rate under 5%, a mean NIS under the gate level, and a mean NEES at least 3 times its expected value. In the correlated case the gate rejected 8 of 1510 fixes, the mean NIS was 4.50 against 2.83 for independent noise, and the mean NEES was 106.7. The criteria were met.

What this shows: the rows, for this scenario. What it does not show: that the real receiver's errors follow this model, why Deep-Urban-1 behaved as it did, or what a correlated-error model in the filter would change. The run is 30 s long, the same length as the correlation time, so the error is close to one slow wave. The single-anchor row is the overconfident control and is not a GNSS-error case.

The rows are in docs/data/correlated_gnss.csv, written by navkit sweep correlated-gnss, and the sentences above are checked against them by tests/test_correlated_gnss_page.py.

What the section does not show

  • It does not say how the filter does through an outage. Imposed outages are a separate experiment, and this section did not run one.
  • It does not carry over to another receiver, another city or another day.
  • It does not say whether a correlated-error model would repair the overconfidence. That is a separate run, in the section A correlated-error GNSS term.
  • It makes no claim about the height, and the antenna offset from the IMU is not corrected.
  • It does not say how accurate the receiver is. The reference is a post-processed estimate with several quality codes, and its error is not known.
  • It is not field performance.

Sanity checks

Three checks on the runs above, as rows in docs/data/urbannav_sanity.csv, written by navkit urbannav sanity. The settings are constants in src/navkit/urbannav_sanity.py, declared before the run and not changed after it. The sentences below are checked against the rows by tests/test_urbannav_sanity.py. One sequence or two, one receiver, and the reference's own error is not known.

  • Clock shift. It was run on Deep-Urban-1 only, because Tunnel-1 has an outage and the outage window would have to move with the clock. Moving the IMU clock by the declared shift in either direction raises both the mean NEES and the ATE RMSE above the unshifted run. The unshifted run is the lowest of the three on both measures.
  • Dead reckoning. On Deep-Urban-1 the accelerometer alone drifts further over the declared stretch than the aided run's horizontal RMSE. On Tunnel-1 the two are not like for like: the aided RMSE covers the whole run, including the tunnel outage, so the ratio there says nothing about whether the aided filter beats dead reckoning.
  • Spread of the lag correlation. The estimators of the correlation of fix errors at the declared lag give different values on Tunnel-1 and almost the same value on Deep-Urban-1. The spread is much smaller on Deep-Urban-1.

Attitude NEES: the start or the sensor

Two diagnostics for the attitude NEES excess, run on both sequences with the settings declared in ATTRIBUTION_DECLARED in src/navkit/urbannav_run.py before any run. start_attitude starts from the reference attitude and changes nothing else. held_gyro_bias keeps the static start estimate of the gyroscope bias and does not estimate it. They are diagnostics that use the reference, not filters. The rows are in docs/data/urbannav_attribution.csv, with effective sample sizes, and the declared run's rows are unchanged. The sentences below are checked against the rows by tests/test_urbannav_attribution.py. One sequence at a time, one receiver, and the reference's own error is not known.

  • Both variants stay far above the expected value on both sequences. The expected attitude NEES is the number of attitude axes.
  • On Deep-Urban-1 a better start barely moves the attitude NEES. It is close to the declared run's. The excess there does not come from the start alignment.
  • Holding the gyroscope bias makes the attitude NEES larger on both sequences. It is larger than the start-attitude variant's, and its effective sample size is smaller. So estimating the bias is not what causes the excess.
  • Tunnel-1 has no declared-run attitude NEES row to compare with, because the declared run there has an outage and reports other quantities. Its two variants can only be compared with each other.
  • What these rows do not say is what does cause the excess. Neither variant removes it.

A correlated-error GNSS term

The aided Deep-Urban-1 run again, with the optional time-correlated GNSS error term of the ADR for it (in docs/adr, titled "A correlated-error term for the GNSS update") switched on. It is off by default. The correlation time and the amplitude are the constants GM_TAU_S and GM_SIGMA_M in src/navkit/urbannav_run.py. They were declared before this run and are the values of the synthetic study, not a fit to this data. The receiver's own sigma stays the white part of each fix. The rows are in docs/data/urbannav_gnss_gm.csv, for both variants, with effective sample sizes, and the declared rows are unchanged. The sentences below are checked against the rows by tests/test_urbannav_gnss_gm_page.py. One sequence, one receiver, one setting of the term, and the reference's own error is not known. That ADR has no decision yet, so this is a result of a run, not an adopted model.

  • The term lowers the mean horizontal NEES in both variants, and it stays above its expected value. The filter is less overconfident and still overconfident.
  • The share of epochs inside the confidence ellipse rises and stays below the nominal level.
  • The position error is essentially unchanged. The term changes what the filter claims, not where it puts the estimate.
  • The attitude NEES is essentially unchanged and stays far above its expected value. The term does not touch the attitude excess.
  • The gate rejects no fix with the term, as without it.
  • What these rows do not say is that the receiver's errors follow this model, or that these values are right for it. One setting was run, and it was not tuned. Another setting could give another answer.

Imposed outages

The aided Deep-Urban-1 run again, with an outage cut into the receiver's fixes by the code. The receiver reports none here by the rule of issue #95, and that rule is not changed. These outages are imposed and are not the receiver's own, so the rows say how the filter behaves through a denial of known position and length on real fixes and a real IMU. They say nothing about how often or how long a receiver loses its fix in a city. The starts and lengths are declared in IMPOSED in src/navkit/urbannav_imposed.py before any run: a short, a middle and a long outage, the lengths of the synthetic outage study, each run alone. The settings, the variants and the seeds are those of the aided run. The rows are in docs/data/urbannav_imposed.csv and the existing CSVs are unchanged. The sentences below are checked against the rows by tests/test_urbannav_imposed_page.py. One sequence, one receiver, imposed outages, and the reference's own error is not known.

  • After the short outage the filter takes every returning fix, in both variants. The gate rejects none.
  • After the middle outage the filter also takes every returning fix and recovers, but it ends the outage with a position error above the error it claims. The horizontal error at the end of the outage is larger than the claimed horizontal sigma.
  • After the long outage the filter rejects every returning fix, in both variants and in every seed. The GNSS channel is declared faulted, no fix is accepted again, and the horizontal error after the outage is far above the error before it. The filter does not recover on this sequence.
  • The horizontal error at the end of the outage grows with the length of the outage.
  • What these rows do not say is why the long outage is not recovered from. HYPOTHESIS, from a one-seed development diagnosis, recorded in the proposed ADR on sizing the reacquisition inflation, that is not in the CSV and is not reproduced by code in this repository: the first returning fixes sit only just outside the gate, the inflation the reacquisition rule may add is small against the covariance the filter already claims, so they stay rejected, the fault is declared, and the unfused state drifts further from the fixes. No filter setting was changed in any row above. Nor do these rows say how a receiver's own outages behave. The oracle variants were not run.

What follows

The attitude is still the next thing to understand: a better start alignment and a held gyroscope bias were run (section above) and neither removes the excess. A correlated-error term was run on Deep-Urban-1 with one declared setting and lowers the overconfidence without removing it (section above). Outages imposed on Deep-Urban-1 were run (section above): the long one is not recovered from, and the cause is a hypothesis, recorded in a proposed ADR. See ADR-0026.