Presets#
Paper / deploy stacks as in-place env mutators. Task builders call one or more
apply_* functions on the base template — no MDP forks.
Design: Presets and tasks. Task catalog: Tasks and presets.
- wbc_mjlab.presets.apply_wbc(cfg: mjlab.envs.ManagerBasedRlEnvCfg, *, motion_body_names: tuple[str, ...], ee_termination_bodies: tuple[str, ...]) None[source]#
Default WBC stack: Zest tracking + RSI on all keybodies, EE height, light regularizers.
- Parameters:
cfg – Env config to mutate in place.
motion_body_names – Keybodies for tracking rewards / RSI.
ee_termination_bodies – Bodies for z-only EE height termination.
- wbc_mjlab.presets.apply_zest(cfg: mjlab.envs.ManagerBasedRlEnvCfg, *, reward_body_names: tuple[str, ...], contact_body_names: tuple[str, ...], force_threshold: float = 2000.0) None[source]#
Zest paper repro: no actor SE terms, reward-aligned RSI, assistive wrench.
- Parameters:
cfg – Env config to mutate in place.
reward_body_names – Keybodies for tracking rewards.
contact_body_names – Bodies for keybody ground-contact termination.
force_threshold – Contact force threshold (N).