Page 1 of 1

getting depth buffer with remote api

Posted: 01 Oct 2018, 08:20
by jparkcalvin
Hi,

I'm trying to get a depth image matrix using simxGetVisionSensorDepthBuffer function via remote API (C++)
What I want to get is m x n image matrix (where the resolution of the image is m x n),
but it just gave me a float array with length 2. (I checked the size of buffer data, and sizeof(data) = 8)

How can I get the full-size image matrix?

Thanks in advance for any reply.

Re: getting depth buffer with remote api

Posted: 02 Oct 2018, 02:13
by jparkcalvin
Oh, I just solved the issue with this post,

viewtopic.php?t=535