unilab.envs.mdp.actions

Built-in action terms supported by the NumPy runtime.

class unilab.envs.mdp.actions.JointEffortAction[source]

Bases: BaseAction

Control joints via effort targets.

Parameters:
apply_actions()[source]
Return type:

None

class unilab.envs.mdp.actions.JointEffortActionCfg[source]

Bases: BaseActionCfg

Configuration for joint effort (torque) control.

Parameters:
build(env)[source]

Build the action term from this config.

Parameters:

env (ManagerBasedRlEnv)

Return type:

JointEffortAction

__init__(*, entity_name, clip=None, actuator_names, scale=1.0, offset=0.0, preserve_order=False)
Parameters:
class unilab.envs.mdp.actions.JointPositionAction[source]

Bases: BaseAction

Convert policy actions into entity joint-position targets.

Parameters:
cfg: JointPositionActionCfg
__init__(cfg, env)[source]
Parameters:
apply_actions()[source]
Return type:

None

class unilab.envs.mdp.actions.JointPositionActionCfg[source]

Bases: BaseActionCfg

Configuration for joint-position control.

Parameters:
use_default_offset: bool = True
build(env)[source]

Build the action term from this config.

Parameters:

env (ManagerBasedRlEnv)

Return type:

JointPositionAction

__init__(*, entity_name, clip=None, actuator_names, scale=1.0, offset=0.0, preserve_order=False, use_default_offset=True)
Parameters:
actuator_names: tuple[str, ...] | list[str]
entity_name: str

Name of the entity in the scene that this action term controls.

class unilab.envs.mdp.actions.JointVelocityAction[source]

Bases: BaseAction

Control joints via velocity targets.

Parameters:
__init__(cfg, env)[source]
Parameters:
apply_actions()[source]
Return type:

None

class unilab.envs.mdp.actions.JointVelocityActionCfg[source]

Bases: BaseActionCfg

Configuration for joint velocity control.

Parameters:
use_default_offset: bool = True
build(env)[source]

Build the action term from this config.

Parameters:

env (ManagerBasedRlEnv)

Return type:

JointVelocityAction

__init__(*, entity_name, clip=None, actuator_names, scale=1.0, offset=0.0, preserve_order=False, use_default_offset=True)
Parameters:
actuator_names: tuple[str, ...] | list[str]
entity_name: str

Name of the entity in the scene that this action term controls.

class unilab.envs.mdp.actions.RelativeJointPositionAction[source]

Bases: BaseAction

Control joints via position targets relative to current positions.

Parameters:
apply_actions()[source]
Return type:

None

class unilab.envs.mdp.actions.RelativeJointPositionActionCfg[source]

Bases: BaseActionCfg

Joint position targets relative to the current measured position.

target = current_joint_pos + action * scale. A fixed offset has no useful meaning for this transmission and is rejected during construction.

Parameters:
build(env)[source]

Build the action term from this config.

Parameters:

env (ManagerBasedRlEnv)

Return type:

RelativeJointPositionAction

__init__(*, entity_name, clip=None, actuator_names, scale=1.0, offset=0.0, preserve_order=False)
Parameters:

Modules

actions

Joint transmission actions for the NumPy Manager-Based runtime.