enable continuous action space for racecarZEDGymEnv

disable SHARED_MEMORY connection (it was just some debug test)
This commit is contained in:
Erwin Coumans
2017-09-11 17:34:06 -07:00
parent b7e7415b46
commit 3891602784
5 changed files with 21 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ from pybullet_envs.bullet.racecarZEDGymEnv import RacecarZEDGymEnv
def main():
environment = RacecarZEDGymEnv(renders=True)
environment = RacecarZEDGymEnv(renders=True, isDiscrete=True)
targetVelocitySlider = environment._p.addUserDebugParameter("wheelVelocity",-1,1,0)
steeringSlider = environment._p.addUserDebugParameter("steering",-1,1,0)
@@ -37,4 +37,4 @@ def main():
print(obs)
if __name__=="__main__":
main()
main()