Skip to content
Tactiverge

Learning Rooms/○ Level 3 · Innovator/Robotics and control

Why Use Kalman Filters? | Understanding Kalman Filters, Part 1

MATLAB · 6 min 47 s · captions on YouTube · nothing loads until you press play

By the end you can…

  • Run the predict and update steps of a one-dimensional estimator by hand.
  • Explain the roles of process noise Q and measurement noise R.
  • Evaluate an estimator against ground truth in simulation using RMSE and a consistency check.
?Predict▶Watch✓Practise⚙Build

Watch it all: no segment has been checked by hand for this video yet.

1.Predict before you press play

During a dust storm the camera fix is unavailable for 5 steps in a row. What happens to the filter's variance P?

Pick one before you press play. A wrong guess is fine: it is what makes the video stick.

2.See the idea first

Play with this diagram for a minute. It gives you something to hang the video on.

Loading the interactive…

Can't use the diagram? Read a description instead

The Kalman stepper plots truth, landmark fixes and the estimate with a ±2σ band over 20 steps. Each button press updates a text readout with the estimate, σ, truth, error and gain.

3.Watch, actively

Builds intuition for estimating what you can't measure directly when your sensors are noisy.

6 min 47 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

Watch for…

  • → Listen for the two reasons given for a filter: noisy measurements, and quantities you cannot measure at all.

Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.

Can't stream it? Read the idea instead

Sensors are noisy, and some quantities cannot be measured directly at all. A Kalman filter combines a model's prediction with each new measurement, weighting each by how much it can be trusted, to estimate the true state better than either alone.

What the video covers (our own note, written when we verified it): Builds intuition for estimating what you can't measure directly when your sensors are noisy.

Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.

Jot down one thing that surprised you and one question you still have.

Private: saved only on this device, never sent to Tactiverge.

4.Practise what you just saw

These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.

Practice 1

A filter has P = 0.4 m² after an update. Q = 0.3 m² per step. With no fixes for 6 steps, what is P, in m²?

m²

Practice 2

In simulation, the true position leaves the filter's ±2σ band on 40% of steps. The most likely problem is…

Practice 3 · a fresh version every time

After predicting, a 1-D Kalman filter's variance is P = 1 m². The camera measurement variance is R = 2 m². What is the Kalman gain K?

Practice 4 · a fresh version every time

A rover's estimate is x = 10 m with variance P = 1 m². It drives u = 1 m (process noise Q = 2 m²), then a landmark fix reads z = 10 m with R = 3 m². After predict and update, what is the new estimate x, in m?

m

6.Build something with it

Follow-up project

In the stepper, run 20 steps in dusty conditions with Q = 0.2 and R = 1. Record the error and √P at each step and compute the fraction of steps where |error| < 2√P. Repeat with Q set ten times too small (in your head, the filter's Q, not the truth's). What changes?

Where this video lives

In the course catalogue: ROB-510 Autonomous navigation

The video is by MATLAB, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.