From c4d89699d9c2897fecb29ee73eafbf5a09b04428 Mon Sep 17 00:00:00 2001 From: George Hotz Date: Thu, 13 Feb 2020 16:35:21 -0800 Subject: [PATCH] Fix bugged exception in lst_sq_computer. --- selfdrive/locationd/kalman/helpers/lst_sq_computer.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/selfdrive/locationd/kalman/helpers/lst_sq_computer.py b/selfdrive/locationd/kalman/helpers/lst_sq_computer.py index 485458900a..669c76f49b 100755 --- a/selfdrive/locationd/kalman/helpers/lst_sq_computer.py +++ b/selfdrive/locationd/kalman/helpers/lst_sq_computer.py @@ -109,9 +109,6 @@ class LstSqComputer(): depth = 1 / param[2] if debug: - if not self.debug: - raise NotImplementedError("This is not a debug computer") - # orient_err_jac = self.orient_error_jac(param, poses, img_positions, np.zeros(3)).reshape((-1,2,3)) jac = self.residual_jac(param, poses, img_positions).reshape((-1, 2, 3)) res = self.residual(param, poses, img_positions).reshape((-1, 2))