Skip to content

Commit

Permalink
fix held object rotation scales
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdeitke committed Sep 21, 2020
1 parent 32c11f3 commit 61b9750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rearrange_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ def rotate_held_object(self, x: float, y: float, z: float) -> None:

if abs(x) > 0.5 or abs(y) > 0.5 or abs(z) > 0.5:
raise ValueError('Rotations must be between [-0.5:0.5].')
self._controller.step('RotateHand', x=x, y=y, z=z)
self._controller.step('RotateHand', x=x*180, y=y*180, z=z*180)

def drop_held_object(self) -> None:
"""Drop the object in the agent's hand.
Expand Down

0 comments on commit 61b9750

Please sign in to comment.