Desired versus actual walking velocity
That the commanded velocity the actor receives is not the velocity the robot achieves, and that the achieved velocity, which a tracking reward and the critic need, is easy to read in simulation but not directly measurable on hardware.
Loading simulation…
What it demonstrates
That the commanded velocity the actor receives is not the velocity the robot achieves, and that the achieved velocity, which a tracking reward and the critic need, is easy to read in simulation but not directly measurable on hardware.
How it works
The actual forward velocity follows the command through a first-order lag with time constant τ, an acceleration limit, a slip factor that removes a fraction of the commanded speed, and Brownian disturbances. Euler integration at 200 Hz.
Adjustable parameters
- Commanded v_x (−0.5 to 1.2 m/s)
- Step pattern on/off
- Slip (0–0.5)
- τ (0.05–1.5 s)
- Noise (0–0.3)
Known limitations
- Not a locomotion simulation: there are no legs, contacts or balance.
- The tracking reward shape is a common choice in legged RL, not Menlo's documented reward.
Equations
Core update rule
let a = ((1 - slip) * cmd - v) / tau;
a = clamp(a, -maxAccel, maxAccel);
v += a * dt + noise * Math.sqrt(dt) * gaussian(rng);Explained in Chapter 9: Actor-Critic