Help: ZED depth camera annotation error problem

When I used the ZED camera, I used the depth camera and the color image for the combination of positioning errors. The distance of about 1m has an error of 2-4 cm. What causes this?
My operation is as follows:
Open the image node in ZED_ROS_Wrapper.
First, we obtained the color image information after the left eye correction, and then marked the (u, v) coordinates in the image.
The depth information is then obtained using /zed/zed_node/depth/depth_registered"

According to (u, v) and the depth information obtained, the corresponding three-digit distance information is calculated: the formula is as follows;
mmexport1725954207144

But the error calculated by the problem city is very large, about 0.7m-1.5m within the range of 3-4 cm error, may I ask why the city? Thank you!

Hi @zhangYQHBAU
what type of surface are you looking at? Is it texturized?
What Depth mode are you using? Is it the default PERFORMANCE?


This is the type of surface that I am looking at.

Can the depth mode be modified in ZED_ROS_Wrapper? I didn’t focus on that metric.

You have a lot of parameters to tune to obtain the configuration that better fulfills your requirements:

You can find a detailed description of each of them on the online documentation.

Thank you very much for your reply, I will do an experiment to verify it right away!

I would like to ask you, do you have the recommended parameter value for the test object I use?