unilab.tasks.locomotion.g1.manager_terms.feet_phase_contrast

class unilab.tasks.locomotion.g1.manager_terms.feet_phase_contrast[source]

Bases: _GaitRewardTerm

Reward left/right foot-height contrast against the gait-phase targets.

Parameters:
  • cfg (ManagerTermBaseCfg)

  • env (_G1Env)

Methods

__init__(cfg, env)

reset(env_ids)

Resets the manager term.

Attributes

__call__(env, **params)[source]

Returns the value of the term required by the manager.

Parameters:
  • env (_G1Env)

  • params (Any)

Return type:

ndarray

__init__(cfg, env)
Parameters:
  • cfg (ManagerTermBaseCfg)

  • env (_G1Env)

property name: str
property num_envs: int
reset(env_ids)

Resets the manager term.

Parameters:

env_ids (ndarray | slice | None)

Return type:

Any