Rewards#
Manager: RewardManager · Module: env/mdp/rewards.py
Tracking terms#
All primary terms use command_name="motion" and compare robot state to the
reference from MotionCommand:
Term |
Tracks |
|---|---|
|
Root pose vs reference |
|
Keybody pose (body list from cfg params — set by preset + robot) |
|
Keybody velocities |
|
Joint state vs reference |
Kernel: exp(−κ · error² / σ²). Presets such as apply_wbc set κ, σ, and
which bodies participate.
Regularizers#
Base template also defines survival, action_rate_l1, joint_acc,
joint_limit, actuator_torque_soft_limit, foot_slip, angular_momentum.
Presets set weights — many are 0 on default WBC stacks.
Reward-aligned RSI#
When RsiCfg.similarity_from_rewards=True, per-step RSI similarity is computed
from the same active motion_* terms and weights — see RSI (reference-state initialization).
API: MDP terms (Rewards). Callable names in code use the
motion_*_error_exp form (cfg term ids may be shorter aliases in presets).
Related: Tasks and presets, The robot entity.