I came across missing information about the vision sensor properties in the documentation.
I compiled and activated the OpenGL3 plugin and was able to create vision sensors via the simulators GUI to render the image in OpenGL3. However, when I wanted to programmatically create a sensor in this render mode I found in [the docu][https://manual.coppeliarobotics.com/en/ ... ionSensors] for the parameter sim.visionintparam_render_mode no mode for OpenGL3. Is that a missing implementation, or do I look at the wrong functionality to set the render mode.
Here is my current example code
Code: Select all
self.sensorHandle = sim.createVisionSensor(0b00000010, [1024, 800,0,0], [0.01,10.0,np.deg2rad(60.00),0.01,0.0,0.0,0.,0.,0.,0.,0.])
sim.setObjectInt32Param(self.sensorHandle, sim.visionintparam_render_mode, 0)
Heiko