Skip to content

Commit

Permalink
add reset to held_obj_to_base_link
Browse files Browse the repository at this point in the history
  • Loading branch information
yichao-liang committed Jun 29, 2024
1 parent 057e25d commit 5bec0aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions predicators/envs/pybullet_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def _reset_state(self, state: State) -> None:
p.removeConstraint(self._held_constraint_id,
physicsClientId=self._physics_client_id)
self._held_constraint_id = None
self._held_obj_to_base_link = None
self._held_obj_id = None

# Reset robot.
Expand Down

0 comments on commit 5bec0aa

Please sign in to comment.