Muscle-Wire Gait Lab

The 4-limb gait engine from Robot/limbs/gait, running on a simulated body. Set a desire with speed, change the ground, and watch the feet decide when to step.

Side view · left legs in front Wire colour shows heat: dark is cool, orange is fully activated
Top view · support
foot down foot in the air
Bodystable
Ground speed0.0body lengths / min
Step cycle0.00Hz desired
Roll0.0°+ right side down
Pitch0.0°+ nose down
Stability margin0%of body length
Distance0.0body lengths
Leg events
    Footfalls and muscle commands · last 8 s
    stance waiting to lift reaching for ground

    Under each leg's bar: shoulder command (above the line is forward, below is back) and knee command (above is bend/support, below is lift), as % activation.

    PWM frame · 4096 counts 512 counts per muscle at 100%

    The gait engine here is a direct port of gait.c: the same phase clock, coupling, lift-off and touchdown rules, slew limit and leveling. The body is a simple model for illustration. The shoulder turns the upper segment ±30° in the plane of the body, so the knee always sits at body height. The knee swings the lower segment 0–80° from vertical: relaxed it folds up to 80°, and full bend pulls it toward vertical. Each wire heats in about 0.15 s and cools in about 0.35 s, and when fewer than three feet hold the body up it sags toward the unsupported side. Treat the numbers as qualitative until the PWM board is measured.