sim.setVisionSensorImgWrites the image of a vision sensor (and applies any image processing via the vision callback functions). Make sure the vision sensor is flagged as external input Synopsissim.setVisionSensorImg(int sensorHandle, bytes image, int options = 0, list pos = [0, 0],
list size = [0, 0])
sim.setVisionSensorImg(int sensorHandle, buffer image, int options, int[2] pos = {0, 0},
int[2] size = {0, 0})
Arguments
|