mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-05 23:31:06 +00:00
Update externalTorqueControlledSphere.py
This commit is contained in:
parent
8b0c7069d3
commit
620e899e28
@ -1,11 +1,9 @@
|
|||||||
import pybullet as p
|
import pybullet as p
|
||||||
import pybullet_data
|
import pybullet_data
|
||||||
import time
|
import time
|
||||||
import pybullet_data
|
|
||||||
|
|
||||||
p.connect(p.GUI)
|
p.connect(p.GUI)
|
||||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
|
||||||
p.loadSDF("stadium.sdf")
|
p.loadSDF("stadium.sdf")
|
||||||
p.setGravity(0, 0, -10)
|
p.setGravity(0, 0, -10)
|
||||||
objects = p.loadMJCF("mjcf/sphere.xml")
|
objects = p.loadMJCF("mjcf/sphere.xml")
|
||||||
|
Loading…
Reference in New Issue
Block a user