From c36e937fb18ff089b2d0411f440897a4a9082f84 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 4 Apr 2013 18:27:36 +0200 Subject: Fix build --- ftnoir_filter_kalman/kalman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftnoir_filter_kalman') diff --git a/ftnoir_filter_kalman/kalman.cpp b/ftnoir_filter_kalman/kalman.cpp index 92c3fc27..f67b9d99 100644 --- a/ftnoir_filter_kalman/kalman.cpp +++ b/ftnoir_filter_kalman/kalman.cpp @@ -46,7 +46,7 @@ FTNoIR_Filter::FTNoIR_Filter() { void FTNoIR_Filter::Initialize() { kalman.init(12, 6, 0, CV_64F); double accel_variance = 1e-2; - kalman.transitionMatrix = *(cv::Mat_(12, 12) << + kalman.transitionMatrix = (cv::Mat_(12, 12) << 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, -- cgit v1.2.3