Skip to content

Commit

Permalink
Comment debug lines in robot_bases
Browse files Browse the repository at this point in the history
  • Loading branch information
benelot committed Oct 8, 2018
1 parent 64eb6e2 commit 814e4a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pybulletgym/envs/mujoco/robot_bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def reset(self, bullet_client):
full_path = os.path.join(os.path.dirname(__file__), "..", "assets", "mjcf", self.model_xml)

self._p = bullet_client
print("Created bullet_client with id=", self._p._client)
#print("Created bullet_client with id=", self._p._client)
if self.doneLoading == 0:
self.ordered_joints = []
self.doneLoading=1
Expand Down
6 changes: 3 additions & 3 deletions pybulletgym/envs/roboschool/robot_bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ def __init__(self, model_xml, robot_name, action_dim, obs_dim, self_collision=Tr
XmlBasedRobot.__init__(self, robot_name, action_dim, obs_dim, self_collision)
self.model_xml = model_xml
self.doneLoading=0
def reset(self, bullet_client):

def reset(self, bullet_client):
full_path = os.path.join(os.path.dirname(__file__), "..", "assets", "mjcf", self.model_xml)

self._p = bullet_client
print("Created bullet_client with id=", self._p._client)
if (self.doneLoading==0):
# print("Created bullet_client with id=", self._p._client)
if self.doneLoading == 0:
self.ordered_joints = []
self.doneLoading=1
if self.self_collision:
Expand Down

0 comments on commit 814e4a0

Please sign in to comment.