Debugging and Consistency

A filter can be sure and wrong at once. Tell a Kalman filter its target moves 100 times more smoothly than it does: it claims ±0.75 m while its real error is 3.6 m. Its normalized surprise, the NIS, climbs from 1 to 4.7 and gives it away, with no ground truth.

Drag what the filter is told about its target's motion. Watch the teal band shrink while the pink NIS climbs out of the green band. Then we build the toolkit piece by piece: the innovation, NIS, NEES, whiteness, robust costs and a runbook.

You need the Kalman filter (Lesson 5) and a little Python. We build the rest from zero.

Lesson 21 of 22 in Sensor Fusion: Classical to Modern. The consistency tests follow Bar-Shalom, Li and Kirubarajan (2001). Before: Learned and Differentiable Filters. Next: The Sensor Fusion Atlas.

Catch a filter lying

×1

Illustrative toy: a target on a line with random acceleration (true Q from 0.05 m²/s³), a sensor with a 2 m error, one reading a second. The green band is the 95% chi-square band for the mean of 50 NIS values, 0.65 to 1.43. Only the simulation knows the real error.

Chapter 0

A Filter That Lies With Confidence

See how a filter's error bar shrinks while its real error grows

You built a fuser. It runs, and in your test it draws a smooth track. You ship it. In the field it drives into a wall, and up to the last second it reports a tight, shrinking error bar.

A filter reports two things: its estimate x̂, and its covariance P, its own claim about the size of its error. A filter is consistent when that claim is honest: its errors average zero, and their real spread matches P. It can fail in two directions.

FailureP against the real errorWhat happens
Overconfidenttoo smallignores readings, drifts, reports that all is well
Underconfidenttoo largewastes good readings, never surprises you

Overconfidence feeds itself. The gain K comes from P. Tell the filter its target moves smoothly, with the process noise Q too small, and P shrinks. Then K shrinks, and the filter listens less to the readings that would correct it.

Open the scissors

Teal is the error the filter claims. Purple is its real error. Pick the lie, then drag how wrong the filter's number is.

×0.01

Exact steady state of the hero's toy, from the covariance equations: true Q from 0.05 m²/s³, sensor error 2 m, one reading a second. Errors are one standard deviation of position.

With these toy numbers, an honest filter claims ±1.23 m and is right. Told Q ×0.01, it claims ±0.75 m, its gain falls from 0.38 to 0.14, and its real error is 3.65 m. Lie about the sensor noise R instead, and it is overconfident too, but K rises: it twitches instead of going deaf.

The failure: trusting the error bar. Symptom: a smooth track and a shrinking P, then a crash. Measure: you cannot measure it from P. Fix: a test that compares the claim with data, which is this lesson.

The road

  1. The innovation: the surprise the filter cannot fake.
  2. NIS: grade the filter with no truth (the hero's pink line).
  3. NEES: the bench test, with the truth.
  4. Whiteness: catch a wrong model.
  5. Tuning: which knob the tests point to (the hero's slider).
  6. Robust costs: survive one bad number.
  7. Showcase: a live monitor you can break.
  8. The runbook: read a log, name the fault.
  9. The field guide: numbers, terms, code and sources.
Why is an overconfident filter more dangerous than an underconfident one?

Chapter 1

The Innovation: the Number It Cannot Fake

Compare each reading with the filter's own forecast of it

If you cannot trust P, what can you trust? Each tick, the filter predicts the reading before it sees it. Call the predicted state x̂−, the matrix that maps a state to a reading H, and the real reading z. The innovation ν (nu) is the part of the reading the filter did not see coming. Lesson 5 called it y.

Say it aloud

Nu equals z minus H times x-hat-minus.

ν
nu the innovation: the surprise in this reading, in reading units such as metres.
z
z the reading the sensor just gave.
H
H the reading matrix: it picks out what the sensor sees, such as position from position and velocity.
x̂−
x-hat-minus the predicted state, before this reading.
In plain words

Map the predicted state x-hat-minus into reading units with H. Subtract it from the real reading z. The leftover is nu.

With numbers

Lesson 5's drone: predicted 110 m, H = 1, reading 115 m. ν = 115 − 110 = 5 m.

The filter also forecasts how big ν should be. Two things make a surprise: the filter's doubt about the state, P−, and the sensor's noise variance, R. Call the forecast variance of the innovation S.

Say it aloud

S equals H times P-minus times H-transpose, plus R.

S
S the innovation covariance: how spread out nu should be, in m².
H
H the reading matrix again.
P−
P-minus the predicted state covariance: the filter's doubt before the reading.
HT
H-transpose H flipped, so the doubt lands in reading units on both sides.
R
R the sensor noise variance, in m².
In plain words

Push the state doubt P-minus through H into reading units. Add the sensor noise R. The sum S is the variance the surprise nu should have.

With numbers

P− = 13 m², R = 9 m², H = 1: S = 22 m². A normal surprise is about √22 = 4.7 m, so ν = 5 m is one standard deviation: normal.

If the filter is consistent, its innovations have three signatures. Each later test checks one.

SignatureWhat to checkIf broken
Zero meanthe average of ν is near 0a bias
Spread Sν matches √S in size (Chapter 2)Q or R is wrong
Whiteone ν does not predict the next (Chapter 4)the model is wrong

Hold the surprises against S

Each pink bar is one tick's innovation. The shaded band is ±2√S, where 95% of honest surprises fall. Pick a filter.

Illustrative: the hero's target and sensor, 200 ticks. The filter computes ν and S anyway, for its gain.

None of this needs the truth. Log ν and S on every update. Every test in this lesson reads those two arrays.

The failure: a filter with no audit trail. Symptom: after a crash, nobody can say why. Measure: look for ν and S in the log. Fix: log both on every update, from day one.

A filter's innovations average +3 m and never come near zero on average. Which signature fails, and what does it suggest?

Chapter 2

NIS: Grade the Filter Without the Truth

Scale each surprise by its forecast and test the average against chi-square

To compare surprises across ticks and sensors, scale each one by its forecast size. The normalized innovation squared (NIS), written ε (epsilon), does that for a reading of any size.

Say it aloud

Epsilon equals nu-transpose times S-inverse times nu.

ε
epsilon the NIS of one tick, with no unit.
νT
nu-transpose the innovation laid on its side, so the product is one number.
S−1
S-inverse divide by the forecast spread, in every direction.
ν
nu the innovation.
In plain words

Measure the surprise nu in units of its forecast spread S, and square it. For a reading with one number, epsilon is nu squared over S.

With numbers

One number: ν = 5 m, S = 22 m², so ε = 25 / 22 = 1.14. A 2-D position: ν = (2, −1) m, S = diag(4, 1) m², so ε = 4/4 + 1/1 = 2.0.

If the filter is honest, ε follows a chi-square distribution with k degrees of freedom, where k is the number of values in one reading. Its average is k. So a healthy filter averages NIS 1 for a range reading, 2 for a 2-D position and 3 for a 3-D point.

One value is noisy: for k = 2, an honest tick lands anywhere from 0.05 to 7.4. So average N ticks. The sum of N honest values is chi-square with N·k degrees of freedom, which gives a band for the mean, ε̄.

Say it aloud

Chi-square point-zero-two-five of N k, over N, is at most epsilon-bar, which is at most chi-square point-nine-seven-five of N k, over N.

ε̄
epsilon-bar the mean NIS over the last N ticks.
χ²0.025(Nk)
chi-square point-zero-two-five of N k the value an honest sum of N NIS values falls below 2.5% of the time. N is the window in ticks; k is the reading size.
χ²0.975(Nk)
chi-square point-nine-seven-five of N k the value an honest sum exceeds only 2.5% of the time.
In plain words

Average the last N values of epsilon. Look up the two chi-square points for N times k degrees of freedom and divide each by N. If epsilon-bar sits between them, the filter is consistent.

With numbers

k = 2, N = 50: 100 degrees of freedom give 74.22 and 129.56, so the band is 1.484 to 2.591. A mean NIS of 11 is far above it: overconfident.

Grade four filters

Dots are single-tick NIS on a log scale. The pink line is the mean of the last N. Pick a filter, then drag N.

50

Illustrative: the hero's toy, k = 1, 300 ticks. Bands use the Wilson–Hilferty approximation to chi-square, within 0.1% here.

Mean NISVerdictFix (Chapter 5)
above the bandoverconfidentraise Q or R
inside the bandconsistentnone
below the bandunderconfidentlower Q or R

The failure: an alarm on one tick. Symptom: the monitor fires on a single NIS of 6. Measure: the window mean, not one value. Fix: compute the band from your own N and k; never copy 1.48 to 2.59 from another setup.

You fuse a 2-D position (k = 2). Over a long run the mean NIS is 11. What does it say, and do you need ground truth to know it?

Chapter 3

NEES: the Bench Test With the Truth

Test the whole state against the filter's claim in many simulated runs

NIS sees only what the sensor sees. A GPS reads position, so NIS checks velocity only through its effect on position. To test the whole state you need the true state. You have it in a simulator, or with a ground-truth rig such as motion capture.

Call the true state x and the estimate x̂. The estimation error e is their difference. The normalized estimation error squared (NEES), written η (eta), scales it by the filter's own claim, P.

Say it aloud

Eta equals e-transpose times P-inverse times e, where e is x minus x-hat.

η
eta the NEES of one tick, with no unit.
e
e the estimation error, one value per state.
eT
e-transpose the error laid on its side.
P−1
P-inverse divide by the claimed spread, in every direction.
x
x the true state, known only in simulation.
x̂
x-hat the filter's estimate.
In plain words

Subtract the estimate x-hat from the true state x to get e. Measure e in units of the claimed spread P, and square it.

With numbers

With made-up numbers for four states (x, y, vx, vy): e = (1.0 m, −0.5 m, 0.2 m/s, 0.1 m/s). Take P = diag(1, 0.25, 0.04, 0.04). Then η = 1 + 1 + 1 + 0.25 = 3.25, near the honest average of 4.

An honest η is chi-square with n degrees of freedom, n the number of states, so it averages n. Run the filter M times with fresh noise, a Monte Carlo test. Average η across the runs at each tick. The band uses M·n degrees of freedom: for n = 4 and M = 50 it is 162.73/50 to 241.06/50, so 3.26 to 4.82.

Run the bench test

The purple line is NEES averaged over 50 runs at each tick, on a log scale. The green band is 3.26 to 4.82. Drag what the filter is told about Q.

×1

Illustrative: the hero's toy on two axes (n = 4), 50 runs of 80 ticks, each run starting with an error drawn from the filter's first P.

NISNEES
Scalesν by Se by P
Honest meank, the reading sizen, the state size
Needs the truthnoyes
Runslive, on the robotin simulation, before you ship

The failure: a hidden state. Symptom: NIS passes in the field, yet the velocity estimate is wrong. Measure: Monte Carlo NEES in simulation. Fix: raise Q on that state, or add a sensor that sees it.

Why is NEES a simulation tool while NIS runs on the real robot?

Chapter 4

Whiteness: Catch a Wrong Model

Check whether one surprise predicts the next

A filter can have surprises of the right size and the wrong shape. If its model misses a turn, it makes the same mistake many ticks in a row. Its surprises are then correlated: today's ν predicts tomorrow's. An honest filter's innovations are white, with no memory from one tick to the next.

Measure memory with the autocorrelation. Call the gap in ticks the lag τ (tau), and the innovation at tick i νi.

Say it aloud

Rho of tau equals the sum over i of nu-i times nu-i-plus-tau, divided by the sum over i of nu-i squared.

ρ(τ)
rho of tau how strongly a surprise predicts the one tau ticks later, from −1 to 1.
Σi
the sum over i add one term for each tick in the log.
νi
nu-i the innovation at tick i, with the log's mean subtracted.
νi+τ
nu-i-plus-tau the innovation tau ticks later.
In plain words

Subtract the mean from the innovations. Multiply each nu-i by the one tau ticks later and add the products. Divide by the sum of squares, so rho of 0 is 1.

With numbers

With made-up innovations 1, 2, −1, −2 (mean 0): ρ(1) = (1·2 + 2·(−1) + (−1)·(−2)) / (1 + 4 + 1 + 4) = 2/10 = 0.2.

White noise wobbles too. With N innovations, 95% of white lags fall inside ±1.96/√N. For N = 400 that is ±1.96/20 = ±0.098. One lag outside is chance; a run of them is a pattern.

Look for memory

Bars are ρ(τ) for lags 0 to 30 over 400 innovations. The green band is ±0.098. Pick a filter.

Illustrative: the hero's filter. "Unmodeled turn" tracks a target that swings 15 m each way every 40 s with the honest Q, so the model misses the swing.

Shape of ρ(τ)Likely cause
One spike at lag 0healthy
Slow positive tailthe filter under-reacts: gain too low, or a missing state
Negative at lag 1the filter over-reacts: gain too high
A wave, up then downan unmodeled periodic motion, such as a turn

The failure: a lagging track that passes NIS. Symptom: the estimate trails each maneuver. Measure: ρ(τ) over the last N ticks. Fix: add the missing state or motion mode.

A filter passes NIS, but ρ(1) = 0.5 and ρ(2) = 0.35, far outside ±1.96/√N. What is wrong?

Chapter 5

Tuning: Which Knob the Tests Point To

Read NIS and the lag-1 correlation together to name Q or R

Every Kalman-family filter has two noise knobs. Q says how far the real motion strays from the model each tick. R says how noisy the sensor is. Too small a value of either makes the filter overconfident, so NIS alone cannot say which one.

The sign of ρ(1) can. If the filter under-reacts, it keeps making the same error, so ρ(1) is positive. If it over-reacts, it overshoots and corrects back, so ρ(1) is negative. NIS gives the size of the claim; ρ(1) gives the size of the gain.

ρ(1) > 0: under-reactsρ(1) < 0: over-reacts
NIS above the bandQ too small: raise QR too small: raise R
NIS below the bandR too large: lower RQ too large: lower Q

Tune by the tests

The dot plots mean NIS (up) against ρ(1) (across). Move it into the green box. The corner labels name the knob.

×1
×0.25

Illustrative: the hero's toy, three runs of 600 ticks pooled. The box is the 95% band for the mean NIS and ±1.96/√N for ρ(1).

A worked loop, from long runs of the same toy:

  1. R told ×0.25: mean NIS 3.5, ρ(1) = −0.13. Too sure, and over-reacting: R is too small.
  2. Double R, to ×0.5: NIS 1.86, ρ(1) = −0.07. Closer.
  3. Double again, to ×1: NIS 1.00, ρ(1) = 0.00. Stop.

Change one knob at a time and re-test. Two rows sit outside the table. A wave in ρ(τ) means a wrong model: fix the model. High NEES with a passing NIS means a state the sensor cannot see.

The failure: the noise hack. Symptom: a tracker lags each turn, so someone raises Q until NIS passes, and the track turns noisy on straight roads. Measure: run whiteness before you touch Q. Fix: model the turn, for example with a coordinated-turn model.

Mean NIS is well above its band and ρ(1) is strongly positive. Which knob do you turn?

Chapter 6

Robust Costs: Survive One Bad Number

Cap the pull of a gross outlier, or switch it off

The noise tests assume every reading is honest noise. A gross outlier is not. Examples: a GPS fix bounced off a building, a wrong data association (Lesson 12), a false loop closure (Lesson 17).

Least squares minimizes the sum of squared residuals r, the gaps between each reading and the fit, so one big residual dominates. Fit one value to 10, 11, 9, 12 and 90: the mean is 26.4, though four readings say about 10.

A robust cost grows slower than r² for big residuals. Solve it by IRLS, iteratively reweighted least squares: weight each residual, fit, recompute the weights, repeat. The Huber cost, ½r² inside a threshold δ (delta) and a straight line outside, gives this weight:

Say it aloud

W of r equals the smaller of 1 and delta over the absolute value of r.

w(r)
w of r the Huber weight of one residual, from 0 to 1.
min
the smaller of take whichever of the two values is lower.
δ
delta where honest noise ends, often 2 to 3 standard deviations.
|r|
the absolute value of r the residual's size, sign removed.
In plain words

If the residual r is within delta, keep weight 1. If it is bigger, use weight delta over r, so its pull stops growing.

With numbers

δ = 3: r = 1 gives w = 1; r = 30 gives 0.1; r = 90 gives 0.033. On the five readings IRLS settles at 11.25, with the 90 at weight 0.038.

Huber never lets go. Dynamic covariance scaling (DCS) scales a constraint by a factor s with a tuning scale Φ (phi), and its cost term by s²:

Say it aloud

S equals the smaller of 1 and two phi over phi plus r squared.

s
s the DCS scale of one constraint, from 0 to 1. Its square multiplies the cost term.
min
the smaller of take the lower value.
Φ
phi the squared residual where suspicion starts.
r²
r squared the constraint's squared residual.
In plain words

If r squared is below phi, s is 1. Above phi, s falls like two phi over r squared, and the weight s squared falls much faster.

With numbers

Φ = 9: r = 1 gives s = 1. r = 30 gives s = 18/909 = 0.020, so weight s² = 0.0004. On the five readings IRLS settles at 10.50.

Pull the outlier

Drag the outlier. Yellow is least squares, solid teal is Huber, dashed teal is DCS. Switch fits on and off.

35

Illustrative: 14 points on the line y = 2 + 1.5x with noise of 0.8, one pushed up by the slider. Both robust fits run 30 rounds of IRLS from the least-squares line.

DCS is the closed-form answer of switchable constraints (Sünderhauf and Protzel, 2012), which give each loop closure an off switch. Agarwal and colleagues (2013) showed the best switch value is s, so DCS needs no extra variables.

Cheaper still, the gate of Lessons 5 and 12 skips a reading whose NIS is above a threshold. For k = 1, a gate at 9 is 3 standard deviations; for k = 2, the 99% point is 9.21.

The failure: one false loop closure. Symptom: the map folds. Measure: the largest normalized residuals after the solve. Fix: gate first, then a robust kernel.

Fitting one value to 10, 11, 9, 12 and 90, why does least squares give 26.4 while Huber gives about 11?

Chapter 7

Showcase: Catch Overconfidence Live

Run a filter and its monitor side by side, then break it four ways

Here the filter and its monitor run together. The top panel is what the filter shows you. The bottom panel is the test. The read-out also prints the real error, which only the simulator knows.

Run the monitor

Top: the estimate's error from the true path, with its claimed ±2σ band. Bottom: NIS per tick and its mean over 50 ticks against the green band. Press Run, then turn the knobs.

×1
×1

Illustrative: the hero's toy, 20 ticks a second of simulated time. Glitches add 25 m to one reading in 40. The gate skips a reading whose NIS is above 9; after 10 skips in a row the filter restarts from the reading.

Run these four tests and check each prediction:

  1. Q ×0.01. The band thins, the error wanders, and the NIS mean climbs to about 4.7, far above 1.43.
  2. R ×0.1. The band thins again, but the track twitches: NIS near 8, ρ(1) negative.
  3. Honest knobs, Glitches on. Single NIS spikes near 100 jolt the track.
  4. Gate at 9 on. The gate skips the spikes, and the track stays calm.

In every broken case the top panel looked as calm as before, or calmer. Only the bottom panel told the truth, from numbers the filter already had.

The failure: a gate on an overconfident filter. Symptom: with Q ×0.01 and the gate on, honest readings get rejected and the error grows. Measure: the share of readings rejected. Fix: fix Q first; a gate is for glitches, not for bad tuning.

In the monitor, which panel tells you the filter is overconfident, and why?

Chapter 8

The Runbook: Read a Log, Name the Fault

Run the tests in order so each one rules out a class of cause

The call comes: the estimate flew off mid-mission. Do not guess. Pull the log of ν and S and run four tests. Each one rules out a class of cause.

Diagnose the log

Top: the innovations of one log against ±2√S. Bottom: four tests, green for pass and red for fail. Pick a log.

Illustrative: 400 ticks of the hero's toy. Mean test: |mean ν| under 1.96√(S/N). NIS: the 95% band. White: ρ(1) inside ±0.098 and under 10% of lags 1 to 20 outside it. Spikes: at most 2 ticks with NIS above 9.

  1. When did the NIS mean leave its band? Match the time to events: a tunnel, a dropout, a sharp turn.
  2. Mean of ν near the onset. Not zero: a bias, such as a drifted sensor or a frame offset.
  3. Spikes. One huge accepted ν: an outlier got through. Tighten the gate; add a robust cost.
  4. Whiteness. A wave: a missed motion. A tail: under-reacting. Negative lag 1: over-reacting.
  5. Size. White but too big or too small: tune Q or R by Chapter 5.
  6. NIS fine but the estimate wrong: Monte Carlo NEES. A state the sensor cannot see is drifting.

Two faults need a second sensor to show. A calibration or time-sync error (Lesson 15) makes innovations near zero at rest and large in motion. Plot |ν| against turn rate: a rising slope points to calibration, not noise.

The failure: tuning before testing. Symptom: Q goes up, NIS passes, the fault stays. Measure: run the six steps first. Fix: turn only the knob a test names.

NIS was healthy until one enormous accepted innovation at t = 300 s, and everything went wrong after it. What is the likely cause and fix?

Chapter 9

The Field Guide

Keep the tests, their numbers, the runbook and the core code on one page

A filter's covariance is its claim; the tests check the claim against data. Log ν and S. Watch NIS live and run NEES on the bench. Use whiteness and the sign of ρ(1) to tell a wrong model from a wrong Q or R. Gate glitches and add a robust cost.

The numbers

TestEquationWorked numbers
Innovationν = z − H x̂−115 − 110 = 5 m
Its covarianceS = H P− HT + R13 + 9 = 22 m²
NISε = νT S−1 ν25 / 22 = 1.14; honest mean k
NIS bandχ²(Nk) quantiles / Nk 2, N 50: 1.484 to 2.591
NEESη = eT P−1 en 4, M 50: 3.26 to 4.82
Whitenessρ(τ), band ±1.96/√NN 400: ±0.098
Huberw = min(1, δ/|r|)δ 3, r 30: 0.1
DCSs = min(1, 2Φ/(Φ + r²))Φ 9, r 30: s 0.020, weight 0.0004
Gateskip if ε > γk 1: 9; k 2 at 99%: 9.21

The terms

TermMeaning
ConsistentErrors average zero and their spread matches P.
Innovation νThe reading minus the filter's forecast of it.
SThe forecast variance of the innovation.
NISThe innovation squared in units of S; honest mean k.
NEESThe true error squared in units of P; honest mean n.
WhiteNo memory from one innovation to the next.
Robust costA cost that caps the pull of a big residual.
GateSkip a reading whose NIS is too large to be honest.

The checklist

  1. Log ν and S on every update; log x, x̂ and P in simulation.
  2. Run Monte Carlo NEES before you ship.
  3. Watch the windowed NIS live against the band for your N and k.
  4. Check whiteness before you tune anything.
  5. Pick Q or R from the NIS and ρ(1) table; one knob at a time.
  6. Gate by NIS; add Huber or DCS for what slips through.

The core as code

pythonimport numpy as np
from scipy.stats import chi2

def nis(nu, S):                            # nu^T S^-1 nu; solve is stabler than inv
    return float(nu @ np.linalg.solve(S, nu))

def band(k, N, conf=0.95):                 # the band for the mean of N values
    a = (1 - conf) / 2
    return chi2.ppf(a, N * k) / N, chi2.ppf(1 - a, N * k) / N

def acf(nu, L=20):                        # whiteness: rho(0..L)
    c = nu - nu.mean(); d = c @ c
    return np.array([c[:len(c) - t] @ c[t:] / d for t in range(L + 1)])

def verdict(eps, nu):                      # scalar readings, k = 1
    lo, hi = band(1, len(eps)); m = np.mean(eps); r1 = acf(nu, 1)[1]
    if lo <= m <= hi: return "consistent"
    if m > hi: return "raise Q" if r1 > 0 else "raise R"
    return "lower R" if r1 > 0 else "lower Q"

def huber_w(r, d=3.0):  return np.minimum(1.0, d / np.maximum(np.abs(r), 1e-12))
def dcs_w(r, phi=9.0):  return np.minimum(1.0, 2 * phi / (phi + r * r)) ** 2

band(2, 50)                                  # (1.484, 2.591)

Where it runs

SystemToolWhat it catches
PX4 EKF2 autopilotinnovation test ratio: NIS over the gate squared, reject above 1bad GPS, barometer or magnetometer readings
Car multi-object trackerschi-square gate and per-track NISwrong associations, diverging tracks
g2o, GTSAM, CeresHuber, Cauchy and DCS robust kernelsfalse loop closures
Navigation validationMonte Carlo NEESoverconfidence before deployment

Keep going

The takeaway. You build a fuser with Lessons 1 to 20. You trust it only when its innovations are zero-mean, white and sized like S.
Why do these tests close the series instead of a new filter?

Now press Present or Teach and explain, from memory, why NIS climbs when Q is too small and which way ρ(1) leans. Then go back to the hero, drag Q to ×0.01, and read the NIS before you read the band.

Sources

  1. Y. Bar-Shalom, X.-R. Li and T. Kirubarajan, Estimation with Applications to Tracking and Navigation, Wiley, 2001: NIS, NEES and the chi-square consistency tests. Wiley
  2. T. Kailath, "An Innovations Approach to Least-Squares Estimation, Part I," IEEE Transactions on Automatic Control 13(6), 1968: the innovations of the optimal filter are white. doi
  3. N. Sünderhauf and P. Protzel, "Switchable Constraints for Robust Pose Graph SLAM," IROS 2012. doi
  4. P. Agarwal, G. D. Tipaldi, L. Spinello, C. Stachniss and W. Burgard, "Robust Map Optimization Using Dynamic Covariance Scaling," ICRA 2013. doi
  5. K. MacTavish and T. D. Barfoot, "At All Costs: A Comparison of Robust Cost Functions for Camera Correspondence Outliers," CRV 2015. doi
  6. PX4 Autopilot, "Using the ECL EKF": innovation test ratios and gates. docs.px4.io
Sensor Fusion: Classical to Modern · Lesson 21: Debugging and Consistency
Previous: Learned and Differentiable Filters · Next: The Sensor Fusion Atlas · Back to Gleams