Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Book2026
← ROS 2 for Agricultural RoboticsChapter 21

Bring a Real RPLIDAR S2 into the ROS Graph

InstructorDr. Redmond R. Shamshiri
AffiliationAssistant Professor of Robotics · University of Southern Denmark (SDU)
Study time35 minutes
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 Bring a Real RPLIDAR S2 into the ROS Graph. 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: Bring a Real RPLIDAR S2 into the ROS Graph

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: Bring a Real RPLIDAR S2 into the ROS Graph.

  • 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
    Book source: ROS 2 for Agricultural Robotics

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

    Open ↗
  • Reading
    Fox, Burgard and Thrun: The Dynamic Window Approach

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

    Open ↗