Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Dec 13, 2023
1 parent fe44403 commit bd54838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omnigibson/prims/rigid_prim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd54838

Please sign in to comment.