mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
Update integrate.py
This commit is contained in:
parent
abcdf44e97
commit
4a4cdb44c5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user