mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
Update debugDrawItems.py
This commit is contained in:
parent
09630941da
commit
19016528e6
@ -1,9 +1,12 @@
|
|||||||
import pybullet as p
|
import pybullet as p
|
||||||
import time
|
import time
|
||||||
|
import pybullet_data
|
||||||
|
|
||||||
cid = p.connect(p.SHARED_MEMORY)
|
cid = p.connect(p.SHARED_MEMORY)
|
||||||
if (cid < 0):
|
if (cid < 0):
|
||||||
p.connect(p.GUI)
|
p.connect(p.GUI)
|
||||||
|
|
||||||
|
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||||
p.loadURDF("plane.urdf")
|
p.loadURDF("plane.urdf")
|
||||||
kuka = p.loadURDF("kuka_iiwa/model.urdf")
|
kuka = p.loadURDF("kuka_iiwa/model.urdf")
|
||||||
p.addUserDebugText("tip", [0, 0, 0.1],
|
p.addUserDebugText("tip", [0, 0, 0.1],
|
||||||
|
Loading…
Reference in New Issue
Block a user