GLOBAL KNOWLEDGE ARK

Robotics & Mechatronics · Mobile robot physical systems

Implement a supplied mobile motion interface

A mobile base command usually names body motion while drives receive wheel commands. Apply the supplied mapping, check signs and units, and inspect what saturation does to the intended motion.

All numerical tables, scenarios and records are original constructed teaching data unless a specific external dataset is named. No physical experiment is claimed. A worked simulation model is distinguished from an executed simulator.

Lesson preparation and course links

Use the local explanations and supplied units, diagrams, tables and examples; advanced chapters build on the named local chapters. External links are point-of-need depth, not a requirement to finish an entire map.

Back to the Robotics chapter

After reading, you can

Map declared body-motion commands to a given wheel command model and verify sign, units and saturation without deriving a competing planning or localisation lesson.

01

Use the provided body-to-wheel interface

For the given differential-drive platform, v_R=v+bω/2 and v_L=v−bω/2. Body forward speed v is in m/s, yaw rateω in rad/s, track b=0.30 m and wheel radius r=0.05 m. Wheel angular commands are v_R/r and v_L/r. The model is supplied; general derivation and planning remain with AI. This is separate nominal configuration MC1. The preceding calibration example yields a different effective radius; do not mix those parameter records. The mobile capstone explicitly selects calibrated M2.

Positive forward and positive counterclockwise yaw follow the declared robot convention. Confirm wheel wiring/sign mappings separately: a positive right-wheel angular command must correspond to forward ground-relative wheel motion in this interface.

02

Check elementary commands

All values are exact evaluations of the supplied model.

Check elementary commands
Body requestRight wheel / (rad/s)Left wheel / (rad/s)
v=0.20 m/s, ω=044
v=0, ω=1 rad/s3−3
v=0.20 m/s, ω=1 rad/s71
03

Choose the supported limiting semantics

With a stipulated 6 rad/s wheel limit, the mixed request 7 and 1 is not executable unchanged. Independent clipping gives 6 and 1. Through the inverse supplied mapping, body v=r(6+1)/2=0.175 m/s andω=r(6−1)/b≈0.8333 rad/s. The ratioω/v changes.

A common scaling factor 6/7 gives wheel commands 6 and 6/7 rad/s, preserving their ratio and yielding v≈0.1714 m/s andω≈0.8571 rad/s. That preserves curvature in this ideal model while slowing the task. It is only appropriate if the documented controller/task contract supports that behaviour. Silent limiting must be visible in the record.

04

Observe execution as well as mapping

Retain body request, transformed wheel request, post-limit values, measured wheel state and independent platform motion. Command-derived open-loop odometry is not an independent physical observation. Even correct wheel speeds can coexist with slip or wrong effective geometry.

Use forward, turn and mixed cases in supplied replay or simulation, then an independent physical route if authorised equipment is available. A sign or unit defect should be closed before a more complex task.

Check the mixed-motion arithmetic

For v=0.20 andω=1, bω/2=0.15 m/s. Right path speed 0.35 m/s divided by 0.05 m gives 7 rad/s; left 0.05/0.05=1 rad/s.

A wrong millimetre/metre radius entry of 50 instead of 0.05 would divide by a number 1000 times too large. Retain units alongside each value; do not interpret the weak resulting movement as a tuning issue.

Try the reasoning

  1. What wheel commands produce a pure positive turn under this model?

    Show the answer and reasoning

    Right+3 rad/s and left−3 rad/s forω=1 rad/s.

  2. Does independent wheel clipping preserve curvature?

    Show the answer and reasoning

    Generally no; the supplied mixed case changesω/v.

  3. Why record post-limit commands?

    Show the answer and reasoning

    They establish what was actually requested from the drives after limiting, which may differ from the body task.

  4. Is command-based odometry independent evidence of travel?

    Show the answer and reasoning

    No. It can repeat the requested motion without observing slip or failed execution.

What to carry forward

Check the supplied mapping at simple cases and make limiting visible. Body commands, wheel requests and platform observations are separate records.

References

Sources supporting this lesson’s explanations and examples.

  1. Modern Robotics, 13.1: Wheeled Mobile RobotsKevin M. Lynch, Frank C. ParkTextbook video supplement and transcriptChapter 13.1 online transcriptmodernrobotics.northwestern.eduRead source
  2. ros2_controllers: diff_drive_controllerros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentationcontrol.ros.orgRead source
  3. REP 103: Standard Units of Measure and Coordinate ConventionsTully Foote, Mike PurvisOfficial informational specificationCreated 7 October 2010; post-history 31 December 2014ros.orgRead source