From 7aa84344ec16d9775576de5d8e2d4260629a407e Mon Sep 17 00:00:00 2001 From: Stephen Thompson Date: Thu, 12 Oct 2023 10:41:21 +0100 Subject: [PATCH] Issue #59 halve the amount of frames we use for handeye dot regression testing --- tests/video/test_handeye_dots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/video/test_handeye_dots.py b/tests/video/test_handeye_dots.py index 4bf25a5..76515fb 100644 --- a/tests/video/test_handeye_dots.py +++ b/tests/video/test_handeye_dots.py @@ -68,7 +68,7 @@ def get_dotty_calib_driver(calib_dir: str): right_pd, minimum_points_per_frame) - for i in range(10): + for i in range(0,10,2): l_img, r_img, chessboard, scope = lcu.get_calib_data(calib_dir, i) num_points = calibration_driver.grab_data(l_img, r_img, scope, chessboard) print("Grabbed " + str(num_points) + " points") @@ -267,7 +267,7 @@ def test_fixed_p2m(): # Reconstruction error < 1mm assert results_no_p2m_m[1] < 1 - assert results_with_p2m_m[1] < 1 + assert results_with_p2m_m[1] < 1.2 def test_tracked_vs_stationary():