Helping Chubu Take Its First Steps
From being unable to stand and falling over again and again, to shuffling a few slow steps by round 60. This is how I used replays to spot problems and tune the gait across more than 8,000 rounds of simulation training for the Chubu bipedal robot.
Notes from Over 8,000 Rounds of Simulation Training for a Bipedal Robot
Around round 60, Chubu finally managed to shuffle forward a few small steps. It moved slowly, and within a single step the same foot would hit the ground twice. Watching the replay, the foot would land once, lift slightly, touch down again, and only then would the other foot swing forward. Sped up, it genuinely looked like walking. At normal speed, every step seemed hesitant.
Even so, I was thrilled. Because at the very beginning, it couldn't even stand.
Stand First, Walk Later
Chubu is a bipedal robot I'm building. Each leg has three hip joints, one knee joint, and one ankle joint—ten actuated joints in total. Once the model was assembled, I dropped it into MuJoCo to see if it could stand on the ground.
When I first launched the simulation, the robot on screen looked perfectly fine. But the moment the physics started computing, it toppled over. Visually, both feet were planted and the legs were where they should be. Only when gravity, joint torques, and foot contact all kicked in did we find out whether that posture could actually hold.
Eventually Chubu learned to stand. That's when I started training it to walk—and quickly realized that standing had made me overconfident. When standing, both feet share the load. To take a step forward, you have to shift your weight onto one leg so the other can leave the ground. And when that swinging foot lands, it has to catch the body's continuing forward motion. Standing is holding a pose; walking is a chain of support handoffs, and any one of them can undo everything you got right before.
In Walking Training, Falling Is the Most Common Sight
In the early stages of walking training, Chubu fell constantly. It fell when lifting a foot, and it fell when putting one down. The simulation resets after detecting a fall, placing the robot back in its starting pose to try again. For a while, watching the training replays felt like this: get up, try to step, fall, repeat.
I gave the policy a reference gait, telling it which foot should support and which should swing at each point in the cycle, along with roughly how high the swinging foot should lift. Every 20 milliseconds, the policy reads the current state and outputs corrections to the target angles of all ten joints. This let me set a stepping rhythm while allowing it to adjust based on body tilt, joint positions, and velocities.
Those small steps around round 60 emerged during this phase. It could transfer weight from one foot to the other and string together several steps, but the double foot contacts and sluggish pace were obvious. If you only measure how far it traveled over a period of time, you easily miss the problems in the movement itself. Replays made the double contacts clear, and told me the next thing to investigate: when the foot leaves the ground, when it lands, and what the leg is doing between those two contacts.
Breaking "Walking Well" Down into Things You Can See
In later training, I gradually decomposed the gait I wanted into observable pieces. Forward velocity was one. Whether joint motions were smooth was another. Whether the body bounced abruptly on landing was yet another. The left and right legs also needed separate attention—sometimes a movement looked fluid from one angle, but switching the view revealed big differences in how the two legs stepped.
In subsequent versions, I increased the penalties for motion jitter and landing impacts, and pushed the policy to care more about left-right symmetry. Take foot contact as an example: when the contact signal flips from airborne to grounded, you can log that landing and check the foot's downward velocity just before impact. That way, "landing impact" becomes a measurable quantity in training, and the bounce visible in the replay gets a number to compare against.
The trickiest part of writing these scoring rules is that they pull against each other. To walk faster, the swing leg has to keep up; to land softly, you need time to retract the leg and absorb the shock. I can put every metric into the training objective, but in the end I still have to go back and watch the motion to judge what Chubu actually learned. That round 60 video burned this lesson into me. A curve can tell you training is progressing, but those two uneven thuds from the sole are a different problem worth chasing.
From Flat Ground to Jumping and Landing Again
After walking, I went on to train running, obstacle traversal, and jumping in place, plus a short dance routine. They all use the same pair of legs, yet the hardest part of each movement is completely different.
When running, the reference gait changes with the speed command. As speed increases, stride frequency rises and each foot spends less time on the ground, eventually creating moments where both feet are airborne. On terrain mixing stairs, slopes, and bumps, ground height is no longer constant, and a swing trajectory that works on flat ground might clip an obstacle. Jumping in place requires chaining together a squat, push-off, flight, and landing. The landing is especially tricky: once the soles touch, the knees must bend to catch the body's weight before it can stand back up.
The little dance is my favorite. Originally I wanted it to balance on one leg while lifting the other slightly. After calculating the center of mass and support polygon, I realized Chubu's feet are narrow and its ankles don't roll sideways, making that static pose nearly impossible to hold. So I turned the high leg lift into a quick sequence: squat, twist the waist, rapidly lift and stomp down, then switch sides. The final move is highly recognizable—the little robot's dance steps are clumsy, but they suit its body perfectly.
I also added random payload training from 0–250 grams. In the future, the chassis may carry a shell, cameras, or other parts; as weight changes, so do the forces during liftoff and landing. Introducing weight variation into simulation early ensures training covers scenarios we're likely to encounter. In the released replay package, you can manually set the payload and run the same motion policy to compare empty versus loaded performance.
After 8,000+ Rounds, the Next Step Is Assembly
So far, these tasks add up to over 8,000 rounds of training. Looking back through the logs, the ones I most want to keep are those first few dozen. Unable to stand, standing, falling endlessly, then barely shuffling a few steps—each stage revealed a new problem. Those steps around round 60 were slow and the footfalls weren't clean, but that replay was enough to break "how to walk" down into problems I could actually tackle.
The mechanical layout and the schematics and PCB layout for the joint driver boards are done; physical assembly and real-world testing come next. Once it's built, I want to recreate that earliest scenario first: can it stand? Then I'll ask it to take one small step, to see whether the motors can track the target angles under load, and how the chassis wobbles when the feet meet real ground. I plan to save that replay too, and watch it side by side with those steps from round 60 in simulation.
The simulation model, policy replays for five movements, and the driver board project files are available on the project page for local download. The complete project will be open-sourced under the MIT license once finished. Chubu Project & Downloads
