Two motor actions turn rocking into walking

Simplified top view · front ↑ · equal spacing does not indicate timing

Turning point
Motor input sustains the sway.

Centre crossing
Right feet commanded forward.

Opposite turning point
Motor input again sustains the sway.

Next centre crossing
Left feet commanded forward. Repeat.