Skip to content

Commit

Permalink
[Bugfix] Unsupported *= operand sapien.Pose and mplib.Pose
Browse files Browse the repository at this point in the history
  • Loading branch information
KolinGuo committed Aug 10, 2024
1 parent 43bd7ab commit ad371de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mplib/sapien_utils/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def convert_physx_component(comp: PhysxRigidBaseComponent) -> FCLObject | None:
shapes: list[CollisionObject] = []
shape_poses: list[Pose] = []
for shape in comp.collision_shapes:
shape_poses.append(shape.local_pose) # type: ignore
shape_poses.append(Pose(shape.local_pose)) # type: ignore

if isinstance(shape, PhysxCollisionShapeBox):
c_geom = Box(side=shape.half_size * 2)
Expand Down

0 comments on commit ad371de

Please sign in to comment.