unilab.tasks.locomotion.g1.manager_terms.feet_air_time

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

Bases: _FootContactTerm

Count feet whose current air time sits inside the rewarded window.

Parameters:
  • cfg (ManagerTermBaseCfg)

  • env (_G1Env)

Methods

__init__(cfg, env)

reset([env_ids])

Resets the manager term.

Attributes

__init__(cfg, env)[source]
Parameters:
  • cfg (ManagerTermBaseCfg)

  • env (_G1Env)

reset(env_ids=None)[source]

Resets the manager term.

Parameters:

env_ids (ndarray | slice | None)

Return type:

None

__call__(env, **params)[source]

Returns the value of the term required by the manager.

Parameters:
  • env (ManagerBasedRlEnv)

  • params (Any)

Return type:

ndarray

property name: str
property num_envs: int