getting depth buffer with remote api

Typically: "How do I... ", "How can I... " questions
Post Reply
jparkcalvin
Posts: 2
Joined: 01 Oct 2018, 05:59

getting depth buffer with remote api

Post by jparkcalvin » 01 Oct 2018, 08:20

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.

jparkcalvin
Posts: 2
Joined: 01 Oct 2018, 05:59

Re: getting depth buffer with remote api

Post by jparkcalvin » 02 Oct 2018, 02:13

Oh, I just solved the issue with this post,

viewtopic.php?t=535

Post Reply