mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-13 11:26:21 +00:00
Update vr_kuka_setup.py
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import pybullet as p
|
||||
import time
|
||||
#p.connect(p.UDP,"192.168.86.100")
|
||||
import pybullet_data
|
||||
|
||||
cid = p.connect(p.SHARED_MEMORY)
|
||||
|
||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||
if (cid < 0):
|
||||
p.connect(p.GUI)
|
||||
p.resetSimulation()
|
||||
|
||||
Reference in New Issue
Block a user