summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/kalman-filter-pose.cpp
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-19 16:55:50 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-19 16:58:51 +0200
commitabcbf64cf1d2ee09f27d82f38bfb632e2d2268b9 (patch)
tree2dc081a4ff92d322bb05bf0074d97f6c67463616 /tracker-easy/kalman-filter-pose.cpp
parentbfe47f03615b4e5a28df91547d804c5819d981f2 (diff)
EasyTracker: Now using a timer.
Diffstat (limited to 'tracker-easy/kalman-filter-pose.cpp')
-rw-r--r--tracker-easy/kalman-filter-pose.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-easy/kalman-filter-pose.cpp b/tracker-easy/kalman-filter-pose.cpp
index 0f6bdbdb..42346bb5 100644
--- a/tracker-easy/kalman-filter-pose.cpp
+++ b/tracker-easy/kalman-filter-pose.cpp
@@ -81,6 +81,7 @@ namespace EasyTracker
// [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0]
// [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0]
+ // Those will scale the filtered values, 2 will give you half the raw input
measurementMatrix.at<double>(0, 0) = 1; // x
measurementMatrix.at<double>(1, 1) = 1; // y
measurementMatrix.at<double>(2, 2) = 1; // z