Hello!
I’m running both sender and receiver scripts from github and I’m trying to get the ZED Spatial Mapping on the receiver.
From what I’ve trying, there are different view modes already working on the codebase (RIGHT, LEFT GRAY, RIGHT GRAY, SIDE BY SIDE). But on the DEPTH, CONFIDENCE and NORMALS view modes i get the following error
[Grab] Depth or confidence map view asked but depth map not computed (MODE_NONE)
INVALID FUNCTION PARAMETERS in sl::ERROR_CODE sl:: Camera::retrieveImage(sl::Mat&, sl::VIEW, sl::MEM, sl::Resolution)
So what I’m asking is:
How can I fix the error I’m getting
Is there a way to use a spatial mapping view just like the depth one
The issue your are experiencing is due to the fact that the initParameters.depth_mode is set to DEPTH_MODE::NONE in the receiver sample. In order to activate the depth compute, you have to set it to another value, for example ULTRA or NEURAL modes.