pybullet benchmark: make some parameters explicit
This commit is contained in:
1 parent
385156cbc5
commit
3849612403
1 file changed
+4
-1
@@ -3,7 +3,10 @@ import time
|
|||||||
p.connect(p.GUI)
|
p.connect(p.GUI)
|
||||||
p.setGravity(0,0,-10)
|
p.setGravity(0,0,-10)
|
||||||
p.setPhysicsEngineParameter(numSolverIterations=5)
|
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
|
#first let the humanoid fall
|
||||||
p.setRealTimeSimulation(1)
|
p.setRealTimeSimulation(1)
|
||||||
|
|||||||
Reference in new issue
Block a user