From 3849612403dc924db590c0a38789aab418073a5f Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Fri, 5 May 2017 17:42:43 -0700 Subject: [PATCH] pybullet benchmark: make some parameters explicit --- examples/pybullet/examples/humanoid_benchmark.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/pybullet/examples/humanoid_benchmark.py b/examples/pybullet/examples/humanoid_benchmark.py index 2a9c0cf68..8f5648159 100644 --- a/examples/pybullet/examples/humanoid_benchmark.py +++ b/examples/pybullet/examples/humanoid_benchmark.py @@ -3,7 +3,10 @@ import time p.connect(p.GUI) p.setGravity(0,0,-10) p.setPhysicsEngineParameter(numSolverIterations=5) -p.loadMJCF("mjcf/humanoid.xml") +p.setPhysicsEngineParameter(fixedTimeStep=1./240.) +p.setPhysicsEngineParameter(numSubSteps=1) + +p.loadMJCF("mjcf/humanoid_symmetric.xml") #first let the humanoid fall p.setRealTimeSimulation(1)