Skip to content

Commit 5bec0aa

Browse files
author
yichao-liang
committed
add reset to held_obj_to_base_link
1 parent 057e25d commit 5bec0aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

predicators/envs/pybullet_env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ def _reset_state(self, state: State) -> None:
197197
p.removeConstraint(self._held_constraint_id,
198198
physicsClientId=self._physics_client_id)
199199
self._held_constraint_id = None
200+
self._held_obj_to_base_link = None
200201
self._held_obj_id = None
201202

202203
# Reset robot.

0 commit comments

Comments
 (0)