MuJoCo simulation12 DOF · Sim2Real

Sim 2 Real comparison

How well the MuJoCo sim predicts the real robot: timing, mass, climbing, and where it falls short. How the simulation is modelled →

Verdict

Does the sim predict the robot?

Mostly yes for timing and mass. Not yet for loaded walking.

Trot timingAfter calibrating servo latency1.69 s vs 1.73 s
Total massModel weighed against the real robot1.82 = 1.82 kg
Tilt on a 15° rampSim only: levelling lowers peak tilt in all 160 runs8–12° vs 19°
Creep turn timingLatency closes part of the gap3.2 s vs 3.9 s
Creep timingReal clips scatter too much to pin down (15 clips)2.4–6.0 s
Walking with payloadReal robot is slower than the sim4.8 s vs 3.0 s
TransfersGait timing, mass, and which gaits climb. Same controller code.
Not yetLoaded walking is slower on hardware, and the payload limit is untested.
NextLog the IMU on a real ramp, and walk with 1–3 kg to find the true limit.
Side by side

Hardware vs simulation

Same gait or terrain on the robot and in the simulation.

Footage

Hardware footage

Recorded 2018–2019.

Calibration

Closing the timing gap

Adding the measured servo write latency to the sim moves cycle times toward the footage.

Trot
Sim 1.50 s
Calibrated 1.69 s
Real 1.73 s
Creep turn
Sim 3.00 s
Calibrated 3.24 s
Real 3.93 s
Creep
Sim 3.0 s
Real median 4.2 s (2.4–6.0)
Calibrated simReal footage

Cycle times come from autocorrelation of footage motion, checked against sim clips with known timing. Real creep clips are weakly periodic, so that gap stays unresolved.

Robustness Simulation only

How fragile is it?

Goal reached, by foot friction (μ). 252 runs; ramp and gravel rows vary IMU noise seed or terrain layout.

μ 0.4μ 0.8μ 1.5 (default)μ 2.0
Ramp 15°, levelled · 1× IMU noise0/206/2020/2020/20
Ramp 15°, levelled · 2× IMU noise0/207/2014/2019/20
Ramp 15°, stock stance0/11/11/11/1
Gravel 8 cm · 1× noise7/1010/1010/1010/10
Gravel 8 cm · 2× noise8/1010/109/1010/10
Stairs 4 cm, normal stance0/10/10/10/1
Stairs 5 cm, tall stance0/10/11/10/1

Friction decides the climb: nothing climbs at μ 0.4. Doubled sensor noise hurts at μ 1.5 (14/20). Stairs are deterministic, so n = 1. The 5 cm stairs only work at the default friction.

Payload Simulation only

Payload

Creep for 20 s with a virtual payload. Real robot with payload: 1.82 kg.

PayloadTotal massCreep speedPeak tiltBody heightResult
None1.38 kg2.25 cm/s0.7°16.2 cmWalks
0.44 kg · matches the real robot1.82 kg2.18 cm/s0.9°16.1 cmWalks
1.0 kg2.38 kg2.13 cm/s1.0°16.0 cmWalks
2.0 kg3.38 kg2.48 cm/s2.6°15.8 cmWalks
3.0 kg4.38 kg2.82 cm/s9.7°15.7 cmWalks, tilting
4.0 kg5.38 kg0.37 cm/s28°6.8 cmCollapses