mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
Update humanoid_benchmark.py
This commit is contained in:
parent
844c5b62f4
commit
02b62d858e
@ -1,6 +1,9 @@
|
|||||||
import pybullet as p
|
import pybullet as p
|
||||||
import time
|
import time
|
||||||
|
import pybullet_data
|
||||||
|
|
||||||
p.connect(p.DIRECT)
|
p.connect(p.DIRECT)
|
||||||
|
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||||
p.setGravity(0, 0, -10)
|
p.setGravity(0, 0, -10)
|
||||||
p.setPhysicsEngineParameter(numSolverIterations=5)
|
p.setPhysicsEngineParameter(numSolverIterations=5)
|
||||||
p.setPhysicsEngineParameter(fixedTimeStep=1. / 240.)
|
p.setPhysicsEngineParameter(fixedTimeStep=1. / 240.)
|
||||||
|
Loading…
Reference in New Issue
Block a user