If zed.retrieveMeasure() is set to MEM::GPU - getValue will return zeros in the x,y,z

If someone can point me in the right direction please see the title.
for example:
MEM::CPU = XYZ:-604.636, -1101.05, -3437.3
MEM::GPU = XYZ:0, 0, 0

Thank you for your time,

Harry

Hi,
the getValue also need the sl::MEM argument to sl::MEM::GPU:

https://www.stereolabs.com/docs/api/classsl_1_1Mat.html#ad245a5178cdb4bc95e9cfc9ab220faa1

1 Like

Facepalm https://tinyurl.com/3cpe76tb

Worked perfectly, thank you very much. :slight_smile: