mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
Merge pull request #21916 from chenjunnn:patch-1
This commit is contained in:
commit
40d2904f3d
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user