TL;DR:
A mecanum wheel has rollers set at 45° around its rim, so a spinning wheel pushes the robot diagonally, not just forward.
With four wheels in an X pattern, the robot can drive forward, sideways or spin by choosing which wheels turn which way.
Mecanum drive needs a flat, grippy floor and gives up some efficiency compared with ordinary wheels.
A normal wheel can roll forward and back, but it will not roll sideways. That is why parking a car in a tight spot takes several tries. A mecanum robot slides straight sideways into the space. The trick is in the rim of the wheel.
What a mecanum wheel is
A mecanum wheel looks like an ordinary wheel with a ring of small barrel-shaped rollers around its edge. The rollers are mounted at an angle, normally 45°, to the wheel's axle. Each roller spins freely, like a small caster, but only about its own axis.
When the wheel turns, the part of a roller touching the floor has a force on it that the free roller cannot resist along its own axis. It can only push on the floor in the direction perpendicular to the roller's axis. That direction is 45° off the wheel's rolling direction.
The physics: forces at 45°
Think of one wheel that is driven by a motor so that it pushes the floor with a tangential force T along its rolling direction. The roller only transmits force perpendicular to its axis, so the actual push on the floor is at 45° to the rolling direction. The push has two equal components:
a part along the rolling direction (forward), equal to T;
a part sideways, along the wheel's axle direction, also equal to T, whose sign depends on which way the rollers are slanted.
The total floor force on that wheel is T / cos 45° = 1.414 T. The extra 0.414 T is wasted as sideways load the robot has to balance, which is part of why mecanum drive is less efficient than ordinary wheels.
Four wheels are mounted in an X pattern when viewed from above: the rollers on the front-left and rear-right wheels slant one way, and those on the front-right and rear-left wheels the other way. This way the sideways components can be made to add up or to cancel.
Worked example: which wheels spin which way to strafe
Each wheel has a drive torque of 0.5 N·m on a radius of 0.05 m, so T = 0.5 / 0.05 = 10 N. Each wheel therefore pushes with 10 N forward-equivalent and 10 N sideways (sign depends on the wheel).
Drive forward. All four wheels turn forward.
Forward forces:
4 × 10 = 40 N.Sideways forces: two wheels push left and two right, so they cancel to 0 N.
Strafe right. Front-left forward, front-right backward, rear-left backward, rear-right forward.
Forward parts:
+10 − 10 − 10 + 10 = 0 N, they cancel.Sideways parts: all four add toward the right,
4 × 10 = 40 N.
Rotate in place. Left wheels backward, right wheels forward (for a counterclockwise spin). The forward parts form a couple around the center, and the sideways parts cancel to a net zero.
For speed: if each wheel has radius 0.05 m and turns at 10 rad/s, the rim speed is 0.05 × 10 = 0.5 m/s. Driving forward at that wheel speed moves the robot forward at 0.5 m/s. The same wheel speeds in the strafe pattern move the robot sideways at the same 0.5 m/s in the ideal case. The robot's sideways speed on a real floor is usually lower.
In general, for wheel angular speeds ω_FL, ω_FR, ω_RL, ω_RR and radius r (for the X layout above), the body motion is:
forward speed = r (ω_FL + ω_FR + ω_RL + ω_RR) / 4 speed to the left = r (−ω_FL + ω_FR + ω_RL − ω_RR) / 4
For the strafe-right pattern ω = (+, −, −, +) the left speed is r(−ω0 − ω0 − ω0 − ω0)/4 = −r ω0, which is rightward at r ω0 = 0.5 m/s when ω0 is 10 rad/s. This matches the force reasoning.
Floor limits and other problems
Floor friction. The sideways forces rely on grip at the rollers. On polished or dusty floors the robot slides in a different direction than you commanded.
Bumps and gaps. The small rollers are weak on uneven floors, carpet or gaps. Large bumps can stop the robot.
Weight on all four wheels. If one wheel loses contact, the force balance is lost and the robot drifts. Use suspension or a rigid flat floor.
Efficiency. Part of the push is wasted, as the
1.414 Tshows, so mecanum robots use more energy than a differential drive.Vibration. Rollers hit the floor in sequence and make a small bump. This can disturb sensors, so smooth the readings.
Odometry. Slip is more common, so wheel encoders are less trustworthy. Use an IMU or another sensor to help.
Safety: A mecanum robot can move in any direction instantly, including toward a bystander, and its rollers and wheel rims can trap fingers and cables. Limit speed in testing, keep the robot lifted when checking the direction of each wheel, and have a power switch within reach.
How real robots use them
Mecanum wheels are common on robot competition chassis, warehouse carts and workshop vehicles that need to move in tight spaces and place something precisely. The robot gains the ability to move in any planar direction without turning first, called holonomic motion. For comparison, the simpler differential drive cannot slide sideways, and car-style steering cannot spin in place.
Try it yourself
Lift a mecanum robot off the table. Spin each wheel by hand and note which way the rollers tilt. Then draw a top-down view of the four wheels with the roller slants as lines, and for each wheel draw the diagonal push for forward rotation. Work out which combination of wheel directions gives a strafe, then verify with the robot lifted and slowly powered before you put it on the floor.
Frequently asked questions
Why are the rollers at 45°?
At 45° the sideways and forward components of the push are equal, so a simple pattern of wheel directions produces forward, sideways and rotation with the same speed.
Are mecanum wheels better than normal wheels?
They allow sideways motion, but they need a flat floor and waste some energy. Normal wheels are better for rough ground and long driving.
