Part 1 of the course, in 10 lessons, from zero: the maths you need (from scratch), how every wheel and drive works (differential, tricycle, car, omni, Mecanum, swerve, tracked), the constraints, the ICR, mobility and maneuverability, and holonomy. Every lesson has worked examples and graded exercises with hints and solutions, many checked automatically. Part 2 then takes you to the professional level: control, planning, calibration, Kalman filter, sizing, ROS 2, safety, exam and labs.
How to follow this course
The course has two parts (two pages) and four blocks. This page is part 1. You can skip a block if you already know it, but take the exercises of the lesson first: if you solve them, move on.
Part
Lessons
You will be able to…
Part 1 · A. Foundations (beginner)
1 – 4
do the maths of the course, describe the pose of a robot, and write the constraints of any wheel
Part 1 · B. Kinematics of every drive (intermediate)
5 – 10
compute the wheel speeds and the motion of differential, car, omni, Mecanum and swerve robots, and count their degrees of freedom
Part 2 · C. Control and planning (advanced)
11 – 13
drive a robot to a pose, make it follow a path, and plan feasible paths and speed profiles
Part 2 · D. Professional engineering
14 – 20
calibrate, filter, size, program, secure and test a real robot, design one from a specification, and pass the final certification
How the exercises work. Each lesson ends with exercises of three levels (beginner, intermediate, professional). For most of them you type a number and the page checks it (with a small tolerance); the others are multiple choice. The hint and the solution are hidden until you open them: always try first. Your progress is saved in this browser. Be honest with yourself: reading is not enough, you become a professional by solving, building and measuring, so do the labs of lesson 20.
1
The maths toolbox: everything you need, from zero
24 min
You will learn
to be comfortable with units, angles, vectors, matrices, speed and position, and the idea of rank. If you are a complete beginner, this is the only lesson you need before the others.
The whole course uses only six small tools. You will meet each one here, with an example and a use in robotics. If you already know them, go straight to the exercises at the end of the lesson: if you solve them, skip to lesson 2.
Tool
What it is used for in this course
Where
1. Units
wheel speed in rad/s, robot speed in m/s
all lessons
2. Angles and trigonometry
heading, steering, direction of a velocity
3 – 8
3. Vectors and the dot product
how much of a velocity is along or across a wheel
4, 9
4. Matrices
change of frame, wheel equations
3 – 9
5. Speed, position and integration
odometry: position from speeds
5, 14 – 17
6. Equations and rank
how many directions a robot can move
9, 10
1.1 Units
A number without a unit means nothing. We always compute in SI units and convert at the end:
Quantity
SI unit
Conversions you will need
length
m
1 cm = 0.01 m 1 mm = 0.001 m
time
s
1 min = 60 s
angle
rad
π rad = 180° 1 rad = 57.3°
speed
m/s
1 km/h = 1/3.6 m/s (36 km/h = 10 m/s)
angular speed
rad/s
ω = 2π n / 60 with n in rpm (revolutions per minute)
force / torque
N / N·m
1 kgf = 9.81 N
Worked example
A motor turns at 150 rpm. In rad/s: ω = 2π × 150 / 60 = 15.71 rad/s. If it drives a wheel of radius 0.05 m, the robot moves at v = rω = 0.05 × 15.71 = 0.785 m/s = 2.83 km/h. The key formula of the whole course is this one: ground speed = wheel radius × wheel angular speed.
Pitfall: degrees and radians
Calculators and code use radians in sin, cos and angular speeds. If you type 90 into a radian function you get nonsense. Rule: work in radians, and convert to degrees only to read or to display (× 180/π).
1.2 Angles and trigonometry
An angle can be measured in degrees (a full turn is 360°) or in radians (a full turn is 2π ≈ 6.283). The radian is natural because of the arc length: on a circle of radius r, an angle θ (in radians) cuts an arc of length
s = rθ
This is exactly what a wheel does: when it turns by Δφ radians, its contact point rolls a distance rΔφ on the floor. Odometry (lesson 14) is built on this single line.
Sine and cosine give the coordinates of a point on the unit circle (radius 1) at the angle θ from the horizontal axis. Remember a few values:
θ
0°
30°
45°
60°
90°
cos θ
1
0.866
0.707
0.5
0
sin θ
0
0.5
0.707
0.866
1
The reverse question, “which angle has this x and y?”, is answered by atan2(y, x). Always prefer atan2 to arctan(y/x): it knows the quadrant. Example: the vector (−1, 1) points at atan2(1, −1) = 135°, while arctan(1/−1) = arctan(−1) = −45° would point the wrong way.
1.3 Vectors and the dot product
A vector (ax, ay) is an arrow in the plane: ax to the right, ay upward. Its length is given by Pythagoras, its direction by atan2:
| a | = √( ax² + ay² ) direction = atan2( ay , ax )
A velocity of 0.3 m/s to the right and 0.4 m/s upward has a speed of √(0.3² + 0.4²) = 0.5 m/s. A unit vector pointing at the angle θ is ( cos θ , sin θ ): it is the “heading” of a robot.
The dot product of two vectors is a number:
a · b = axbx + ayby = | a | | b | cos( angle between them )
If b is a unit vector, a · b is the component of a along b: the projection. This is the tool behind every wheel equation: the robot has some velocity, and a wheel only cares about the part of it along its plane (that makes it roll) and the part across its plane (that would make it slide).
Worked example
A robot has the velocity (0.6, 0.8) m/s and its wheel points at 30° (unit vector ( 0.866 , 0.5 )). Along the wheel: 0.6 × 0.866 + 0.8 × 0.5 = 0.92 m/s (the wheel rolls at this speed). Across the wheel: the unit vector across is ( −0.5 , 0.866 ), so 0.6 × (−0.5) + 0.8 × 0.866 = 0.39 m/s. A real wheel cannot move sideways: this 0.39 m/s would be slipping. Check: 0.92² + 0.39² = 1.0 = 0.6² + 0.8² ✓.
1.4 Matrices
A matrix is a table of numbers. To multiply a matrix by a vector, take each row, multiply it term by term with the vector, and add:
abcdxy = a x + b yc x + d y
Example: ( 0 1 ; −1 0 ) times (3, 2) gives ( 0×3 + 1×2 , −1×3 + 0×2 ) = (2, −3). Each row of a matrix is a dot product: a matrix is a stack of “projections”. That is how we will write the wheel equations of many wheels at once.
Three facts are enough: the identity matrix I (ones on the diagonal) changes nothing; the inverseA−1 undoes A (A−1A = I) and exists only if the equations of A are independent; the transposeAT swaps rows and columns. The most important matrix of the course is the rotation that turns coordinates by the angle θ:
R(θ) = cos θsin θ− sin θcos θR(θ)−1 = R(θ)T = R(−θ)
1.5 Speed, position and integration
Speed is how fast the position changes: v = dx/dt (the derivative). The other way round, position is the sum of all the small displacements: x(t) = ∫ v dt (the integral). A robot only knows its wheel speeds, so it must integrate them to know its position. On a computer, we cut time in steps of Δt and use the Euler method:
xk+1 = xk + vk Δt
Worked example: how the step size matters
A robot accelerates so that v(t) = t (m/s) during 1 s. The exact distance is the area of the triangle: 0.5 m. With Δt = 0.1 s, Euler adds vk Δt for k = 0…9: 0.1 × (0 + 0.1 + … + 0.9) = 0.1 × 4.5 = 0.45 m: 10 % too small. With Δt = 0.01 s the result is 0.495 m. A smaller step gives a better answer, at the price of more computation. A 50 Hz odometry loop (Δt = 0.02 s) is typical.
1.6 Equations and rank
A linear system is a set of equations such as 1 x + 2 y + 0 z = 0. In matrix form Ax = b. The rank of A is the number of independent equations: an equation that is a multiple or a sum of the others adds nothing. With n unknowns and rank k, there remain n − k directions that are free: this is the dimension of the null space (the solutions of Ax = 0).
Worked example
Unknowns ( ẋ , ẏ , θ̇ ) of a robot. One wheel gives the equation 0 ẋ + 1 ẏ + 0 θ̇ = 0 (no sideways slip). Rank 1, so 3 − 1 = 2 free motions (move along x and turn). A second wheel on the same axle gives −1 times the same equation: the rank stays 1. A second wheel elsewhere gives 0 ẋ + 1 ẏ + 0.5 θ̇ = 0: now the rank is 2, and only 3 − 2 = 1 motion remains. This is exactly how lesson 9 counts the degrees of mobility.
To find the rank by hand, do Gaussian elimination: subtract multiples of the first row from the others to make zeros under the first number, then continue with the next row; the rank is the number of rows that are not all zeros at the end.
The essentials
Work in SI units (m, s, rad, kg) and convert at once: 1 rev = 2π rad, rpm × 2π / 60 = rad/s.
Use atan2(y, x), not atan(y / x), to get an angle in the right quadrant.
A pose is integrated from speeds step by step: x ← x + v cos θ Δt, y ← y + v sin θ Δt, θ ← θ + ω Δt.
Key terms
SI units
radian
atan2
unit vector
dot product
rotation matrix
integration (Euler)
rank / null space
Exercises
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
A motor turns at 120 rpm. What is its angular speed in rad/s?
Hint
ω = 2π n / 60.
Solution
ω = 2π × 120 / 60 = 4π = 12.57 rad/s.
Level 1 · Beginner2
A robot drives at 18 km/h. What is its speed in m/s?
Solution
Divide by 3.6: 18 / 3.6 = 5 m/s.
Level 1 · Beginner3
A wheel of radius 0.08 m makes 5 full turns without slipping. What distance does the robot travel?
Hint
5 turns = 5 × 2π radians. Then s = r θ.
Solution
θ = 5 × 2π = 31.42 rad, so s = r θ = 0.08 × 31.42 = 2.51 m.
Level 1 · Beginner4
A robot moves with ẋ = 1.2 m/s and ẏ = 0.5 m/s. What is its speed?
Solution
Pythagoras: √(1.2² + 0.5²) = √1.69 = 1.3 m/s.
Level 2 · Intermediate5
In which direction (in degrees, between −180° and 180°) does the vector (−1, 1) point? Use atan2.
Hint
The vector is in the upper-left quadrant.
Solution
atan2(1, −1) = 135°. (arctan(−1) = −45° would be wrong by 180°.)
Level 2 · Intermediate6
A robot has the velocity (0.6, 0.8) m/s and a wheel pointing at 30°. How fast does the wheel slip sideways (the component across the wheel)? Give the absolute value.
Hint
The across direction is the unit vector (−sin 30°, cos 30°). Take the dot product.
Compute the matrix product ( 0 1 ; −1 0 ) × (3, 2)ᵀ. What is the second component?
Solution
Second row times the vector: −1 × 3 + 0 × 2 = −3. (The result is (2, −3).)
Level 2 · Intermediate8
A robot has the speed v(t) = 2t (m/s) for 0.5 s. With the Euler method and Δt = 0.1 s (use v at the start of each step: k = 0…4), what distance do you get?
Hint
v_k = 0.2 k. Sum v_k × 0.1.
Solution
0.1 × (0 + 0.2 + 0.4 + 0.6 + 0.8) = 0.1 × 2.0 = 0.2 m. The exact value is 0.25 m, so Euler underestimates by 0.05 m: a smaller Δt reduces the error.
Level 3 · Professional9
What is the rank of the matrix with rows (1, 2, 3), (2, 4, 6) and (0, 1, 1)?
Hint
Is one row a multiple of another?
Solution
Row 2 = 2 × row 1, so it adds nothing. Rows 1 and 3 are independent. Rank = 2, so a system with 3 unknowns keeps 3 − 2 = 1 free direction.
Level 2 · Intermediate10
Which expression gives the correct direction of the vector (−2, −2)?
arctan(−2 / −2) = 45°
atan2(−2, −2) = −135°
atan2(−2, 2) = −45°
Solution
atan2 uses the signs of both components. The vector is in the lower-left quadrant: −135° (or 225°). arctan(1) = 45° ignores the signs and points the opposite way.
Check yourself
A wheel of radius 0.1 m turns at 10 rad/s. How fast does the robot move?
v = r ω = 0.1 × 10 = 1 m/s.
Why use atan2(y, x) and not arctan(y/x)?
atan2 knows the signs of x and y, so it gives the right quadrant over the full 360°.
What does the dot product of a velocity with a unit vector give?
The component of the velocity along that unit vector.
2
What is a wheeled mobile robot? Locomotion, kinematics and dynamics
10 min
You will learn
to say what makes a machine a robot, to name the five subsystems of a wheeled mobile robot, and to know what “kinematics” means for a robot that moves around.
1.1 What is a robot?
There is no precise definition, but by general agreement a robot is a machine with sensing, intelligence and mobility. To qualify, a machine has to be able to:
sense and perceive: get information from its surroundings;
carry out physical tasks: move itself (locomotion) or move objects (manipulation);
be re-programmable: do different things when the program changes;
work autonomously and interact with human beings.
1.2 Families of robots
Robot arms (manipulators) are fixed to the ground; a mobile manipulator is an arm carried by a mobile base. Mobile robots themselves come in several families: wheeled, legged, aerial, underwater and humanoid. This course is about the first family, the wheeled mobile robots (WMR): vacuum robots, warehouse AGV/AMR, planetary rovers, robot cars. They are the simplest mobile robots to build and to control, and they are the most common in factories and homes.
1.3 The five subsystems
A wheeled mobile robot combines hardware and software. It is a collection of subsystems:
Subsystem
Question it answers
Examples
Locomotion
How does the robot move through its environment?
wheels, motors, gearboxes, chassis
Sensing
How does it measure itself and its surroundings?
encoders, gyroscope, lidar, camera
Control
How does it generate physical actions?
speed loops, position control
Reasoning
How does it map measurements to actions?
localisation, path planning
Communication
How does it talk to other robots or to an operator?
Wi-Fi, radio, ROS messages
In the navigation loop of a mobile robot, perception feeds localisation (“where am I?”) and cognition (“where do I go?”); cognition gives a path to motion control, which acts on the real world. This course is the locomotion and motion-control part of that loop.
1.4 Locomotion, dynamics and kinematics
Locomotion is the process of causing a robot to move. To produce motion, forces must be applied: motor output, payload, friction.
Dynamics studies motion with the forces that cause it: the relation between force and motion.
Kinematics studies the mathematics of motion without the forces: the geometric relations between the control parameters (wheel speeds, steering angles) and the behaviour of the robot.
Most mobile-robot controllers work at the kinematic level and ignore the dynamics, as long as the robot moves slowly enough. That is what we do here.
Why it is different from a robot arm
Kinematics of a mobile robot looks like that of an arm, but there is one big difference: an arm is fixed to the ground, so the position of its tool follows directly from the joint angles. A mobile robot moves without bound in its environment. There is no direct way to measure its position: it must be integrated over time from the wheel motions, and every small error is added to the next. This drift of the position estimate is the number 1 challenge of mobile robotics.
1.5 Three simple wheeled bases
Base
Good
Not so good
Two-wheel (bi-wheel) robot
Smooth motion; simple.
Risk of slipping; often needs a ball or castor to stay balanced.
Caterpillar (tracked) robot
Exact straight motion; robust to slipping.
Turning is hard to model exactly.
Omnidirectional robot
Free motion in any direction.
Complex structure; weak frame; special wheels.
The essentials
A robot senses, decides and acts: a wheeled mobile robot has locomotion, sensing, localisation, planning and control.
Kinematics links the wheel speeds to the motion of the robot, without the forces; dynamics adds the forces and masses.
Odometry computes the pose from the wheel motions: it is simple and fast, but it drifts.
A wheeled mobile robot senses, decides and acts in a loop; odometry closes the loop fast, the other sensors correct its drift.
Key terms
wheeled mobile robot (WMR)
locomotion
kinematics
dynamics
odometry
mobile manipulator
Exercises
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
Which question belongs to kinematics (and not to dynamics)?
How much motor torque do I need to accelerate at 2 m/s²?
Which wheel speeds give a robot speed of 0.5 m/s?
How heavy can the payload be before the wheels slip?
Solution
Kinematics relates positions and velocities without forces. The torque and the slip limit involve forces: they are dynamics (lesson 16).
Level 1 · Beginner2
Why does the position of a mobile robot, computed from its wheels, get worse with time?
Because the batteries run down.
Because the small errors of each step are added to the previous ones (integration).
Because the floor changes colour.
Solution
Odometry integrates the wheel motion; every small error (wheel diameter, slip, quantisation) stays in the sum and grows. Lessons 14 and 15 show how to measure and reduce it.
Level 2 · Intermediate3
A robot drives 25 m and its odometry has a distance error of 2 %. What is the error, in metres, at the end?
Solution
0.02 × 25 = 0.5 m. And this is only the distance error: a heading error would add a lateral error that grows with the distance.
Level 2 · Intermediate4
What is a mobile manipulator?
A robot arm carried by a mobile base.
A robot that can only be moved by hand.
A two-wheeled robot with no sensors.
Solution
It combines an arm (manipulation) and a wheeled base (locomotion): the base brings the arm to the object.
Level 3 · Professional5
A robot must slide sideways along a shelf without turning. Which wheels allow it?
Two fixed standard wheels on one axle.
Omni or Mecanum wheels.
Tracks.
Solution
Fixed standard wheels forbid sideways motion (sliding constraint, lesson 4). Omni and Mecanum wheels have free rollers that remove this constraint.
Check yourself
Name the five subsystems of a wheeled mobile robot.
Locomotion, sensing, control, reasoning and communication.
What is the difference between kinematics and dynamics?
Kinematics relates positions and velocities geometrically, without forces. Dynamics also includes the forces and torques that produce the motion.
Why can a mobile robot not simply read its position from a sensor like an arm does?
Because it is not attached to the ground: its position has to be integrated from the motion of its wheels (odometry), and the errors accumulate.
Where is the robot? Pose, frames and the rotation matrix
11 min
You will learn
to describe the position and orientation of a robot on the floor with three numbers, and to convert a velocity between the global frame and the frame attached to the robot.
2.1 Three numbers: the pose
On a plane, the robot chassis has three dimensions: two for its position in the plane and one for its orientation around the vertical axis. The posture (or pose) is therefore:
ξI = ( x , y , θ )T and its velocity ξ̇I = ( ẋ , ẏ , θ̇ )T
The global frame {XI, YI} is fixed to the floor. The robot frame {XR, YR} is fixed to the chassis, with its origin at the reference point P, and XR pointing forward. The pose is the position of P in the global frame and the angle θ between the two frames.
2.2 From the global frame to the robot frame
The wheels act in the robot frame (“go forward, do not slide sideways”), but we want to know the motion in the global frame. The orthogonal rotation matrix converts one into the other:
R(θ) = cos θsin θ0− sin θcos θ0001ξ̇R = R(θ) ξ̇Iξ̇I = R(θ)−1ξ̇R = R(θ)Tξ̇R
Because R is a rotation matrix, its inverse is simply its transpose. The same matrix will appear in every kinematic model of this course.
Worked example
The robot is rotated by θ = 90° (it points along YI). Then R(π/2) gives ξ̇R = ( ẏ , −ẋ , θ̇ ). A global velocity of ( 1 , 0 , 0 ) m/s along XI becomes ( 0 , −1 , 0 ) in the robot frame: the robot sees the world moving to its right, which is a sideways motion. This is the motion a standard wheel forbids.
With θ = 30° the same global velocity ( 1 , 0 , 0 ) gives ( cos 30° , −sin 30° , 0 ) = ( 0.87 , −0.5 , 0 ) in the robot frame.
2.3 Forward and inverse kinematics of a mobile robot
The goal is to write the speed of the robot as a function of the wheel speeds φ̇i, the steering angles βj and the geometry of the robot (the configuration coordinates):
forward kinematics: wheel speeds and steering → robot velocity ξ̇;
Be careful: we can write ξ̇ = f(wheel speeds), but not simply ξ = f(wheel angles). The pose depends on how the wheels were turned over time, not only on how far. We will see the exact reason in lesson 10 (nonholonomic systems).
The essentials
On the floor the pose has three numbers: ξ = (x, y, θ).
R(θ) converts a velocity from the global frame to the robot frame: ξ̇_R = R(θ) ξ̇_I, and back with Rᵀ.
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
The robot has θ = 60°. Its global velocity is (2, 0) m/s. What is its velocity along the robot's x axis?
Hint
First row of R(θ): ( cos θ , sin θ ).
Solution
v_x,R = cos 60° × 2 + sin 60° × 0 = 1 m/s.
Level 1 · Beginner2
Same robot (θ = 60°, global velocity (2, 0) m/s). What is its velocity along the robot's y axis (the sideways component)?
Hint
Second row of R(θ): ( −sin θ , cos θ ).
Solution
v_y,R = −sin 60° × 2 + cos 60° × 0 = -1.73 m/s. A real fixed wheel would forbid this sideways motion: the robot cannot move like this unless it turns.
Level 2 · Intermediate3
The robot has θ = −90° and a global velocity (0, 3) m/s. What is its velocity along its own x axis? (A negative number means it moves backwards.)
Solution
v_x,R = cos(−90°) × 0 + sin(−90°) × 3 = −3 m/s. The robot faces −Y (downward) while moving up: it goes backwards at 3 m/s.
Level 2 · Intermediate4
The robot is at (1, 2) with θ = 90°. A sensor sees a point 0.5 m straight ahead of the robot. What is the global y coordinate of that point?
Hint
Use the transpose R(θ)ᵀ to go from the robot frame to the global frame, then add the position.
Solution
Global offset = R(θ)ᵀ (0.5, 0) = (0.5 cos 90°, 0.5 sin 90°) = (0, 0.5). Add the position (1, 2): the point is at (1, 2.5), so y = 2.5 m.
Level 3 · Professional5
The robot has θ = 135° and moves with the global velocity (−1, 1) m/s. What is its forward speed in the robot frame? What does a zero sideways speed tell you?
Solution
v_x,R = cos 135° × (−1) + sin 135° × 1 = 0.707 + 0.707 = 1.41 m/s and v_y,R = −sin 135° × (−1) + cos 135° × 1 = 0.707 − 0.707 = 0. The robot moves exactly along its heading: this motion is allowed for a wheeled robot.
Check yourself
How many numbers describe the pose of a robot on a flat floor?
Three: x, y and the orientation θ.
What is the inverse of R(θ)?
Its transpose, which is also R(−θ).
The robot has θ = 90° and moves at ẋ = 0, ẏ = 2 m/s in the global frame. What is its velocity in the robot frame?
ξ̇_R = (ẏ, −ẋ, θ̇) = (2, 0, 0): it goes straight ahead at 2 m/s.
4
Wheels and their constraints: rolling and sliding
15 min
You will learn
to know the five wheel types, and to write the two constraints (rolling and no sliding) that each standard wheel imposes on the robot.
3.1 Five wheel types
Wheel
How it works
Effect on the robot
Fixed standard wheel
Fixed to the chassis at an angle; rolls forward and backward; can pivot around its contact point.
Constrains the motion: no sideways sliding.
Steered standard wheel (centred orientable)
Same, plus a vertical steering axis through the contact point: angle β(t).
Constrains the motion; steering changes the constraint over time.
Castor wheel (off-centred orientable)
Steering axis offset by a distance d from the contact point, like a shopping-trolley wheel.
No constraint on the chassis (the offset lets it follow any motion).
Swedish wheel (Mecanum, omni)
A wheel with small rollers on its rim; the roller axis makes an angle γ with the wheel axis.
No constraint: it can also move along the rollers.
To get simple equations we model an idealised wheel:
the robot moves on a horizontal plane, and the wheel plane stays vertical;
the wheel touches the ground at one point and does not deform;
pure rolling: the velocity of the contact point is zero;
no slipping, skidding or sliding sideways, and no friction against rotation about the contact point;
the steering axes are perpendicular to the floor, and the wheels are connected by a rigid chassis.
Under these assumptions each standard wheel gives two constraints: rolling contact (the wheel must roll when the robot moves along its plane) and no lateral slip (the wheel must not slide across its plane).
3.3 The fixed standard wheel
The wheel is attached at a point A, given in polar coordinates by the distance l and the angle α from the reference point P. The angle of the wheel plane with respect to the chassis is β (constant for a fixed wheel). The wheel has radius r and turns at the speed φ̇.
Sliding: [ cos(α+β) sin(α+β) l sin β ] R(θ) ξ̇I = 0
The first line says: the speed of the contact point along the wheel plane equals rφ̇ (the wheel really rolls). The second says: the speed across the wheel plane is zero (it does not slide). Each row projects the robot velocity on one direction of the wheel.
Worked example
A wheel is placed at α = 0, β = 0 (on the axis XR, its plane along YR), and the robot has θ = 0. The sliding constraint becomes [ 1 0 0 ] ( ẋ , ẏ , θ̇ )T = 0, that is ẋ = 0: the robot cannot move along X, which is across the wheel. It can still move along Y (rolling) and turn.
3.4 The other wheels
Steered wheel. Same two equations, but β = β(t) changes. The steering speed β̇ has no instantaneous effect on the constraints: only by integrating over time does a new steering angle change what the robot can do. Steering alone does not move the chassis.
Castor wheel. The rolling equation is the same, but the sliding equation gets two extra terms because of the offset d: [ cos(α+β) sin(α+β) d + l sin β ] R(θ) ξ̇I + dβ̇ = 0. Any sideways motion can be absorbed by the right steering speed β̇, so the castor wheel imposes no constraint. Here the steering does move the chassis, because of the offset. A five-castor office chair rolls in any direction without sliding.
Swedish wheel. Add the roller angle γ: the zero-velocity direction is along the roller axis. Rolling: [ sin(α+β+γ) −cos(α+β+γ) −l cos(β+γ) ] R(θ) ξ̇I − rφ̇ cos γ = 0. The rollers turn freely, so the motion along the rollers is not constrained. For γ = 0 (the 90° Swedish wheel) the rollers are perpendicular to the wheel and the robot can slide sideways freely: this is the omni wheel. For γ = 90° the rollers are parallel to the wheel and the wheel behaves like a fixed standard wheel.
Spherical wheel. Its equations are those of the fixed standard wheel, but the angle β is a free variable instead of a constant: no constraint remains.
The key result
Castor, Swedish and spherical wheels put no kinematic constraint on the chassis: the robot velocity can take any value because of the internal degrees of freedom of these wheels. Only fixed and steered standard wheels constrain the chassis, so only they matter when we compute how a robot can move (lessons 9 and 10).
The essentials
Five wheel types: fixed standard, steered standard, castor, Swedish (Mecanum) and spherical.
Rolling constraint: the contact point moves along the wheel plane at r φ̇ (pure rolling).
Sliding constraint: no speed across the wheel plane; only fixed and steered standard wheels impose it.
The two constraints of a standard wheel: the contact point moves along the wheel plane at r φ̇, and never across it.
Key terms
rolling constraint
sliding constraint
fixed / steered standard wheel
castor wheel
Swedish (Mecanum) wheel
spherical wheel
Exercises
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
Which wheels constrain the motion of the chassis?
Castor, Swedish and spherical wheels.
Fixed and steered standard wheels.
All wheels, in the same way.
Solution
Only standard wheels forbid the lateral slip. The castor, Swedish and spherical wheels have internal degrees of freedom and impose no constraint.
Level 1 · Beginner2
A wheel of radius 0.1 m turns at 5 rad/s and rolls without slipping. How fast does its contact move along the floor?
Solution
Rolling constraint: v = r φ̇ = 0.1 × 5 = 0.5 m/s.
Level 2 · Intermediate3
A fixed wheel is at α = 0, β = 0 (its sliding row is [1 0 0]). The robot has θ = 0 and the velocity (ẋ, ẏ, θ̇) = (0.1, 0.3, 0.5). How fast does the wheel slip sideways, in m/s?
Solution
Sliding constraint: [1 0 0] · (0.1, 0.3, 0.5) = 0.1. It should be 0 for a wheel that does not slip, so the wheel slips at 0.1 m/s: this velocity is not allowed.
Level 2 · Intermediate4
The right wheel of a differential robot (α = −90°, β = 180°, l = 0.15 m) has the rolling row [1 0 l]. The robot moves with (ẋ, ẏ, θ̇) = (0.4, 0, 0.5) in its own frame; the wheel radius is 0.05 m. What is the wheel speed φ̇ in rad/s?
Hint
r φ̇ = [1 0 l] · (0.4, 0, 0.5).
Solution
r φ̇ = 1 × 0.4 + 0.15 × 0.5 = 0.475 m/s, so φ̇ = 0.475 / 0.05 = 9.5 rad/s. (The right wheel is faster because the robot turns left.)
Level 3 · Professional5
A castor wheel has its steering axis offset by d from the contact point. What happens if d = 0?
Nothing changes: it still imposes no constraint.
It becomes a steered standard wheel: it forbids the lateral slip again.
It becomes a spherical wheel.
Solution
The sliding equation of the castor wheel has the extra terms d θ̇ and d β̇. With d = 0 they disappear, and we get the sliding constraint of the steered standard wheel.
Check yourself
Which wheel types constrain the motion of the chassis?
Only the fixed and the steered standard wheels.
What do the two constraints of a standard wheel mean?
Rolling: along its plane the wheel contact moves at r·φ̇. Sliding: across its plane the speed of the contact point is zero.
Why does a castor wheel not constrain the robot, although it has a vertical axis like a steered wheel?
Because its axis is offset by d from the contact point: a sideways motion is absorbed by a rotation of the steering axis (the term d·β̇).
to compute how a two-wheel differential robot moves from its wheel speeds, and the opposite: which wheel speeds give the motion you want.
4.1 The robot
A differential-drive robot has two driven fixed wheels on the same axle, a distance L apart, each with its own motor, and usually a castor wheel or a ball for balance. It is the simplest drive mechanism and the one of most vacuum robots and educational robots. The control input is not the speed of each wheel but the motion of the robot itself:
U = ( v , ω )Tv = linear speed of the robot (m/s) ω = angular speed (rad/s)
4.2 Wheel speeds ↔ robot motion
A wheel of radius r turning at φ̇ has a ground speed V = rφ̇. The left and right wheels turn about the same point at the same angular rate ω, so:
The speed of the robot is the average of the two wheel speeds, and its rotation is their difference divided by the distance between the wheels. If you drive the right wheel faster, the robot turns left (counterclockwise).
Differential drive seen from above: the two wheels turn around the same point, the ICR, on the line of the axle. The robot speed is the average of the wheel speeds, its rotation their difference divided by L.
4.3 The turning circle and the ICC
At every instant both wheels follow circles around one point, the instantaneous centre of curvature (ICC, also called ICR). It lies on the axle line, at the distance R from the middle of the axle:
R = ( L / 2 ) · ( VR + VL ) / ( VR − VL ) = v / ω ICC = ( x − R sin θ , y + R cos θ )
Wheel speeds
Radius R
Motion
VR = VL
infinite
straight line
VR = −VL
0
the robot spins on the spot around the middle of the axle
VL = 0
L / 2
the robot pivots around its left wheel
4.4 The posture model
In the global frame, the robot always moves along its heading, and turns at ω:
ẋẏθ̇ = cos θ0sin θ001vω
In the robot frame, directly from the wheel angular speeds, the model is (with Vx along the robot and Vy across it):
VxVyθ̇ = r/2r/200−r/Lr/Lφ̇Lφ̇R
The middle row is zero: the robot cannot move sideways. This is the sliding constraint of lesson 4, and it is also the origin of its difficulty: with 2 inputs v and ω the robot must reach 3 pose numbers.
4.5 The same result from the wheel constraints
Put the two wheels in the equations of lesson 4 (right wheel at α = −90°, β = 180°; left wheel at α = +90°, β = 0; l = L/2). The two rolling constraints and the (identical) sliding constraint stack into:
10L/210−L/2010R(θ) ξ̇I = r φ̇Rr φ̇L0
Inverting this 3×3 matrix gives exactly the model above. Nothing was guessed: the kinematics of the robot comes from the constraints of its wheels. We will use this method again for the omnidirectional robot.
Worked example
Wheels of radius r = 0.05 m, distance L = 0.30 m. The motors run at φ̇R = 10 rad/s and φ̇L = 8 rad/s. Then VR = 0.50 m/s and VL = 0.40 m/s, so v = 0.45 m/s, ω = 0.10 / 0.30 = 0.33 rad/s, and R = v / ω = 1.35 m. A difference of only 2 rad/s between the motors already makes a circle of 2.7 m diameter. The robot turns left.
4.6 Odometry: computing the pose from the wheels
With encoders, each wheel gives the distance ΔsR and ΔsL it has rolled in one time step. Then:
The trajectory is very sensitive to the relative speed of the two wheels, not only to their average. A wheel diameter wrong by 1 % makes the robot curve instead of going straight, and odometry accumulates this error without limit. This is why real robots add a gyroscope, a lidar or a camera to correct the pose (see the “Perception” course).
Odometry: at each time step the encoders give the distances rolled by the two wheels; the robot moves by Δs and turns by Δθ, and the pose is updated step after step from the start.
The essentials
v = (V_R + V_L) / 2 and ω = (V_R − V_L) / L, with V = r φ̇ for each wheel.
Inverse: V_R = v + ω L / 2 and V_L = v − ω L / 2.
Turning radius R = v / ω: equal speeds go straight, opposite speeds turn on the spot.
Key terms
differential drive
ICC / ICR
turning radius
odometry
encoder
castor / ball wheel
Exercises
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
The right wheel goes at 0.6 m/s and the left wheel at 0.4 m/s. What is the speed v of the robot?
Solution
v = (V_R + V_L) / 2 = (0.6 + 0.4) / 2 = 0.5 m/s.
Level 1 · Beginner2
Same wheel speeds (0.6 and 0.4 m/s) and a distance between the wheels L = 0.25 m. What is the turning speed ω?
Solution
ω = (V_R − V_L) / L = 0.2 / 0.25 = 0.8 rad/s (positive: the robot turns left).
Level 2 · Intermediate3
A robot (L = 0.20 m, wheel radius 0.04 m) must go at v = 0.3 m/s while turning at ω = 1 rad/s. What angular speed must the right wheel have?
V_R = 0.35 m/s, V_L = 0.15 m/s and L = 0.40 m. What is the turning radius R of the robot centre?
Solution
R = (L/2) (V_R + V_L) / (V_R − V_L) = 0.2 × 0.5 / 0.2 = 0.5 m. (Check: v = 0.25, ω = 0.5, R = v/ω = 0.5 ✓.)
Level 2 · Intermediate5
In one time step, the right wheel rolls 0.052 m and the left wheel 0.048 m (L = 0.30 m). By how many degrees has the robot turned?
Solution
Δθ = (Δs_R − Δs_L) / L = 0.004 / 0.30 = 0.01333 rad = 0.764°.
Level 3 · Professional6
The left wheel really has a radius 1 % bigger than the odometry assumes. The robot is commanded to go straight, with the same rotation of both wheels, for 10 m of nominal distance (L = 0.30 m). By how many degrees does it actually turn? Give the absolute value.
Hint
The left wheel rolls 10.1 m, the right one 10.0 m. Use Δθ = Δs difference / L.
Solution
Δθ = (10.0 − 10.1) / 0.30 = −0.333 rad = −19.1°: the robot turns right by 19.1°. After 10 m the lateral error is about 10 × 0.333 / 2 ≈ 1.7 m. A 1 % wheel error is a big problem: this is why calibration (lesson 14) is a basic professional task.
Level 2 · Intermediate7
How do you make a differential robot spin on the spot?
Same speed on both wheels.
Opposite speeds: V_R = −V_L.
Stop one wheel only.
Solution
With V_R = −V_L, v = 0 and R = 0: the robot turns around the middle of its axle. Stopping one wheel makes it pivot around that wheel (R = L/2).
Check yourself
The left wheel runs at 0.3 m/s and the right wheel at 0.5 m/s, with L = 0.4 m. Find v, ω and R.
v = 0.4 m/s, ω = 0.2 / 0.4 = 0.5 rad/s, R = v / ω = 0.8 m.
How do you make a differential robot spin on the spot?
Run the wheels in opposite directions at equal speed: V_R = −V_L, so v = 0 and R = 0.
Why can it not move sideways?
Both wheels are fixed standard wheels with the same plane: they forbid any motion across it (V_y = 0).
Tricycle, bicycle and car: steering and the Ackermann rule
18 min
You will learn
to compute the wheel speeds and steering angles of a bicycle and of a car from the speed and the steering angle, and to explain why the two front wheels of a car do not turn by the same angle.
5.1 The tricycle
A tricycle has two fixed rear wheels and one front wheel that steers and drives, at the distance d in front of the rear axle. The inputs are the steering angle α(t) and the speed vs of the front wheel. All the wheel axes must meet at one point, so the ICC lies on the rear axle line, and the robot turns around it on a circle of radius:
R = d / tan αv = vs cos αω = ( vs / d ) sin α
ẋẏθ̇ = cos θ0sin θ001vs cos α(vs / d) sin α
The tricycle has a limited radius of curvature (it cannot spin on the spot) and cannot steer by ±90°. But it is simple and stable at speed.
5.2 Exercise: the bicycle
Question. A bicycle has a rear wheel (radius rF) and a front steering wheel (radius rC), a distance e apart. Knowing the speed v of the front wheel (along its direction) and the steering angle δ, find the angular velocities φ̇F of the rear wheel and φ̇C of the front wheel.
Solution. The front wheel rolls without slipping: its contact point moves at v along the wheel, so φ̇C = v / rC. The two wheels are on a rigid frame, so their velocity components along the line that joins them are equal. The rear wheel moves along the frame at vr, the front wheel has the component v cos δ along it. Hence vr = v cos δ, and φ̇F = v cos δ / rF.
φ̇C = v / rCφ̇F = v cos δ / rF ( ω = v sin δ / e , R = e / tan δ )
Worked example
rF = rC = 0.35 m, e = 1.1 m, v = 3 m/s, δ = 20°. Then φ̇C = 3 / 0.35 = 8.57 rad/s and φ̇F = 3 cos 20° / 0.35 = 8.05 rad/s: the rear wheel turns slower than the front one in a turn. The bicycle turns at ω = 3 sin 20° / 1.1 = 0.93 rad/s, around a point at R = 1.1 / tan 20° = 3.02 m from the rear wheel. If δ = 0 the two speeds are equal.
5.3 Exercise: the car
Question. Now a car with two rear wheels F1, F2 (track L) and two steering front wheels C1, C2 (wheelbase e). Knowing v and the steering angle δ of the “virtual” central wheel, find the four wheel speeds φ̇F1, φ̇F2, φ̇C1, φ̇C2 and the two steering angles δC1, δC2.
Solution. Replace the car by its “bicycle” in the middle: it gives the ICC on the rear axle line, at R = e / tan δ from the middle of the rear axle, and the rotation ω = v sin δ / e. Every wheel is then a point that turns around the ICC at the same ω: its speed is ω times its distance to the ICC, and its plane is perpendicular to the line to the ICC. For a left turn, wheel 1 (left) is on the inside:
φ̇F1 = ω ( R − L/2 ) / rF1φ̇F2 = ω ( R + L/2 ) / rF2
tan δC1 = e / ( R − L/2 ) tan δC2 = e / ( R + L/2 ) φ̇Ci = ω √( e² + ( R ∓ L/2 )² ) / rCi
Worked example
e = 2.5 m, L = 1.4 m, all radii 0.30 m, v = 5 m/s, δ = 15°. Then R = 2.5 / tan 15° = 9.33 m and ω = 5 sin 15° / 2.5 = 0.518 rad/s. Steering angles: δC1 = 16.2° (inside), δC2 = 14.0° (outside). Wheel speeds: φ̇F1 = 14.9, φ̇F2 = 17.3, φ̇C1 = 15.5, φ̇C2 = 17.8 rad/s. The outside wheels turn faster because they travel on a bigger circle: this is what the differential gear of a car allows.
5.4 The Ackermann rule
In a car the inside front wheel is turned slightly more than the outside one. This is not a detail: the axes of the four wheels must meet at the single ICC, otherwise the tyres drag sideways, wear and slip. With the track d (= L) and the wheelbase l (= e), this gives the Ackermann equation, where the angles are measured from the straight-ahead direction:
Check with the example: cot 14.0° − cot 16.2° = 4.01 − 3.45 = 0.56 = 1.4 / 2.5. ✓ The mean cotangent is that of the central “virtual” wheel δ = 15°. Ackermann steering gives a fairly accurate dead-reckoning solution and supports traction and ground clearance, which is why it is the usual choice for outdoor autonomous vehicles.
What a car cannot do
A car has only 2 control inputs (speed and steering) for 3 pose numbers, and its steering angle is limited, so it needs a series of manoeuvres to park sideways. Lesson 7 will count exactly how much freedom it has.
Ackermann steering: the two front wheels are turned by different angles so that the axles of all four wheels meet at the same point, the ICC. Then no tyre is dragged sideways.
The essentials
Bicycle model: ω = v tan δ / ℓ (wheelbase ℓ, steering angle δ); the ICR is on the rear axle.
Ackermann: the inside front wheel turns more than the outside one so that all wheel axes meet at the ICR.
A car has a minimum turning radius: it cannot turn on the spot or move sideways.
Key terms
tricycle
bicycle model
steering angle δ
wheelbase / track
Ackermann steering
ICC on the rear axle
Exercises
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
A tricycle has d = 0.8 m between the rear axle and the steered front wheel. The steering angle is 30°. What is the turning radius R (measured on the rear axle)?
Solution
R = d / tan α = 0.8 / tan 30° = 1.39 m.
Level 1 · Beginner2
A bicycle with wheels of radius 0.3 m goes at v = 3 m/s with a steering angle δ = 60°. What is the angular speed of the rear wheel?
Hint
The rear wheel speed is v cos δ.
Solution
φ̇_F = v cos δ / r = 3 × 0.5 / 0.3 = 5 rad/s. (The front wheel turns at v / r = 10 rad/s.)
Level 2 · Intermediate3
A car has a wheelbase e = 2.7 m. The virtual central wheel is steered by 20°. What is the radius of the turn of the middle of the rear axle?
Solution
R = e / tan δ = 2.7 / tan 20° = 7.42 m.
Level 2 · Intermediate4
e = 2.5 m, track L = 1.4 m, virtual steering angle δ = 15° (left turn). What is the steering angle of the inside front wheel, in degrees?
Hint
R = e / tan δ first, then tan δ_in = e / (R − L/2).
Solution
R = 2.5 / tan 15° = 9.33 m. Inside wheel: tan δ_in = 2.5 / (9.33 − 0.7) = 0.29, so δ_in = 16.2°.
Level 2 · Intermediate5
Same car, v = 4 m/s at the virtual wheel, wheel radius 0.3 m. What is the angular speed of the outside rear wheel?
Hint
ω = v sin δ / e, then φ̇ = ω (R + L/2) / r.
Solution
ω = 4 × sin 15° / 2.5 = 0.414 rad/s; R = 9.33 m. Outside rear wheel: φ̇ = 0.414 × (9.33 + 0.7) / 0.3 = 13.85 rad/s.
Level 3 · Professional6
A car (e = 2.5 m, track 1.4 m) can steer its inside front wheel by at most 35°. What is the smallest turning radius of the middle of the rear axle?
Hint
The inside wheel is on a circle of radius R − L/2: tan 35° = e / (R − L/2).
Solution
R − L/2 = 2.5 / tan 35° = 3.57 m, so R = 3.57 + 0.7 = 4.27 m. A car cannot turn tighter than this: this is the minimum turning radius that path planners must respect (lesson 13).
Level 1 · Beginner7
Why do the two front wheels of a car turn by different angles?
Because of a manufacturing error.
So that the axes of the four wheels meet at one point (the ICR) and the tyres do not drag sideways.
To brake better.
Solution
This is the Ackermann rule: cot δ_out − cot δ_in = L / e. The inside wheel is on a smaller circle, so it must turn more.
Check yourself
A bicycle with two wheels of radius 0.30 m goes at v = 4 m/s with δ = 30°. Find φ̇_C and φ̇_F.
to compute the motion of a three-wheel omnidirectional robot from its wheel speeds (and the reverse), and to explain how a synchro drive works.
6.1 Why omnidirectional?
A robot with fixed standard wheels cannot move sideways. A robot with Swedish (omni) wheels can: each wheel drives along its own plane and rolls freely across it on the small rollers. With three such wheels, any combination of forward speed, sideways speed and rotation can be commanded at once: the robot is holonomic with 3 independent velocities. Soccer robots, warehouse platforms and stage robots use this. The price is a complex structure, weak frames (small rollers), slipping on dust, and bumpy motion on rough floors.
6.2 Three Swedish 90° wheels
Place three identical Swedish 90° wheels at the distance l from the centre P, at the angles α1 = 60°, α2 = 180°, α3 = −60°, with β = 0 (wheels tangent to the body) and γ = 0. There is no sliding constraint, so only the three rolling constraints remain. Each row of the matrix J1 is the rolling row of lesson 4:
This is the inverse kinematics directly: the wheel speeds come from the velocity wanted. For the forward kinematics, invert the 3×3 matrix (it is always invertible):
l = 1, r = 1, wheel speeds φ̇ = ( 4 , 1 , 2 ) rad/s and θ = 0. Then ẋ = ( 4 − 2 ) / √3 = 1.15, ẏ = ( −4 + 2 − 2 ) / 3 = −1.33, θ̇ = −( 4 + 1 + 2 ) / 3 = −2.33 rad/s. The robot moves and turns at the same time, with all the three speeds computed from the three wheels. If all three wheels run at the same speed, ẋ = ẏ = 0 and the robot spins on the spot.
This is the general method of the course: write the rolling and sliding constraint of every wheel, stack them, and solve. Four Mecanum wheels in an “X” layout work the same way, with the wheel rollers at ±45°: see the wheels page to drive one.
6.3 Synchro drive
In a synchro drive, each of three wheels (at the corners of an equilateral triangle, often under a cylindrical body) is both driven and steered, but a system of belts links them so that all the wheels point in the same direction and turn at the same rate. One motor drives all the wheels, one motor steers them all. So the robot has exactly two independent inputs: the speed v and the direction of travel.
All wheels stay parallel, so the ICC is always at infinity: the robot translates, it never moves on a curve by itself. Turning the wheels changes the direction of the ICC.
v = 0 with the wheels turning: the wheels rotate in place. ω = 0 with v ≠ 0: the robot goes straight in the direction its wheels point.
The body of the robot does not turn when the wheels are steered. To keep sensors facing the travel direction, a third motor and a turret are needed. This is a classic design for research robots with a cylindrical body.
Compared with a differential robot, a synchro drive can change its direction of travel without turning its body, and the belts keep all the wheels locked together. But it is mechanically complex, and lesson 9 will show that it has only 2 degrees of maneuverability: it cannot rotate its body without the turret.
The essentials
Swedish (omni) wheels roll along their rollers too, so the robot can move in any direction and rotate at once.
With three 90° Swedish wheels at 120°, every wheel speed is a linear combination of (v_x, v_y, ω): a 3 × 3 matrix and its inverse.
Synchro drive: all wheels are driven and steered together; it moves in any direction but cannot turn its body freely.
Key terms
omnidirectional robot
Swedish 90° wheel
Mecanum wheel
holonomic
synchro drive
turret
Exercises
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
A three-wheel omni robot has its three wheels turning at the same speed. How does it move?
It goes straight ahead.
It spins on the spot.
It does not move.
Solution
The three contributions to ẋ and ẏ cancel (the wheels are 120° apart) and the three contributions to θ̇ add: pure rotation.
Level 2 · Intermediate2
Omni robot with l = 0.2 m and wheel radius r = 0.04 m. The three wheels turn at 5 rad/s. What is θ̇ in rad/s?
Hint
θ̇ = −r (φ̇₁ + φ̇₂ + φ̇₃) / (3 l).
Solution
θ̇ = −0.04 × 15 / (3 × 0.2) = -1 rad/s: the robot spins clockwise at 1 rad/s.
Level 2 · Intermediate3
Same family of robot with r = 0.05 m and wheel speeds (10, 0, −10) rad/s. What is ẋ in m/s?
Hint
ẋ = r (φ̇₁ − φ̇₃) / √3.
Solution
ẋ = 0.05 × (10 − (−10)) / √3 = 1 / 1.732 = 0.58 m/s. The robot goes straight along x, ẏ = 0 and θ̇ = 0.
Level 3 · Professional4
Inverse kinematics: r = 0.05 m, l = 0.2 m. The robot must move at ẏ = 0.5 m/s only (ẋ = 0, θ̇ = 0). What is φ̇₂ in rad/s? (Row 2 of J₁ is [0 1 −l].)
Solution
r φ̇₂ = [0 1 −l] · (0, 0.5, 0) = 0.5, so φ̇₂ = 0.5 / 0.05 = 10 rad/s. The other two wheels turn at −5 rad/s (rows [√3/2 −1/2 −l] and [−√3/2 −1/2 −l]).
Level 2 · Intermediate5
Where is the ICC of a synchro-drive robot?
At the centre of the robot.
At infinity: all the wheels stay parallel.
On the rear axle.
Solution
All the wheels point in the same direction, so their axes are parallel and meet only at infinity: the robot translates; the steering changes its direction.
Check yourself
A three-wheel omni robot has the three wheels turning at the same speed. How does it move?
It spins on the spot: ẋ = ẏ = 0 and θ̇ = −r(φ̇₁+φ̇₂+φ̇₃)/(3l).
Why does a three-wheel omni robot have no sliding constraint?
The Swedish 90° wheel rolls freely across its plane thanks to the rollers, so it does not forbid any lateral motion.
Where is the ICC of a synchro drive?
At infinity, in the direction perpendicular to the wheels: all wheel axes are parallel.
to compute the wheel speeds of a four-wheel Mecanum robot and of a swerve drive, to scale the commands when a motor saturates, and to model a skid-steer (tracked) robot.
8.1 Four Mecanum wheels
A Mecanum wheel is a Swedish wheel with rollers at 45° (lesson 4). Four of them are mounted in an “X” layout, seen from above: the rollers of the front-left and rear-right wheels lean one way, the others lean the other way. Let lx be the half length (centre to axle) and ly the half width (centre to wheel), and k = lx + ly. For the wanted robot velocity ( vx , vy , ω ) in the robot frame, the wheel speeds are:
φ̇FLφ̇FRφ̇RLφ̇RR = ( 1 / r ) 1−1−k11k11−k1−1kvxvyω
Read each row as a rolling equation: the front-left wheel gets vx − vy − kω. The other direction (forward kinematics) averages the four wheels:
r = 0.05 m, lx = 0.20 m, ly = 0.15 m, so k = 0.35 m. Wanted: vx = 0.5 m/s, vy = 0.3 m/s, ω = 0.2 rad/s. Then kω = 0.07 and φ̇FL = (0.5 − 0.3 − 0.07) / 0.05 = 2.6, φ̇FR = (0.5 + 0.3 + 0.07) / 0.05 = 17.4, φ̇RL = (0.5 + 0.3 − 0.07) / 0.05 = 14.6, φ̇RR = (0.5 − 0.3 + 0.07) / 0.05 = 5.4 rad/s. Checking with the forward formulas gives back (0.5, 0.3, 0.2). For a pure sideways motion (vy only) the wheels run in the pattern −, +, +, −: the two diagonals turn in opposite directions.
Four wheels, three unknowns: a hidden condition
The robot has 3 degrees of freedom but 4 wheels, so the four wheel speeds cannot be chosen freely. They must satisfy φ̇FL + φ̇FR = φ̇RL + φ̇RR (check with the example: 2.6 + 17.4 = 14.6 + 5.4 = 20). If a wheel leaves the floor, or if the floor is uneven, this condition is broken and a wheel slips. This is why Mecanum robots need a suspension that keeps the four wheels on the ground.
In practice: a Mecanum robot is fully holonomic (δm = 3) and easy to program, but its rollers slip a little, so the odometry is less accurate than for a differential robot, the wheels have less grip, and sideways motion needs more motor effort than forward motion (the rollers split the force).
8.2 Swerve drive
A swerve robot has several modules, each one a standard wheel that can be both steered and driven by its own motors. Like the Mecanum robot it can produce any motion, but with the grip and the efficiency of normal wheels, which is why it is used in competition robots and in some heavy AMRs. At rest, the position of the module i is ( xi , yi ). For the robot velocity ( vx , vy , ω ), the velocity of the point where this module touches the floor is the robot velocity plus the rotation:
Four modules at ( ±0.30 , ±0.25 ) m. The robot goes forward at 0.5 m/s while it turns at 1 rad/s. Front-left module ( 0.30 , 0.25 ): u = ( 0.5 − 1 × 0.25 , 0 + 1 × 0.30 ) = ( 0.25 , 0.30 ), so speed 0.39 m/s at 50.2°. Front-right ( 0.30 , −0.25 ): u = ( 0.75 , 0.30 ), speed 0.81 m/s at 21.8°. By symmetry the rear modules have the opposite angles (−50.2° and −21.8°). Every module has a different speed and angle: the robot is turning around a point that is not at its centre.
Two details that professionals never forget: (1) Never steer more than 90°. If a module must go from 10° to 170°, it is faster to rotate it by −10° and to reverse the drive direction (steering angle 170° − 180° = −10°, speed × −1). (2) Never rotate a module faster than its steering motor allows: a swerve robot must slow down while the modules are not yet aligned with their targets.
8.3 When a motor saturates: scale, do not clip
Every motor has a maximum speed. If one wheel command is above it, you must scale all the wheels by the same factor, not just limit the one wheel: otherwise the ratio between the wheels changes and the robot goes in another direction. For each drive: s = max( 1 , max |φ̇i| / φ̇max ) and the commands become φ̇i / s.
Worked example
Four commands ( 18 , 22 , 26 , 10 ) rad/s with a limit of 20 rad/s. The largest is 26, so s = 26 / 20 = 1.3 and the commands become ( 13.8 , 16.9 , 20 , 7.7 ). The robot moves in the wanted direction but 1.3 times slower. If you had clipped only 26 to 20, the wheel ratios would change and the robot would drift sideways.
8.4 Skid-steer and tracked robots
A skid-steer robot (four wheels or two tracks, driven left and right like a differential robot) has no true rolling-only motion when it turns: the wheels on one side are not aligned with the circle, so they must slip sideways. The “ideal” differential model ω = ( VR − VL ) / L then over-predicts the turning rate. A simple, widely used correction is an effective trackLeff = χL, with a factor χ > 1 that depends on the ground and on the robot and that you measure (lab 3):
A tracked robot has L = 0.40 m. Spinning on the spot with VR = 0.30 m/s and VL = −0.30 m/s, the ideal model predicts ω = 0.60 / 0.40 = 1.5 rad/s. A gyroscope measures 0.75 rad/s. Then χ = 0.60 / (0.40 × 0.75) = 2.0: the effective track is 0.80 m. Using the corrected model, the heading error after a 90° turn drops from a factor 2 to a few percent. In real projects, the gyroscope is preferred for the heading, and this χ only helps predict it.
8.5 Choosing a drive: the summary
Drive
δm / δs / δM
Holonomic?
Strong points
Weak points
Differential
2 / 0 / 2
no
2 motors, spins on the spot, cheap, good odometry
cannot go sideways; sensitive to wheel errors
Car (Ackermann)
1 / 1 / 2
no
stable at speed, outdoors, good traction
minimum turning radius; needs manoeuvres
Tricycle
1 / 1 / 2
no
simple; one steering/drive wheel
limited steering; can tip in tight turns
3 omni wheels
3 / 0 / 3
yes
direct paths, compact
slip, weak frame, low load
4 Mecanum wheels
3 / 0 / 3
yes
holonomic, high payload, simple to program
needs suspension; poor odometry; more wear
Swerve
1 / 2 / 3
after steering
holonomic with real wheels: grip and efficiency
2 motors per module; complex; steering takes time
Skid-steer / tracks
2 / 0 / 2
no
robust, rough terrain, simple
slips when turning; model must be measured
Synchro
1 / 1 / 2
no
body does not turn when steering
complex belts; no body rotation without a turret
Read the swerve line carefully. With independently steered modules it is like the two-steer robot of lesson 9: δm = 1 and δs = 2. At any instant the modules fix one ICR; to change the direction of motion the modules must first re-steer, which takes time. Competition swerve robots steer in a few tens of milliseconds and feel holonomic, but strictly only the omni and Mecanum robots (δm = 3) react instantly in every direction.
The essentials
Mecanum (X layout): each wheel speed = (v_x ∓ v_y ∓ (a + b) ω) / r, and FL + FR = RL + RR.
Swerve: each module gets its speed and angle from u = (v_x − ω y, v_y + ω x).
When a motor saturates, scale all the commands by the same factor: never clip one wheel alone.
Key terms
Mecanum wheel
swerve module
holonomic
saturation / scaling
skid steering
effective track χL
suspension
Exercises
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
A Mecanum robot (r = 0.05 m) moves forward only, at v_x = 0.4 m/s. What is the speed of each wheel, in rad/s?
Solution
With v_y = ω = 0 every row gives φ̇ = v_x / r = 0.4 / 0.05 = 8 rad/s: the four wheels turn together.
Level 2 · Intermediate2
The same robot moves sideways to the left at v_y = 0.3 m/s only. What is the speed of the front-left wheel, in rad/s?
Solution
φ̇_FL = (v_x − v_y − kω) / r = −0.3 / 0.05 = -6 rad/s. The pattern is (−6, +6, +6, −6).
Level 2 · Intermediate3
The four wheels of the robot (r = 0.05 m) all turn at 10 rad/s. What is v_x in m/s? (Forward formula: v_x = r (φ̇_FL + φ̇_FR + φ̇_RL + φ̇_RR) / 4.)
Solution
v_x = 0.05 × 40 / 4 = 0.5 m/s; v_y = 0 and ω = 0 (the combinations cancel).
Level 2 · Intermediate4
A swerve module sits at (0.30, −0.25) m. The robot goes forward at 0.5 m/s while turning at 1 rad/s. What is the speed of that module, in m/s?
Four wheel commands are (12, 30, −24, 6) rad/s and the motor limit is 20 rad/s. After scaling, what is the command of the first wheel (in rad/s)?
Hint
s = max |φ̇| / limit, then divide every command by s.
Solution
s = 30 / 20 = 1.5; the commands become (8, 20, −16, 4) rad/s. The first wheel gets 12 / 1.5 = 8 rad/s. All the ratios are kept, so the robot goes in the same direction, 1.5 times slower.
Level 3 · Professional6
A swerve module must move to the steering angle 150° with a positive speed. What does a good controller do?
Rotates the module by 150°.
Steers it to −30° and reverses the drive direction (speed × −1).
Stops the robot.
Solution
A wheel works in both directions: angle 150° with speed v equals angle 150° − 180° = −30° with speed −v. Steering by 30° instead of 150° saves time, and the steering never needs to exceed 90°.
Level 3 · Professional7
A tracked robot has L = 0.50 m. Spinning on the spot at V_R = 0.4 m/s and V_L = −0.4 m/s, a gyroscope measures 0.8 rad/s. What is χ?
Solution
χ = (V_R − V_L) / (L ω_measured) = 0.8 / (0.5 × 0.8) = 2. The effective track is 1.0 m: the robot turns half as fast as the ideal model says.
Check yourself
A Mecanum robot must move purely sideways. In which pattern do the wheels turn?
FL −, FR +, RL +, RR − (the two diagonals turn in opposite directions).
Why scale all the wheel commands, not only the saturated one?
To keep the ratios between the wheels, so that the robot keeps its direction and only goes slower.
What does χ > 1 tell you about a skid-steer robot?
The robot turns slower than the ideal differential model predicts, because the wheels slip sideways: the effective track is χ L.
to stack the constraints of all the wheels, to find the instantaneous centre of rotation (ICR) from them, and to compute the degrees of mobility, steerability and maneuverability of any wheel layout.
7.1 Stacking the constraints
Take a robot with Nf fixed and Ns steered standard wheels (the only ones that constrain the chassis, lesson 4). Put their rolling and sliding rows one under the other:
J1 and C1 have one row per standard wheel (Nf + Ns rows) and 3 columns; J2 = diag(r1 … rN) holds the wheel radii; φ̇ is the vector of the wheel speeds. The sliding equation is the important one for what the robot can do: the velocity R(θ) ξ̇I must lie in the null space of C1, the set of the vectors n such that C1n = 0.
7.2 The ICR: a picture of the null space
Geometrically, each standard wheel forbids the motion along its axle. At every instant the wheel must move along a circle whose centre is on the zero-motion line (the line along its axle, perpendicular to its plane). The point where all the zero-motion lines meet is the instantaneous centre of rotation (ICR): the robot turns around it.
Bicycle: the rear wheel and the steered front wheel each give one line; they meet at one point.
Differential drive: both wheels share the same axle line, so they give the same line: the ICR can be anywhere along it.
Car: four wheels but only one ICR; the second steered wheel adds no new constraint (it must simply point to the same ICR, Ackermann rule).
Mobility depends on independent constraints, not on the number of wheels
A bicycle and a differential robot both have two non-omnidirectional wheels, but the bicycle has two independent constraints and the differential robot only one, because the second wheel has the same zero-motion line as the first. The number of independent constraints is the rank of C1(βs): the higher the rank, the more constrained the robot.
Each standard wheel can only roll along its own plane: it must turn around a point of its zero-motion line. When all these lines meet at one point, the ICR, the robot can move by turning around it; if they do not meet, the robot cannot move without slipping.
7.3 The three degrees
Degree
Formula
Range
Meaning
Mobilityδm
3 − rank C1(βs)
0 … 3
Velocities the robot can produce immediately with its wheel speeds.
Steerabilityδs
rank C1s(βs)
0 … 2
Independent steering motions: they change the constraints, and so the ICR, over time (the robot must move for the change to count).
ManeuverabilityδM
δm + δs
2 … 3
Total number of degrees of freedom the robot can control.
Three wheels are enough for a robot to stand stable on its own; extra wheels must be synchronised (or suspended). The largest numbers of δM come from omni wheels (no constraint) and from independent steered wheels. A steered standard wheel is double-edged: it lowers the mobility (it adds a constraint) but raises the steerability (the constraint can be changed).
7.4 The robots we know
Robot
δm
δs
δM
What it can do
Omnidirectional (3 omni wheels)
3
0
3
any velocity at once; the ICR is anywhere
Differential drive
2
0
2
speed and rotation; the ICR is on the axle line
Omni-steer (2 omni + 1 steered)
2
1
3
the ICR can be placed anywhere, over time
Tricycle
1
1
2
one speed and one steering; the ICR is on the rear axle line
Car (Ackermann)
1
1
2
same as the tricycle: the second steered wheel is not independent
Two-steer (two steered wheels)
1
2
3
the ICR can be placed anywhere, over time
Synchro drive
1
1
2
a single motor steers the three wheels, so there is only one steering motion; the body orientation cannot change
Two robots with the same δM are not equivalent. The differential drive and the tricycle both have δM = 2, but the first has (2, 0): all its freedom is immediate, while the second has (1, 1): half of it comes from steering and takes time. Still, for any robot with δM = 2 the ICR is always constrained to a line, and for any robot with δM = 3 it can be put at any point of the plane.
Worked example: the rank of a differential robot and of a locked bicycle
Differential drive: both wheels have the row [ cos α1 sin α1 0 ] and its negative: the two rows are proportional, so rank C1 = 1 and δm = 3 − 1 = 2. Locked bicycle (steering fixed straight): the rows [ 0 1 l1 ] and [ 0 −1 l1 ] are independent, so rank = 2 and δm = 1: the robot can only move along a curve (or a line).
The essentials
Stack the sliding constraints of all the wheels: the robot can only move in their null space.
The ICR is where all the zero-motion lines of the wheels meet.
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
A robot has rank C₁ = 2. What is its degree of mobility δm?
Solution
δm = 3 − rank C₁ = 3 − 2 = 1: it can only move along one direction at each instant (a line or a circle).
Level 2 · Intermediate2
The sliding rows of a robot's wheels are (0, 1, 0), (0, 1, 0) and (0, −1, 0). What is δm?
Solution
All three rows are multiples of (0, 1, 0): the rank is 1, so δm = 3 − 1 = 2. This is a differential robot (the wheels share the same axle line).
Level 2 · Intermediate3
Which robot has the degree of maneuverability δM = 3?
Differential drive.
Car (Ackermann).
Two-steer (two steered wheels).
Solution
Two-steer: δm = 1, δs = 2, δM = 3. The differential drive and the car have δM = 2.
Level 3 · Professional4
A locked bicycle has the sliding rows (0, 1, 0.5) and (0, −1, 0.5). What is δm?
Hint
First find the rank: are the two rows multiples of each other?
Solution
The sum of the two rows is (0, 0, 1), so they are not multiples of each other: rank 2 and δm = 3 − 2 = 1. The locked bicycle can only follow a curve or a line.
Level 3 · Professional5
The differential drive and the tricycle both have δM = 2. Are they equivalent?
Yes, δM says everything.
No: the differential drive has (δm, δs) = (2, 0), the tricycle (1, 1); the second needs time to steer.
No, the tricycle has δM = 3.
Solution
Same total freedom, but the differential drive has all of it available immediately (spin on the spot), while the tricycle must steer, and move, to change its ICR.
Check yourself
A robot has 3 omni wheels and no standard wheel. What are δm, δs and δM?
C₁ is empty, rank 0: δm = 3, δs = 0, δM = 3.
Why does a car (two fixed + two steered wheels) have δm = 1 and not 0 or 2?
The fixed wheels give rank 1, one steered wheel adds an independent constraint (rank 2), the second adds nothing: δm = 3 − 2 = 1.
Where can the ICR of a robot with δM = 2 be?
Only on a line (for the differential drive, the line of the axle).
10
Holonomic or not? Degrees of freedom, paths and trajectories
14 min
You will learn
to explain what “nonholonomic” means, why a car cannot go sideways but can still park, and what the difference is between a path and a trajectory.
8.1 DOF, DDOF and maneuverability
Maneuverability δM counts the degrees of freedom we can control. We also ask: what poses can the robot reach in its workspace, and how?
DOF (degrees of freedom of the workspace): the poses the robot can reach. For a mobile robot on a floor we want DOF = 3 ( x, y, θ ).
DDOF (differential degrees of freedom): the velocities the robot can produce independently at one instant, which is the degree of mobility δm. It tells which paths are possible.
DDOF ≤ δM ≤ DOF
A bicycle has DOF = 3 (it can end at any pose) but DDOF = 1 (at each instant it can only drive forward or backward along its heading). An omnidirectional robot has DOF = 3 and DDOF = 3. Both reach every pose, but the omnidirectional robot reaches it directly, and the bicycle needs a sequence of manoeuvres like parallel parking.
8.2 Holonomic and nonholonomic constraints
A holonomic kinematic constraint can be written as a function of the position variables only (x, y, θ, wheel angles…). A nonholonomic constraint needs derivatives (velocities) and cannot be integrated to remove them. Such systems are also called nonintegrable. A robot is holonomic if and only if DDOF = DOF.
The sliding constraint of a fixed or steered standard wheel, ẋ sin θ − ẏ cos θ = 0 for a differential robot, uses the velocity: it is nonholonomic.
Omnidirectional robot: no constraint at all, holonomic with DDOF = 3.
Locked bicycle (steering blocked): all constraints can be integrated into constraints on the pose, it can only move on a curve: holonomic, but of no interest (DOF = 1).
A nonholonomic constraint limits the velocities, not the reachable positions: the car cannot slide sideways, but a manoeuvre takes it to the place beside it.
8.3 Proof that a mobile robot is nonholonomic
Take a robot that moves along a trajectory s(t). In a short time the distance travelled is ds = dx cos θ + dy sin θ. This could be integrated into a function s(x, y, θ) of the pose alone only if the second derivatives of s do not depend on the order of derivation:
∂²s / ∂x∂θ = ∂²s / ∂θ∂x etc.
Here ∂s/∂x = cos θ, ∂s/∂y = sin θ and ∂s/∂θ = 0. Then ∂/∂θ(∂s/∂x) = −sin θ, but ∂/∂x(∂s/∂θ) = 0: they are different, so no such function exists. In words: the distance travelled by each wheel is not enough to know where the robot is. Two robots can roll the same distances with their wheels, but ending in different places, because they did it in a different order. We must also know how the motion was done, as a function of time. This is why odometry integrates the speeds step by step, and why the pose is not a function of the wheel angles.
8.4 Path versus trajectory
A path is a curve in pose space (x, y, θ): 3 dimensions. A trajectory adds time: (x, y, θ, t), 4 dimensions. The two kinds of robots with δM = 3 differ here:
The omnidirectional robot controls all 3 velocities directly (δm = 3): it can follow any trajectory, at any speed along it. But it is not stable at high speed (centripetal forces on wheels that do not resist sideways), and it needs ground clearance and suspension for its special wheels.
The two-steer robot (δm = 1, δs = 2) can choose any ICR, so it can follow any path. But changing the steering takes time, so arbitrary trajectories are not possible.
A car-like robot with nonholonomic constraints is more stable: the sideways centripetal force in a turn is passively counteracted by the sliding constraints of its wheels. This is one reason why cars and fast outdoor robots are nonholonomic on purpose.
Choosing between the families
If you need…
Choose
Because
tight spaces, sideways motion, direct paths
omni or Mecanum
holonomic, DDOF = 3
low cost, spin on the spot
differential drive
only 2 motors, δm = 2
speed, outdoors, long distances
car-like (Ackermann)
stable: the constraints resist sideways forces
The essentials
DOF = poses the robot can reach; DDOF = velocities it can produce at one instant.
Holonomic: DDOF = DOF. Nonholonomic: velocity constraints that cannot be integrated into position constraints.
A path is a curve in (x, y, θ); a trajectory is the same curve with the time.
A path is a curve; a trajectory is the same curve with the time of each point. Here the robot is slow at first, then fast.
Key terms
DOF / DDOF
holonomic
nonholonomic
integrable
path / trajectory
parallel parking
Exercises
Try each exercise yourself first. Type your answer in the box (the checker accepts a small tolerance) or pick an option; use the hint only if you are stuck, and read the solution to compare your method.
Level 1 · Beginner1
A car has DOF = 3 and DDOF = 1. Is it holonomic?
Yes.
No: it is holonomic only if DDOF = DOF.
Solution
DDOF < DOF means that some poses can be reached only with manoeuvres, not directly: the robot is nonholonomic.
Level 1 · Beginner2
What is the number of dimensions of a trajectory (x, y, θ, t)?
Solution
A path has 3 dimensions (x, y, θ); a trajectory adds the time: 4.
Level 2 · Intermediate3
Why is the sliding constraint of a wheel “nonholonomic”?
Because it contains the velocities (ẋ, ẏ, θ̇) and cannot be integrated into a relation between positions.
Because it contains the wheel radius.
Because wheels are round.
Solution
The constraint ẋ sin θ − ẏ cos θ = 0 involves derivatives; the test of the mixed second derivatives fails (−sin θ ≠ 0), so no function of (x, y, θ) alone can replace it.
Level 2 · Intermediate4
A robot with three omni wheels has DDOF = 3 and DOF = 3. Which statement is true?
It is holonomic and can follow any trajectory (path and speed).
It is nonholonomic.
It can only follow paths, not trajectories.
Solution
DDOF = DOF ⇒ holonomic. With δm = 3 it controls all three velocities directly. (At high speed it is limited by wheel slip and stability, not by kinematics.)
Level 3 · Professional5
Why are fast outdoor robots often nonholonomic on purpose?
Because holonomic robots cannot move forward.
Because the sliding constraints of the wheels passively counteract the sideways centripetal force in a turn, which makes the robot stable.
Because nonholonomic robots are cheaper to program.
Solution
Standard wheels resist sideways forces thanks to grip: they give stability at speed. Omni wheels do not resist sideways, so a holonomic robot is less stable in fast turns.
Check yourself
A car has DOF = 3 and DDOF = 1. Is it holonomic?
No: DDOF < DOF, so it is nonholonomic (it can reach every pose, but not directly).
Why does a robot with a pose function s(x, y, θ) not exist for the distance travelled?
Because ∂²s/∂θ∂x = −sin θ is different from ∂²s/∂x∂θ = 0: the constraint is not integrable.
What is the difference between a path and a trajectory?
A path is a curve in (x, y, θ); a trajectory also gives the time (x, y, θ, t).
Glossary
All the words of the course in one place.
Term
Meaning
Pose / posture
The position and orientation of the robot: (x, y, θ).
Rotation matrix R(θ)
Converts a vector from the global frame to the robot frame.
Rolling constraint
The wheel contact moves along its plane at r·φ̇ (pure rolling).
Sliding constraint
The wheel contact has no speed across its plane (no lateral slip).
Standard wheel (fixed / steered)
A wheel that rolls and does not slide; it constrains the robot.
Castor wheel
A wheel whose steering axis is offset from the contact point; it does not constrain the robot.
Swedish / Mecanum wheel
A wheel with free rollers on its rim: it also moves along the rollers.
Differential drive
Two driven wheels on one axle; v = (V_R + V_L) / 2, ω = (V_R − V_L) / L.
ICC / ICR
Instantaneous centre of curvature / rotation: the point around which the robot turns at one instant.
Ackermann steering
The inside front wheel turns more than the outside one, so all four wheel axes meet at the ICR.
Synchro drive
Three wheels driven and steered together by belts; the ICC is at infinity.
Degree of mobility δm
3 − rank of the sliding constraints: velocities available immediately.
Degree of steerability δs
Number of independent steering motions that change the constraints over time.
Degree of maneuverability δM
δm + δs: total degrees of freedom the robot can control.
DOF / DDOF
Poses the robot can reach / velocities it can produce independently at one instant.
Holonomic / nonholonomic
A holonomic robot has DDOF = DOF; a nonholonomic one has velocity constraints that cannot be integrated.
Path / trajectory
A curve in (x, y, θ) / the same curve with time.
Odometry
Computing the pose by integrating the wheel motions; it drifts.
Mecanum drive
Four Mecanum wheels in an X layout: holonomic; the wheel speeds satisfy FL + FR = RL + RR.
Swerve drive
Independently steered and driven modules; each module speed and angle come from u = (v_x − ω y, v_y + ω x).
Pure pursuit
Path following by steering along the circle to a look-ahead point: κ = 2 y_g / L_d².
Dubins / Reeds–Shepp path
Shortest path with a minimum turning radius, forward only / with reversing.
Calibration
Measuring and correcting the systematic parameters (wheel radii, track) of the odometry.
Kalman filter / EKF
Combines a prediction and a measurement according to their uncertainties; the EKF linearises a nonlinear motion model.
Rolling resistance c_rr
Ratio of the rolling force to the weight.
RMS torque
Root-mean-square torque over the work cycle: it must stay below the continuous torque of the motor.
Stopping distance
v·t_r + v² / (2a): reaction travel plus braking.
STO (Safe Torque Off)
A certified function of the motor drive that removes the torque safely.
cmd_vel / Twist
The ROS velocity command: linear.x = v (m/s), angular.z = ω (rad/s).
This course was written from these books, papers, standards and documentation. They are also the best way to go further.
Course materials
J. Xiao, Mobile Robot Locomotion, City College of New York.
H.-Y. Lin, Autonomous Mobile Robots, Mobile Robot Kinematics, National Chung Cheng University.
References
R. Siegwart, I. R. Nourbakhsh, D. Scaramuzza, Introduction to Autonomous Mobile Robots, 2nd ed., MIT Press, 2011.used for:the whole course: wheels, kinematic constraints, ICR, maneuverability
G. Campion, G. Bastin, B. d’Andréa-Novel, “Structural properties and classification of kinematic and dynamic models of wheeled mobile robots”, IEEE Transactions on Robotics and Automation, 12(1), 1996.used for:classification of wheeled robots (degree of mobility and steerability)
K. M. Lynch, F. C. Park, Modern Robotics: Mechanics, Planning, and Control, Cambridge University Press, 2017 (free at modernrobotics.org).used for:nonholonomic constraints
Part 1 done: you know how every wheeled robot moves!
You can model any drive, compute its wheel speeds and count its degrees of freedom. Part 2 teaches you to control it, plan its paths, calibrate, filter, size, program, secure and test it, up to the final exam and the labs.