diff --git a/data/plane_implicit.urdf b/data/plane_implicit.urdf new file mode 100644 index 000000000..682c40014 --- /dev/null +++ b/data/plane_implicit.urdf @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/pybullet/numpy/humanoid_running.py b/examples/pybullet/numpy/humanoid_running.py index 4154faf6b..92b67fa7e 100644 --- a/examples/pybullet/numpy/humanoid_running.py +++ b/examples/pybullet/numpy/humanoid_running.py @@ -21,7 +21,7 @@ if (cid<0): #p.setGravity(1,2,-9.8) #p.setDefaultContactERP (0.4) -#p.setGravity(0,0,-9.8) +p.setGravity(0,0,-9.8) #numSubSteps=4 and fixedTimeStep=1.0/60. is an effective internal fixed step of 1./240 #recommended to not go below 50 solver iterations p.setPhysicsEngineParameter(fixedTimeStep=1.0/60., numSolverIterations=550, numSubSteps=8) @@ -29,7 +29,7 @@ p.setPhysicsEngineParameter(fixedTimeStep=1.0/60., numSolverIterations=550, numS #mp4log = p.startStateLogging(p.STATE_LOGGING_VIDEO_MP4,"humanoid.mp4") #p.loadSDF("stadium.sdf") -p.loadURDF("plane.urdf") +p.loadURDF("plane_implicit.urdf") objs = p.loadMJCF("mjcf/humanoid_symmetric_no_ground.xml",flags = p.URDF_USE_SELF_COLLISION_EXCLUDE_ALL_PARENTS) human = objs[0]