update idm.py.

Signed-off-by: Sgr A* VMT <1611902585@qq.com>
This commit is contained in:
Sgr A* VMT authored and Gitee committed 2024-01-29 10:36:10 +00:00
1 parent eb35ffc0de
commit 7efcfca724
1 file changed
+1 -1
+1 -1
View File
@@ -470,7 +470,7 @@ class IDMProbe:
z_compensation = (
axis_twist_compensation.get_z_compensation_value(pos))
sample["dist"] = self.freq_to_dist(sample["freq"], sample["temp"])
if sample["dist"]~=None:
if sample["dist"]!=None:
sample["dist"]=sample["dist"]+z_compensation
sample["pos"] = pos
sample["vel"] = vel