Skip to content

Commit

Permalink
Merge pull request #628 from xieleo5/fix_pot_with_handles
Browse files Browse the repository at this point in the history
fix pot with handles when pot is rectangle
  • Loading branch information
kevin-thankyou-lin authored Jan 24, 2025
2 parents 53ed0ff + 0f190a8 commit 3f92519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robosuite/models/objects/composite/pot_with_handles.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def _get_geom_attrs(self):
[-(self.body_half_size[1] - self.thickness / 2), 0, self.body_half_size[1] - self.thickness / 2, 0]
)
w_vals = np.array(
[self.body_half_size[1], self.body_half_size[0], self.body_half_size[1], self.body_half_size[0]]
[self.body_half_size[0], self.body_half_size[1], self.body_half_size[0], self.body_half_size[1]]
)
r_vals = np.array([np.pi / 2, 0, -np.pi / 2, np.pi])
for i, (x, y, w, r) in enumerate(zip(x_off, y_off, w_vals, r_vals)):
Expand Down

0 comments on commit 3f92519

Please sign in to comment.