Merge pull request #2787 from NiranthS/patch-1

Update externalTorqueControlledSphere.py
This commit is contained in:
erwincoumans 2020-05-07 10:38:09 -07:00 committed by GitHub
commit 86a950b135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,9 @@
import pybullet as p
import pybullet_data
import time
import pybullet_data
p.connect(p.GUI)
p.setAdditionalSearchPath(pybullet_data.getDataPath())
p.setAdditionalSearchPath(pybullet_data.getDataPath())
p.loadSDF("stadium.sdf")
p.setGravity(0, 0, -10)
objects = p.loadMJCF("mjcf/sphere.xml")