3 Mobile Robot Kinematics and the Perception-Action Loop — Part 2
More
Depth: Practitioner
Progress saves as you read. Mark sections complete as you go; your progress appears in the sidebar.
- Podcast audio coming soon
- Character narration audio coming soon
This is part 2 of 2. Begin with Part 1.
3.1 Under the Hood: Rotate Frames, Respect Constraints, Plan Curvature
Body-frame motion becomes world-frame motion by rotating the translational axes through heading :
↔ Scroll the equation horizontally to inspect the complete body-to-world mapping.
Use Figure 3.1 to read the translational rows of the rotation equation. Start at the axle centre, then turn from floor through to the robot’s forward axis. Follow the arrow and trace the dashed guides from its tip to the floor axes. The horizontal projection is and the vertical projection is . Both describe motion along the same forward arrow from the floor’s point of view. Check the lateral body axis at the axle centre to see the instantaneous constraint .
Top-down view of a forward velocity. Use one third of the quarter-turn in the heading check, . The floor and body axes share the origin at the tail of the velocity arrow. The sketch shows directions and projections, with the angle drawn schematically.
The axis points along , at counterclockwise from floor . The body lateral axis points a quarter-turn left of , and the velocity along it is zero. From the tip of , read straight down to floor and straight across to floor to get the two floor components.
The inverse rotation gives and , but it does not erase the mechanism’s constraint. A commanded world velocity must still satisfy:
Check the earlier motion request at heading : , , and . Substitution gives , so the request satisfies the no-sideways-motion constraint.
That equation is why an apparently simple pose-error controller cannot independently command arbitrary and for a differential drive. The planner must produce a curve whose tangent follows the robot’s heading.
Check the same motion at .
- Project the forward speed onto the world axes. Use and to get and . The yaw rate is still .
- Rotate back to recover the body forward speed. Substituting the world components gives and .
- Check the lateral residual, the velocity left over along the body sideways axis. Here , so the command requires no sideways motion.
Predict. A differential-drive robot faces , a quarter-turn counterclockwise from positive world . Which velocity points straight ahead?
- Positive world velocity.
- Positive world velocity.
Positive world velocity. At , the no-sideways-motion constraint becomes , or , so . The body-frame forward speed is . In the heading-zero example above, positive world was body-forward.
See Worked example 1: Bezier curvature and wheel limits to follow the calculation from a path’s curvature to the wheel rates and check them against the cap.
3.1.1 Goal Poses and Cubic Bezier Curves
A goal pose specifies both a destination and the heading required there. A cubic Bezier path offers one construction. Let be the current position and the goal. Choose positive control-point distances and and place the inner points along the current and goal headings:
Suppose an indoor sensor rover starts at with heading and has goal with heading . Choose and assume headings are measured from the positive -axis. With and , the departure offsets are and . Thus . With and , . Check the endpoint directions: points at , while points at . These endpoint directions do not establish obstacle clearance or actuator feasibility.
The curve now leaves along the current orientation and arrives along the target orientation. Its curvature and a chosen forward-speed schedule together supply the turn-rate schedule. This does not automatically make every choice of and safe: curvature, wheel-speed, obstacle-clearance, and acceleration limits still have to be checked.
The Bernstein form blends the four control points as the path parameter runs from at the start to at the goal:
Differentiating with respect to and grouping the terms by consecutive point differences gives
At only the first term survives, giving . At only the last term survives, giving . These vectors point along the start and goal headings.
Signed curvature measures how much the tangent heading changes per metre travelled along the curve. Write , with primes denoting derivatives with respect to . The tangent heading is . Differentiating this angle gives . Arc length increases at . Dividing the heading change by the distance change gives
This formula requires a nonzero tangent . At forward speed , the yaw rate is .
Worked example 1. Bezier curvature and wheel limits
- Use control points , , and , in metres. Substitution in the Bernstein form gives and .
- At , the derivatives are , , and . The curvature is .
- At , . With and , inverse kinematics gives on the left and on the right. The right wheel exceeds an illustrative cap.
Bezier path walkthrough
- Mark the start at and the goal at from the worked example. Draw the start heading along positive and the goal heading along .
- Place ahead of the start along its heading and back from the goal along its heading. Trace the curve from to and check that the endpoint tangents follow the heading arrows.
- Move along the start heading to , keeping the poses, wheel geometry, forward speed and wheel cap fixed. The endpoint tangents still follow the same directions. In the Bernstein formula, the extra adds to the coordinate. Thus and as before.
- Find where the turn changes direction. The derivatives are , , and . The numerator of the curvature is . It crosses zero at . The curvature has the same sign as this numerator because stays positive and the tangent therefore has nonzero length.
- Mark the wheel-limit violations on the moved curve. With zero curvature, both wheels are already at the cap, . From up to but excluding , the curvature is positive and the right wheel exceeds the cap. After through , the curvature is negative and the left wheel exceeds the cap. At both wheel rates equal the cap.
3.1.2 Compare Models by State and Control Rank
| Platform | Pose state | Independent inputs | Key constraint |
|---|---|---|---|
| Differential drive | : 3 DOF | Forward and angular velocity: 2 independent inputs | No instantaneous lateral velocity |
| Bicycle model | : 3 DOF | Speed $v$ and steering angle : 2 independent inputs | couples turning to forward motion |
| Quadrotor | Position plus roll, pitch, yaw: 6 DOF | Collective thrust and three body moments: 4 independent inputs | Translation and attitude are dynamically coupled |
Suppose an IoT delivery rover follows the bicycle model with wheelbase , forward speed , and steering angle . Assume no sideways slip; wheelbase is the distance between the front and rear axles. First, . Then . Divide by wheelbase: . Check with the turning radius : .
Calculate the bicycle yaw rate. In the no-slip model above, use speed , steering angle , and wheelbase . Since , the yaw rate is .
Differential-drive and bicycle models have non-holonomic no-side-slip constraints. Recall the turn-and-drive example in Degrees of Freedom and Controllability: a differential drive can reach a position beside its start over time (Modern Robotics, ch. 13). The quadrotor is underactuated: its four independent inputs cannot command all six pose coordinates independently at an instant. The three body moments change its attitude. When the quadrotor tilts, its collective thrust gains a horizontal component that accelerates it horizontally (Lee, Leok, and McClamroch, Geometric Tracking Control of a Quadrotor UAV on SE(3)). These are different limits on motion and actuation. Their equations differ because their mechanisms differ. Reusing a differential-drive controller on a bicycle or quadrotor is a model mismatch.
Two-wheel motion from above
| View | What the robot can do |
|---|---|
| At one instant | Point the robot along its forward axis. It can roll forward or backward along that axis and yaw left or right. Mark the sideways arrow with a cross because the robot cannot roll along it. |
| Over several moves | Picture a goal beside the start, facing the same way. Turn in place to face the goal, drive straight to its position, then turn in place to match its heading. |
See why the tempting answer fails.
-
Wrong idea: planning a curved path adds an actuator. The crossed-out extra motor illustrates the mistake: a plan must work with the mechanism's existing controls.
The strip shows an arm and marks an extra motor with a cross. It warns against assuming that a plan adds a motor to the machine. A path is a proposed way to move; it does not change the controls already fitted to the robot. For a two-wheel robot, the plan must respect the limit on sideways motion. The robot can turn and then move along a curve, but it cannot slide sideways at once just because a path asks it to.
Follow Figure 3.2 from the panel showing motion at an instant. The green arrow follows the base’s heading, the curved arrow shows rotation about its centre, and the crossed arrow marks zero sideways velocity in the body frame. In the route panel, start with the same heading and turn in place using equal and opposite wheel speeds. The dashed outline at the start shows the base facing the goal. Follow the straight arrow using equal forward wheel speeds. The dashed outline at the goal shows the base on arrival, still facing along the straight segment. Then reverse the first pivot at the goal. The final heading matches the start, and the sideways displacement comes from forward travel after the turn.
3.2 Summary
Follow a motion request around the loop. Sensors observe the robot and its surroundings. An estimate describes the state, and a decision selects a feasible motion. The actuators move the robot, which is then measured again. Kinematics links wheel speeds to ideal motion. The independent inputs describe what can be commanded at once. Controllability concerns which states can be reached over time using admissible inputs. Feedback shows where real motion differs from the model.
- The perception-action loop connects sensing, estimation, decision-making, and physical action.
- Proprioceptive/exteroceptive and passive/active are separate sensor-classification axes.
- A differential drive has three planar pose coordinates but only two independently controllable instantaneous motions.
- Forward kinematics predicts motion from wheel speeds; inverse kinematics maps feasible body motion back to wheel commands.
- Closed-loop following repeatedly measures and replans because kinematics alone cannot remove disturbance or uncertainty.
3.3 Key Takeaway
A mobile robot needs a motion model that reflects its limits.
State what the robot can measure and command, and which motions it cannot make. Use feedback to guide the next command.
3.4 See Also
Use the linked chapters to follow the contract in either direction. The actuator chapters move downward from body motion to mechanisms and motor commands; Braitenberg vehicles show a compact perception-to-action loop; unmanned aerial vehicle (UAV) control shows how a different platform changes the feasible-motion model. The control-architecture chapter then moves upward from kinematics to the rules, behaviors, and plans that choose each command.




