bullet3/data/threecubes/threecubes.py
2019-04-27 07:31:15 -07: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()