Update externalTorqueControlledSphere.py

This commit is contained in:
NiranthS 2020-05-07 22:44:32 +05:30 committed by GitHub
parent 8b0c7069d3
commit 620e899e28
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")