unilab.envs.locomotion.common.rewards.run_reward_dispatch¶
- unilab.envs.locomotion.common.rewards.run_reward_dispatch(*, scales, fns, ctx, info, enable_log, ctrl_dt, log_every_n_steps=4, only_positive=False)[source]¶
Standard
scales × fns(ctx)reduction shared by all locomotion envs.Writes per-reward means into
info["log"]whenenable_logand thesteps[0]cadence matcheslog_every_n_steps.Returns
reward * ctrl_dt(with optional positive clamp).