mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-27 12:36:07 +00:00
Update testrender.py
This commit is contained in:
@@ -11,9 +11,12 @@ img = [[1, 2, 3] * 50] * 100 #np.random.rand(200, 320)
|
||||
#img = [tandard_normal((50,100))
|
||||
image = plt.imshow(img, interpolation='none', animated=True, label="blah")
|
||||
ax = plt.gca()
|
||||
import pybullet_data
|
||||
|
||||
pybullet.connect(pybullet.DIRECT)
|
||||
|
||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||
|
||||
#pybullet.loadPlugin("eglRendererPlugin")
|
||||
pybullet.loadURDF("plane.urdf", [0, 0, -1])
|
||||
pybullet.loadURDF("r2d2.urdf")
|
||||
|
||||
Reference in New Issue
Block a user