diff options
Diffstat (limited to 'ftnoir_filter_kalman')
-rw-r--r-- | ftnoir_filter_kalman/kalman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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_<double>(12, 12) << + kalman.transitionMatrix = (cv::Mat_<double>(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, |