I am using the "HalfCheetahMuJoCoEnv-v0" env in pybulletgym.
I frequently end up in this error . This error doesnt happen always. But randomly ..
Code: Select all
File "..\lib\pybullet-gym\pybulletgym\envs\mujoco\robots\robot_bases.py", line 356, in set_torque
self._p.setJointMotorControl2(bodyIndex=self.bodies[self.bodyIndex], jointIndex=self.jointIndex,
controlMode=pybullet.TORQUE_CONTROL, force=torque) #, positionGain=0.1, velocityGain=0.1)
error: Not connected to physics server.
Appreciate any help to debug this. Thanks