Select a signal or an input count to trace its role. Enter or Space selects; Esc clears.
Start with the 61 actor inputs, then select the foot information to compare their roles.
IMU-like motion · 6 values
3 angular velocities + 3 projected-gravity components. IMU means inertial measurement unit. Angular velocity describes how the body is rotating. Projected gravity describes which way down points in the robot's frame.
The actor's readings come from simulation state with modeled mounting misalignment, latency, and noise. The critic reads the underlying angular velocity and gravity directly.
Joint measurements · 28 values
14 positions + 14 velocities, in the servo order you defined. Positions are offsets from the standing pose; velocities describe how quickly each joint moves. For example, head_yaw reports the head's turn relative to its nominal angle.
The actor's positions include encoder bias and noise, and its velocities include noise and a one-sample delay. The critic uses positions without encoder bias and velocities without that added noise or delay.
Previous action · 14 values
Both networks receive the policy's last 14 action values. This gives the actor a record of what it just requested from each motor, alongside measurements of the resulting motion.
For head_yaw, the previous action is the requested angle offset. Its joint-position input reports the measured angle relative to the standing pose.
Requested behavior · 13 values
3 velocity commands + 4 head commands + 6 body-pose commands. These tell both networks what behavior is requested. A forward-speed command sets the desired speed; the resulting speed comes from the robot's motion.
The six body-pose values remain in the inherited input layout, with their reward disabled. Teaching the duck to follow them would require a training objective and evaluation for that behavior.
The critic reads the simulated base's forward, sideways, and vertical velocity in the robot's frame. These help it judge how the robot is moving while it learns to estimate future return.
The actor's configured 61-value input contains angular velocity and desired velocity commands. Only the critic receives this direct base linear-velocity measurement.
Foot information · 12 critic inputs
2 foot heights + 2 air times + 2 contact indicators + 6 force components. The two feet contribute three contact-force components each, compressed before they reach the critic.
Foot contacts and air time also support rewards and evaluation. Think of a foot-contact reward as feedback about the step the duck just took; the actor learns from that feedback through PPO. In this configuration, direct foot measurements reach the critic.
To feed a new sensor measurement to the actor, add it explicitly to ObservationsCfg.PolicyCfg.
The actor chooses motion from 61 inputs
6 IMU-like + 28 joint + 14 previous-action + 13 command values = 61. These form the input to the policy. It produces 14 joint-angle offsets, one per motor.
When you play a trained policy, these are the inputs it needs to choose actions. Adding a sensor to the scene makes data available; ObservationsCfg.PolicyCfg selects what reaches the actor.
61 values from the shared signal types + 3 base-velocity + 12 foot values = 76. The critic uses cleaner motion and joint measurements, along with the same previous actions and commands.
Its value estimate predicts discounted future reward. Proximal policy optimization (PPO) combines experience, rewards, and these estimates to update both networks. Giving the critic more information while the actor keeps its 61 inputs is called asymmetric actor–critic training.