Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Course2026
← Sensor Fusion for Robotics: Kalman Filters, Python and Real DataModule 02

Prepare Sensor Data: Timestamps, Units and Synchronization | Sensor Fusion 02

InstructorDr. Redmond R. Shamshiri
AffiliationAssistant Professor of Robotics · University of Southern Denmark (SDU)
Study time35 minutes
Watch & study

Lecture video

Open on YouTube ↗

Video unavailable here? Watch on YouTube. Captions and playback speed are available in the player.

Study companion. These editable notes, worked examples and exercises supplement the source material. They are not a verbatim video transcript or a reproduction of the book.

Study Prepare Sensor Data: Timestamps, Units and Synchronization | Sensor Fusion 02. 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 timing, throughput and telemetry freshness 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: Prepare Sensor Data: Timestamps, Units and Synchronization | Sensor Fusion 02

Retain original data and timestamps so later filtering or threshold changes can be evaluated fairly.

Timing, throughput and telemetry freshness

Network transport is part of the measurement chain. A packet can arrive intact and still be too old for control. Measure end-to-end age and distinguish acquisition time from arrival time.

Model, units and assumptions

\[L=t_{receive}-t_{acquire},\qquad \rho=\frac{R_{offered}}{R_{available}}\]

L is end-to-end latency on synchronized clocks; ρ is an approximate load ratio. Unsynchronized clocks make a raw latency calculation invalid. Queuing and retransmissions can cause large delays before the mean bandwidth limit is reached.

Worked engineering example

A 50 Hz telemetry stream with 200-byte payloads requires 10 kB/s of payload bandwidth. If one message is delayed by 300 ms, it represents a state 15 sample periods old.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Prepare Sensor Data: Timestamps, Units and Synchronization | Sensor Fusion 02.

  • Attach sequence numbers and acquisition timestamps.
  • Measure median, 95th-percentile and worst observed age under normal and congested conditions.
  • Specify how stale measurements are excluded or flagged.

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. At 20 Hz, how many sample periods does 250 ms represent?

Show worked answer

Five sample periods. A 20 Hz period is 50 ms.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

Timing, throughput and telemetry freshness: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Suggested Reading & Resources

  • Reading
    Raspberry Pi official documentation

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗
  • Reading
    OASIS MQTT 5.0 specification

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗