Foot-target controlCreep · Trot · Spot rotate · Dynamic creep · Fourier prototype

Gait generation

A gait is a timed list of foot targets. Creep and trot first; spot rotate and dynamic creep came later.

1Which feet are down

Seen from above: orange is the support polygon, white the centre of mass.

ProblemLift a foot and fewer feet are left. If the centre of mass leaves their polygon, the robot tips.
ResultCreep: one foot at a time, 1.4 cm/s, at least three feet always down. Trot: diagonal pairs, 6.6 cm/s, 4.7× faster.
Loading 3D robot…
Gait
Cycle time——
Advance per cycle—from the planted feet
Mean speed—commanded, no slip
Feet down (min)——
Real · trotOn the robot, Jan 2019: diagonal pairs swing together
Real · creepOn the robot, Jul 2019: one foot at a time, payload board on top

2Joint angles over one step

One leg over one cycle: the foot path, and the joint angles it needs against the servo range.

ProblemServos take joint angles, not foot positions, and they have a range and a speed limit.
ResultEvery target is reachable and in range. Peak joint speed: creep 270°/s, trot 146°/s, both under the 354°/s servo limit.
Loading 3D robot…
Gait
Yaw range used——
Femur range used——
Knee range used——
Peak joint rate—servo max °/s

3Turning: shorten one side

ProblemThe creep only walks straight.
ResultShorten the inside legs and it steers: turn −0.4 gives +3.2° per cycle (radius ≈ 72 cm). Tighter turns use Spot rotate.
Loading 3D robot…
Heading change per cycle——
Real · turningOn the robot, Jan 2019: turning on a rough floor

4Spot rotate: turn without moving

ProblemTurning while walking needs a radius of about 42 cm.
ResultSpins on the spot: 11.4° per 4.4 s cycle, at least three feet always down.
Loading 3D robot…
Direction
Cycle time——
Heading per cycle——
One full turn——
COM margin (min)——
Real · early prototypeSpot rotate on the first hardware, Dec 2018

5Dynamic creep: find the ground

After each swing the foot is lowered in small steps while the IMU watches that leg's corner of the body. As soon as the corner starts to lift, the foot has found the ground and the leg stops lowering.

ProblemOn uneven ground one foot lands early and the body tips.
ResultBumps: worst foot 2.1 cm off the ground → 0.4 cm. Slope: tilt 6.4° → 1.4°. Cost: 8.6 s per cycle vs 3.6 s.
Loading 3D robot…
Ground
Gait

Body pitch is the tilt the IMU reads. When a lowering foot touches down, it lifts that leg's corner of the body, and that small rise in the angle is the signal dynamic creep stops on.

Touch-down error · stock—worst foot, above (+) or into (−) the ground
Touch-down error · dynamic—worst foot
Peak body pitch—dynamic · stock —
Body height · dynamic—cycle time —

6Prototype: smooth paths from a Fourier series

ProblemThe stock step is a box, so joints must change speed instantly: 572°/s against a 354°/s limit.
ResultA smooth Fourier path cuts the peak to 451°/s. Prototype only, not on the robot.
Loading 3D robot…
Curve fit: click to choose, the leg follows it
Fit error (max)—cm, — vs piecewise
Peak joint rate · stock box—servo max °/s
Peak joint rate · chosen fit——
Peak foot speed · chosen fit—cm/s
Servo lag in 3D (max)—commanded vs actual foot