Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

State Estimation and Tracking

Gate candidates before correcting the tracked position

Coding challenges

Another part appears inside the gate

Botie can already continue without a missing camera reading. Now the camera returns several positions, and more than one may belong to the tracked part. Reuse the missing-observation path when the available evidence cannot resolve that choice.

BOTIE

Both 10.5 m and 9.5 m pass around a prediction of 10 m. Why must the exact-one rule leave the camera update unused?
The inputs we are comparing

Predicted mean/variance record

Same in both cases

mean
10
variance
1

Candidate positions in m at this time

One compatible detection

  1. 010.5
  2. 120

Two nearby candidates are ambiguous

  1. 010.5
  2. 19.5

Common candidate measurement variance in m²

Same in both cases

1

Maximum normalised squared innovation

Same in both cases

4
Result for one compatible detection
mean
10.25
variance
0.5
Choose an explanation to test
A more uncertain prediction accepts a larger raw displacement

This check uses the pieces from “Put compatibility and ambiguity before the correction”.

BOTIE

The predicted mean is 0 m with variance 4 m². Camera candidates are [-2, 10] m, each with measurement-error variance 1 m². The squared-distance threshold is 1. Predict the final estimate after deciding which candidate, if any, can be used.
Predicted mean/variance record
mean
0
variance
4
Candidate positions in m at this time
  1. 0-2
  2. 110
Common candidate measurement variance in m²
1
Maximum normalised squared innovation
1

Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.

Build a construction in the workspace above first. This case will test those pieces.

What extra evidence could distinguish two candidates without changing their positions?

Keep compatibility, identity and correction as separate decisions.

The example follows one track and gives every camera candidate the same error variance. It does not solve assignment across several tracks, use image appearance or move a physical robot.

Continue the courseA Small Covariance Can Be Confidently Wrong →