sensorHandle: handle of the vision sensor object. Can be combined with sim.handleflag_greyscale (simply add sim.handleflag_greyscale to sensorHandle if you provide grey scale values instead of rgb value) or/and sim.handleflag_rawvalue (simply add sim.handleflag_rawvalue to sensorHandle if you do not wish to trigger image processing). If you instead want to set the vision sensor depth buffer, you can combine the handle of the vision sensor object with sim.handleflag_depthbuffer.
(1) a table containing individual values [0-1] for the red, green and blue components, or for the grey component. In case sim.handleflag_depthbuffer is specified, the table contains depth values.
(2) a string containing individual chars [0-255] for the red, green and blue components, or for the grey component. In case sim.handleflag_depthbuffer is specified, the string is a coded string (i.e. a packed depth value table). |