Created
February 6, 2023 10:19
-
-
Save donkarlo/3de41663fbc5555812223616df6bac0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KalmanFilter::KalmanFilter( | |
double dt, | |
Eigen::MatrixXd processMatrix, | |
Eigen::MatrixXd obsMtx, | |
Eigen::MatrixXd processNoiseCov, | |
Eigen::MatrixXd obsNoiseCov, | |
Eigen::MatrixXd estimatErrCov) | |
: processMtx(processMatrix), obsMtx(obsMtx), processNoiseCov(processNoiseCov), obsNoiseCov(obsNoiseCov), initEstimatedErrCov(estimatErrCov), | |
stateDim(obsMtx.rows()), obsDim(processMatrix.rows()), dt(dt), initialized(false), | |
identityMtx(obsDim, obsDim), x_hat(obsDim), x_hat_new(obsDim) | |
{ | |
identityMtx.setIdentity(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment