diff --git a/omnigibson/prims/rigid_prim.py b/omnigibson/prims/rigid_prim.py index 082e97123..78d9c7a3d 100644 --- a/omnigibson/prims/rigid_prim.py +++ b/omnigibson/prims/rigid_prim.py @@ -277,10 +277,10 @@ def set_local_pose(self, position=None, orientation=None): position = np.asarray(position)[None, :] if orientation is not None: orientation = np.asarray(orientation)[None, :] - self._articulation_view.set_local_poses(position, orientation) + self._rigid_prim_view.set_local_poses(position, orientation) def get_local_pose(self): - positions, orientations = self._articulation_view.get_local_poses() + positions, orientations = self._rigid_prim_view.get_local_poses() return positions[0], orientations[0] @property