Skip to content
Tactiverge

School/◇ Explorer/Week 26

Steering without a steering wheel

Robot vacuums, rovers and wheelchairs often have no steering wheel at all. So how do they turn?

About 25 min · 3 goals · Checked by automated tests; not yet reviewed by an educator

1.Why should I care?

Two motors, two wheels and a caster are the most common robot body in the world: cheap, simple and able to spin on the spot. Knowing how wheel speeds turn into motion lets you predict, plan and program a robot's path.

  • ◇ Explain how two independently driven wheels make a robot go straight, curve or spin.
  • ◇ Calculate a two-wheeled robot's forward speed from its wheel speeds.
  • ◇ Choose wheel speeds for a given manoeuvre.

2.Predict

A robot's left wheel turns forwards at 5 cm/s and its right wheel backwards at 5 cm/s. What does the robot do?

Guess first. Being wrong here is how the surprise works.

3.Discover

Make the robot go straight, then curve left, then curve right, then spin on the spot. Write down the wheel speeds for each.

Two-wheel steering

Many robots have no steering wheel: they turn by driving their left and right wheels at different speeds. Set each wheel and see the path for the next 4 seconds.

6 cm/s
6 cm/s

Grid squares are 20 cm. Wheels are 10 cm apart. Grey dot: start, facing up.

Equal speeds: it drives straight forwards. Forward speed (average of the wheels) = (6 + 6) ÷ 2 = 6 cm/s. In 4 s it turns 0°.

Can't use the interactive? Read a description instead

The wheel-drive diagram can be replaced by this description, with wheels 10 cm apart, over 4 seconds. Both 6 cm/s: straight, 24 cm forwards. Left 2, right 6: forward speed 4 cm/s, curves left about 92°. Left 6, right 2: curves right about 92°. Left −5, right 5: forward speed 0, spins left on the spot about 229°.

4.Watch

→ Look at how the rover's wheels are arranged and which ones can steer.

A detailed animated tour of Perseverance's wheels, cameras, arm and power system, all in one place.

16 min 31 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

5.Understand

Same speeds: straight

If both wheels turn forwards at the same speed, the robot drives straight. Its forward speed is the average of the two wheels: (left + right) ÷ 2.

Different speeds: curve

If one wheel is faster, the robot curves away from it, towards the slower wheel. Right wheel faster: it curves left. The bigger the difference, the tighter the turn. This is called differential drive.

Opposite speeds: spin

Equal and opposite speeds make the average zero, so the robot doesn't go anywhere. It just rotates on the spot. Being able to turn without moving is very handy in tight spaces.

Explain it another way

Rowing a boat: pull both oars equally and you go straight. Pull only the right oar and you swing left. Pull one forwards and one backwards and you spin.

Worked example 1

A robot's wheels go 8 cm/s (left) and 4 cm/s (right). What's its forward speed, and which way does it curve?

Forward speed = (8 + 4) ÷ 2 = 6 cm/s. The left wheel is faster, so the robot curves right, towards the slower wheel.

Common mix-ups

  • A robot turns towards its faster wheel.
    ✓ It turns away from the faster wheel, towards the slower one.
  • Robots need a steering wheel or steerable wheels to turn.
    ✓ Driving two fixed wheels at different speeds is enough.

6.Practice

Practice, not a test. Wrong answers get a hint and another try.

Practice 1

Left wheel 10 cm/s, right wheel 6 cm/s. What is the robot's forward speed, in cm/s?

cm/s

Practice 2

Left wheel 3 cm/s, right wheel 7 cm/s. Which way does the robot curve?

Practice 3

Which wheel speeds make the robot spin on the spot to the left?

Practice 4 · a fresh version every time

A robot faces north (0°). Compass angles go clockwise: east 90°, south 180°, west 270°. It makes these 90° turns: right, right, right, left, right. Which compass angle does it face at the end (0 to 270)?

7.Apply it

Using the wheel-drive diagram, find wheel speeds that make the robot turn about a quarter turn (90°) left in 4 seconds while still moving forwards. Then write a short program for a robot to drive a square using only 'set left speed', 'set right speed' and 'wait'.

8.Reflect

Concepts: Motors, servos and steppers · Joints, degrees of freedom and workspace