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