Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Course2026
← Lecture_Practical_Mobile_RobotsModule 02

Why Robots Won’t Drive Straight: Diagnose the Drift | Practical Robotics 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 Why Robots Won’t Drive Straight: Diagnose the Drift | Practical Robotics 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 differential-drive kinematics 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: Why Robots Won’t Drive Straight: Diagnose the Drift | Practical Robotics 02

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

Differential-drive kinematics

Wheel velocities produce forward and yaw motion. The ideal planar model assumes rolling without lateral slip. Field terrain, compliant tires and skid steering can violate that assumption, so odometry needs independent validation.

Model, units and assumptions

\[v=\frac r2(\omega_R+\omega_L),\qquad \dot\theta=\frac r b(\omega_R-\omega_L)\]

r is effective wheel radius in metres; b is wheel separation in metres; wheel angular velocities are rad/s with forward rotation positive on both sides. Track width is an effective parameter for skid-steer platforms.

Worked engineering example

For r = 0.05 m, b = 0.25 m, ωR = 6 rad/s and ωL = 4 rad/s, v = 0.25 m/s and yaw rate = 0.4 rad/s. A positive right-minus-left difference turns the heading counterclockwise in the standard planar convention.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Why Robots Won’t Drive Straight: Diagnose the Drift | Practical Robotics 02.

  • Verify left/right sign and encoder scale with wheels raised and drive power limited.
  • Command a slow straight segment and compare encoder distance with a measured floor distance.
  • Repeat a rotation on two surfaces and record the change in effective track behavior.

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. For r = 0.1 m, b = 0.4 m and wheel speeds +2 and −2 rad/s, find v and yaw rate.

Show worked answer

v = 0; yaw rate = 1 rad/s if the right wheel is +2 rad/s.

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

Summary

Differential-drive kinematics: 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
    ROS 2 concepts and tutorials

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

    Open ↗