Study Fuse Wheel Velocity and Gyro Rate with an EKF. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.
Learning Objectives
- Explain the role of kalman prediction and correction in the engineering system.
- Calculate the worked quantity with consistent units.
- Design a measurement that can reveal an implementation failure.
Study guide
Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.
Lesson focus: Fuse Wheel Velocity and Gyro Rate with an EKF
Define the input, measured output, units and pass/fail condition before running the experiment.
Kalman prediction and correction
A Kalman filter combines a process model with measurements and their uncertainty. It estimates a state and covariance; a smoother-looking trace alone is not evidence of a better estimator. Incorrect timestamps, frames or noise assumptions can produce confident errors.
Model, units and assumptions
F is transition, H is observation, Q is process-noise covariance and R is measurement-noise covariance. The linear equations assume a linear model with appropriate zero-mean noise assumptions; nonlinear models require a suitable extension.
Worked engineering example
In a scalar update with prior variance 4 and measurement variance 1, K = 4/(4+1) = 0.8. A prior position 2 m and measurement 3 m yield corrected position 2.8 m.
Practical task and evidence
Apply the following procedure to the topic of this lesson: Fuse Wheel Velocity and Gyro Rate with an EKF.
- Plot prediction, measurement, estimate and uncertainty band together.
- Change R while keeping the same dataset and compare lag against noise.
- Use a held-out reference to assess RMSE and inspect innovation bias.
Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.
Check your understanding
Question. Prior value 10, prior variance 1, measurement 14 and measurement variance 3: find K and corrected estimate.
Show worked answer
K = 0.25; corrected estimate = 11.
Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.
Summary
Suggested Reading & Resources
- ReadingBook source: ROS 2 for Agricultural RoboticsOpen ↗
Primary documentation or original technical reference; check the version used in your lab.
- ReadingWelch and Bishop: Introduction to the Kalman FilterOpen ↗
Primary documentation or original technical reference; check the version used in your lab.