Thomas Piacentini
← Workshop

Guided lesson 04 / 10

Recover motion.

Explain the predict–correct loop and the role of motion and measurement uncertainty.

01 · Understand and consult

The idea before the settings.

The filter predicts a state using a motion model, then corrects it with a measurement. Covariance describes spread and relationships between position and velocity.

R represents uncertainty assigned to measurements; Q represents uncertainty added by motion. The gain weights the innovation, the measurement–prediction difference. Poor confidence settings can cause lag even with a good sensor.

A worked example.

Predicted position 1 m, P = 3 m², measurement 5 m and R = 1 m²: K = 3/4 = 0.75. Correction gives 1 + 0.75 × (5 − 1) = 4 m and scalar variance 0.75 m².

Read these passages from the authors.

How a Kalman Filter Works, in Pictures · Reading links open a new tab.

  1. What can we do with a Kalman filter? ↗

    Find the robot’s position–velocity vector and correlated distribution diagram. Explain why two variances do not describe the full covariance.

  2. Prediction, process noise and combining distributions ↗

    Follow propagation and measurement combination diagrams. Match F, Q and R to their laboratory roles.

If a resource fails to load, local explanations and trials remain available. You can continue and leave reading pending.

02 · Predict

Write before running.

At least 20 characters to document your hypothesis. A wrong prediction is useful: keep it and later explain what surprised you.

03 · Experiment and compare

Two trials, one question.

Each link loads prepared laboratory settings. Seeds match for randomized models. Record results and use “Keep this experiment” for each trial, then return here.

Trial A

Starting comparison.

Display 100 steps with actual and assumed noise 0.2 m. Record raw and filtered RMSE, then inspect acceleration periods.

Open trial A →

No notebook record yet.

Trial B

Change an assumption.

Keep the same sensor and sample, but assume 5 m measurement noise. Compare lag and RMSE.

Open trial B →

No notebook record yet.

Opening a trial replaces this laboratory’s current settings. Saved experiments remain in the notebook. For a controlled comparison, record A and B as given before exploring freely.

04 · Solve

Calculate for yourself.

The laboratory’s numerical challenge checks a small calculation component. Use the hint after trying; this guide helps reconstruct the reasoning.

Solve the laboratory challenge →

Challenge pending.

Continue with the Python notebook ↗

05 · Explain and check

What my trials taught me.

At least 40 characters; cite measurements and one model limitation. Your text is kept in this browser and the notebook JSON export.

My success criteria · self-assessment

The model is linear with two states and position measurements. It does not perform 3D localization or SLAM.

Next guide: Find a path →

Original ATOMSH guide. Passages and links reviewed on 9 November 2026; external interfaces may change. External courses are not imported in full.

atomsh / lab