summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-11 16:41:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-11 16:41:55 +0100
commitcb2afb510c98f168e312007cbb92f70b7b4ffa4b (patch)
treeaeeb788d2999c17257e1caa37e192d531c6a22c0
parent7217cf5ac2191c92c956c88f012282882593bfc4 (diff)
reset levmarq internal state on reset (duh)
-rw-r--r--FTNoIR_Tracker_PT/point_tracker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/FTNoIR_Tracker_PT/point_tracker.cpp b/FTNoIR_Tracker_PT/point_tracker.cpp
index 2dd89aed..69d46645 100644
--- a/FTNoIR_Tracker_PT/point_tracker.cpp
+++ b/FTNoIR_Tracker_PT/point_tracker.cpp
@@ -104,6 +104,8 @@ void PointTracker::reset()
// assume identity rotation again
X_CM.R = cv::Matx33f::eye();
X_CM.t = cv::Vec3f(0, 0, 1);
+ rvec = Mat();
+ tvec = Mat();
}
void PointTracker::reset_velocities()