fix a few pybullet Gym environments for rendering in stable_baselines
if PYBULLET_EGL environment is set, try to enable EGL for faster rendering bump up pybullet to 2.6.2
This commit is contained in:
@@ -32,7 +32,7 @@ class StadiumScene(Scene):
|
||||
for i in self.ground_plane_mjcf:
|
||||
self._p.changeDynamics(i, -1, lateralFriction=0.8, restitution=0.5)
|
||||
self._p.changeVisualShape(i, -1, rgbaColor=[1, 1, 1, 0.8])
|
||||
self._p.configureDebugVisualizer(pybullet.COV_ENABLE_PLANAR_REFLECTION, 1)
|
||||
self._p.configureDebugVisualizer(pybullet.COV_ENABLE_PLANAR_REFLECTION,i)
|
||||
|
||||
# for j in range(p.getNumJoints(i)):
|
||||
# self._p.changeDynamics(i,j,lateralFriction=0)
|
||||
|
||||
Reference in New Issue
Block a user