Page 1 of 1

How to render orthographic view depth image of a orthographic depth vision sensor in a floating view?

Posted: 15 May 2022, 02:43
by zhy149
As the topic question. Thank you very much!
I added a script but it's all black now.

Re: How to render orthographic view depth image of a orthographic depth vision sensor in a floating view?

Posted: 17 May 2022, 07:02
by coppelia
Try to attach a child script with following content to your vision sensor:

Code: Select all

function sysCall_init()

end

function sysCall_vision(inData)
    simVision.sensorDepthMapToWorkImg(inData.handle)
    --simVision.intensityScaleOnWorkImg(inData.handle,1.000000,0.000000,false)
    simVision.workImgToSensorImg(inData.handle)
end
Cheers