Skip to content

Commit 8556361

Browse files
committed
set threshold for 1m at 0.03m
1 parent d686cc2 commit 8556361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

depth_test/depthtest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,11 +862,11 @@ def timer_event(self):
862862
self.plane_fit_rmse_avg = 0
863863
self.gt_plane_rmse_med = np.median(self.gt_plane_rmse_arr)
864864
if self.true_distance <= 1:
865-
error_threshold = THRESHOLD/2
865+
error_threshold = 0.03
866866
elif self.true_distance >= 2:
867867
error_threshold = THRESHOLD
868868
else:
869-
error_threshold = self.true_distance * THRESHOLD/2
869+
error_threshold = self.true_distance * (THRESHOLD-0.03)-THRESHOLD+0.06
870870
if self.gt_plane_rmse_res < error_threshold and self.fill_plane_res > 0.98:
871871
self.set_result('PASS')
872872
else:

0 commit comments

Comments
 (0)