unilab.envs.mdp.actions.actions.RelativeJointPositionAction¶
- class unilab.envs.mdp.actions.actions.RelativeJointPositionAction[source]¶
Bases:
BaseActionControl joints via position targets relative to current positions.
- Parameters:
cfg (
BaseActionCfg)env (
ManagerBasedRlEnv)
Methods
__init__(cfg, env)process_actions(actions)reset([env_ids])Resets the manager term.
Attributes
Whether
apply_actionsneeds state produced by the previous physics substep.- __init__(cfg, env)¶
- Parameters:
cfg (
BaseActionCfg)env (
ManagerBasedRlEnv)
- requires_substep_state_feedback: ClassVar[bool] = False¶
Whether
apply_actionsneeds state produced by the previous physics substep.Falsedeclares that the generated control is invariant across all physics substeps in one control step, so the env may apply it once before a batched backend step. State-feedback terms must override this declaration withTrue.
- reset(env_ids=None)¶
Resets the manager term.
- cfg: BaseActionCfg¶