unilab.envs.mdp.actions¶
Built-in action terms supported by the NumPy runtime.
- class unilab.envs.mdp.actions.JointEffortAction[source]¶
Bases:
BaseActionControl joints via effort targets.
- Parameters:
cfg (
BaseActionCfg)env (
ManagerBasedRlEnv)
- class unilab.envs.mdp.actions.JointEffortActionCfg[source]¶
Bases:
BaseActionCfgConfiguration for joint effort (torque) control.
- Parameters:
- class unilab.envs.mdp.actions.JointPositionAction[source]¶
Bases:
BaseActionConvert policy actions into entity joint-position targets.
- Parameters:
cfg (
JointPositionActionCfg)env (
ManagerBasedRlEnv)
- cfg: JointPositionActionCfg¶
- __init__(cfg, env)[source]¶
- Parameters:
cfg (
JointPositionActionCfg)env (
ManagerBasedRlEnv)
- class unilab.envs.mdp.actions.JointPositionActionCfg[source]¶
Bases:
BaseActionCfgConfiguration for joint-position control.
- Parameters:
- build(env)[source]¶
Build the action term from this config.
- Parameters:
env (
ManagerBasedRlEnv)- Return type:
- __init__(*, entity_name, clip=None, actuator_names, scale=1.0, offset=0.0, preserve_order=False, use_default_offset=True)¶
- class unilab.envs.mdp.actions.JointVelocityAction[source]¶
Bases:
BaseActionControl joints via velocity targets.
- Parameters:
cfg (
JointVelocityActionCfg)env (
ManagerBasedRlEnv)
- __init__(cfg, env)[source]¶
- Parameters:
cfg (
JointVelocityActionCfg)env (
ManagerBasedRlEnv)
- class unilab.envs.mdp.actions.JointVelocityActionCfg[source]¶
Bases:
BaseActionCfgConfiguration for joint velocity control.
- Parameters:
- build(env)[source]¶
Build the action term from this config.
- Parameters:
env (
ManagerBasedRlEnv)- Return type:
- __init__(*, entity_name, clip=None, actuator_names, scale=1.0, offset=0.0, preserve_order=False, use_default_offset=True)¶
- class unilab.envs.mdp.actions.RelativeJointPositionAction[source]¶
Bases:
BaseActionControl joints via position targets relative to current positions.
- Parameters:
cfg (
BaseActionCfg)env (
ManagerBasedRlEnv)
- class unilab.envs.mdp.actions.RelativeJointPositionActionCfg[source]¶
Bases:
BaseActionCfgJoint 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:
Modules
Joint transmission actions for the NumPy Manager-Based runtime. |