mani_skill.agents.utils#
Functions#
|
Flat multiple Box action spaces into a single Box space. |
|
get the indices of the provided joint names from the Articulation's list of active joints |
|
Gets the Joint objects by name in the Articulation's list of active joints |
Module Contents#
- mani_skill.agents.utils.flatten_action_spaces(action_spaces)[source]#
Flat multiple Box action spaces into a single Box space.
- Parameters:
action_spaces (dict[str, gymnasium.spaces.Space]) –
- mani_skill.agents.utils.get_active_joint_indices(articulation, joint_names)[source]#
get the indices of the provided joint names from the Articulation’s list of active joints
- Parameters:
articulation (mani_skill.utils.structs.articulation.Articulation) –
joint_names (Sequence[str]) –
- mani_skill.agents.utils.get_joints_by_names(articulation, joint_names)[source]#
Gets the Joint objects by name in the Articulation’s list of active joints
- Parameters:
articulation (mani_skill.utils.structs.articulation.Articulation) –
joint_names (Sequence[str]) –