mani_skill.utils.structs.articulation_joint#
Classes#
Wrapper around physx.PhysxArticulationJoint objects |
Module Contents#
- class mani_skill.utils.structs.articulation_joint.ArticulationJoint[source]#
Bases:
mani_skill.utils.structs.base.BaseStruct[sapien.physx.PhysxArticulationJoint]Wrapper around physx.PhysxArticulationJoint objects
At the moment, all of the same joints across all sub scenes are restricted to having the same properties as each other
- classmethod create(physx_joints, physx_articulations, scene, scene_idxs, joint_index, active_joint_index=None)[source]#
Creates an object for managing articulation joints in articulations
Note that the properties articulation, child_link, parent_link are by default None as they might not make sense in GPU sim and must be set by user
- Parameters:
physx_joints (list[sapien.physx.PhysxArticulationJoint]) –
physx_articulations (list[sapien.physx.PhysxArticulation]) –
scene (mani_skill.envs.scene.ManiSkillScene) –
scene_idxs (torch.Tensor) –
joint_index (torch.Tensor) –
active_joint_index (torch.Tensor) –
- set_drive_properties(stiffness, damping, force_limit=3.4028234663852886e+38, mode='force')[source]#
- Parameters:
stiffness (float) –
damping (float) –
force_limit (float) –
mode (Literal['force', 'acceleration']) –
- set_drive_target(target)[source]#
- Parameters:
target (mani_skill.utils.structs.types.Array) –
- Return type:
None
- set_drive_velocity_target(velocity)[source]#
- Parameters:
velocity (mani_skill.utils.structs.types.Array) –
- Return type:
None
- set_limits(limits)[source]#
- Parameters:
limits (mani_skill.utils.structs.types.Array) –
- Return type:
None
- articulation: mani_skill.utils.structs.articulation.Articulation | None = None[source]#
- child_link: mani_skill.utils.structs.link.Link | None = None[source]#
- property drive_mode: list[Literal['force', 'acceleration']][source]#
typing.Literal[‘force’, ‘acceleration’]
- Type:
type
- Return type:
list[Literal[‘force’, ‘acceleration’]]
- property global_pose: mani_skill.utils.structs.pose.Pose[source]#
- Return type:
- parent_link: mani_skill.utils.structs.link.Link | None = None[source]#