Update integrate.py

This commit is contained in:
NiranthS 2020-04-23 23:12:15 +05:30 committed by GitHub
parent abcdf44e97
commit 4a4cdb44c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,8 @@
import pybullet as p import pybullet as p
import pybullet_data
p.connect(p.GUI) p.connect(p.GUI)
p.setAdditionalSearchPath(pybullet_data.getDataPath())
cube = p.loadURDF("cube.urdf") cube = p.loadURDF("cube.urdf")
frequency = 240 frequency = 240
timeStep = 1. / frequency timeStep = 1. / frequency