Merge pull request #1652 from nghiaho12:kalman
This commit is contained in:
commit
4bc105c40b
@ -266,6 +266,7 @@ const Mat& KalmanFilter::predict(const Mat& control)
|
|||||||
|
|
||||||
// handle the case when there will be measurement before the next predict.
|
// handle the case when there will be measurement before the next predict.
|
||||||
statePre.copyTo(statePost);
|
statePre.copyTo(statePost);
|
||||||
|
errorCovPre.copyTo(errorCovPost);
|
||||||
|
|
||||||
return statePre;
|
return statePre;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user