Rough Terrain Adaptive Gait
Robust bipedal walking policy trained with severe terrain height variation, uneven steps, and external lateral pushes.
About this behavior
Extends the baseline velocity policy with continuous heightfield domain randomization in MuJoCo Warp. Features higher foot clearance during the swing phase and aggressive compliance response when the leading foot strikes premature obstacles or depressions.
Runtime contract
61-dimension input · 14 joint targets · 50 Hz
Show details
Runtime contract
61-dimension input · 14 joint targets · 50 Hz
Positions, velocities, previous actions, gravity, and gyro.
Forward, lateral, and yaw velocity intent.
Neck and head orientation targets.
Six-axis torso offset command.
hip yaw · hip roll · hip pitch · knee · ankle
neck pitch · head pitch · yaw · roll
hip yaw · hip roll · hip pitch · knee · ankle
Verification
- Status
- Simulation tested
- Evidence
- Verified in mjlab simulation traversing procedural heightfield terrain and surviving continuous lateral disturbance forces.
- Target hardware
- MicroDuck v1 (Rockchip RK3566, 14 Dynamixel XL330-M077)
- Simulation
- mjlab (MuJoCo Warp) at 50 Hz
- Note
- Higher energy consumption due to elevated swing trajectory.
Compatibility
- Robot model
- microduck-standard
- MJCF model
- robot_walk.xml
- Terrain
- roughflat
- Required accessories
- None — standard duck setup
Run it on your duck
Use the canonical model and this policy slot to try the behavior locally.
Deployment stepsShow instructions
curl -L "https://raw.githubusercontent.com/pollen-robotics/microduck_rl/develop/docs/models/rough_walking.onnx" -o "/opt/robot/policies/rough_walking.onnx"[policy]
walk = "/opt/robot/policies/rough_walking.onnx"sudo systemctl restart robotd
robotctl healthuv run play Mjlab-Velocity-Rough-MicroDuck