enable follow cam in other Gym locomotion environments add testing assets for multi-material obj files -> sdf conversion. Also use ER_NO_SEGMENTATION_MASK flag for TinyRenderer/EGL plugin renderer
8 lines
191 B
Python
8 lines
191 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()
|
|
|