mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
Update urdfEditor.py
This commit is contained in:
parent
7c0cfa24cf
commit
ccf3426748
@ -1,6 +1,8 @@
|
|||||||
import pybullet as p
|
import pybullet as p
|
||||||
import time
|
import time
|
||||||
from pybullet_utils import urdfEditor
|
from pybullet_utils import urdfEditor
|
||||||
|
import pybullet_data
|
||||||
|
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
org2 = p.connect(p.DIRECT)
|
org2 = p.connect(p.DIRECT)
|
||||||
@ -10,6 +12,8 @@ if (org < 0):
|
|||||||
|
|
||||||
gui = p.connect(p.GUI)
|
gui = p.connect(p.GUI)
|
||||||
|
|
||||||
|
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||||
|
|
||||||
p.resetSimulation(physicsClientId=org)
|
p.resetSimulation(physicsClientId=org)
|
||||||
|
|
||||||
#door.urdf, hinge.urdf, duck_vhacd.urdf, r2d2.urdf, quadruped/quadruped.urdf
|
#door.urdf, hinge.urdf, duck_vhacd.urdf, r2d2.urdf, quadruped/quadruped.urdf
|
||||||
|
Loading…
Reference in New Issue
Block a user