Merge pull request #21916 from chenjunnn:patch-1

This commit is contained in:
OpenCV Pushbot 2022-05-12 10:01:11 +00:00 committed by GitHub
commit 40d2904f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ const Mat& KalmanFilter::predict(const Mat& control)
// P'(k) = temp1*At + Q // P'(k) = temp1*At + Q
gemm(temp1, transitionMatrix, 1, processNoiseCov, 1, errorCovPre, GEMM_2_T); gemm(temp1, transitionMatrix, 1, processNoiseCov, 1, errorCovPre, GEMM_2_T);
// handle the case when there will be measurement before the next predict. // handle the case when there will be no measurement before the next predict.
statePre.copyTo(statePost); statePre.copyTo(statePost);
errorCovPre.copyTo(errorCovPost); errorCovPre.copyTo(errorCovPost);