Skip to content

Commit

Permalink
Fix targets
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Dec 13, 2023
1 parent 2c81195 commit 7348f8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omnigibson/prims/joint_prim.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,8 @@ def get_target(self, normalized=False):

# Grab raw states
targets = self._articulation_view.get_applied_actions()
pos = targets.joint_positions
vel = targets.joint_velocities
pos = targets.joint_positions[0][self.dof_indices]
vel = targets.joint_velocities[0][self.dof_indices]

# Potentially normalize if requested
if normalized:
Expand Down

0 comments on commit 7348f8d

Please sign in to comment.