couch/thirdparty/bullet/data/threecubes/threecubes.py
2021-03-15 17:11:19 -05:00

8 lines
193 B
Python

import pybullet as p
p.connect(p.DIRECT)
p.loadPlugin("eglRendererPlugin")
p.loadSDF("newsdf.sdf")
while (1):
p.getCameraImage(320, 240, flags=p.ER_NO_SEGMENTATION_MASK)
p.stepSimulation()