Update biped2d_pybullet.py

This commit is contained in:
NiranthS 2020-04-23 22:36:00 +05:30 committed by GitHub
parent 584a052f9a
commit 15e29e4b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,9 @@ import time
GRAVITY = -9.8
dt = 1e-3
iters = 2000
import pybullet_data
p.setAdditionalSearchPath(pybullet_data.getDataPath())
physicsClient = p.connect(p.GUI)
p.setAdditionalSearchPath(pybullet_data.getDataPath())
p.resetSimulation()