diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-11 16:41:55 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-11 16:41:55 +0100 |
commit | cb2afb510c98f168e312007cbb92f70b7b4ffa4b (patch) | |
tree | aeeb788d2999c17257e1caa37e192d531c6a22c0 /FTNoIR_Tracker_PT/point_tracker.cpp | |
parent | 7217cf5ac2191c92c956c88f012282882593bfc4 (diff) |
reset levmarq internal state on reset (duh)
Diffstat (limited to 'FTNoIR_Tracker_PT/point_tracker.cpp')
-rw-r--r-- | FTNoIR_Tracker_PT/point_tracker.cpp | 2 |
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()
|