Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Course2026
← Lectures: Embedded Linux CourseModule 04

Embedded Linux Project Support 3: Raspberry Pi 4, LiDAR and Robot Sensing

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 Embedded Linux Project Support 3: Raspberry Pi 4, LiDAR and Robot Sensing. 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 braking distance and collision margins 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: Embedded Linux Project Support 3: Raspberry Pi 4, LiDAR and Robot Sensing

Define the input, measured output, units and pass/fail condition before running the experiment.

Braking distance and collision margins

Avoidance must respect sensing range, latency, braking capability and robot footprint. An attractive collision-free path can still be unsafe if the robot cannot stop before the obstacle. Evaluate dynamic obstacles separately from a static geometric map.

Model, units and assumptions

\[d_{stop}=v\tau+\frac{v^2}{2a_b}+d_{margin}\]

v is current speed, τ is total sensing/decision/actuation delay, ab is a positive conservative braking deceleration, and dmargin covers uncertainty and footprint conventions. This one-dimensional model assumes constant deceleration after the delay.

Worked engineering example

At v = 0.6 m/s, τ = 0.2 s, ab = 0.5 m/s² and margin = 0.15 m, stopping clearance is 0.63 m. Doubling speed makes the braking term four times larger.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Embedded Linux Project Support 3: Raspberry Pi 4, LiDAR and Robot Sensing.

  • Measure stopping distance at several speeds on the actual surface.
  • Add a delayed-sensor test in simulation before testing an obstacle physically.
  • Log nearest obstacle distance and remaining stopping margin for every command.

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 0.4 m/s, delay 0.1 s, braking 0.8 m/s² and margin 0.1 m, find stopping clearance.

Show worked answer

0.04 + 0.10 + 0.10 = 0.24 m under the stated assumptions.

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

Summary

Braking distance and collision margins: 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
    Fox, Burgard and Thrun: The Dynamic Window Approach

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

    Open ↗