Closed Freeskylover closed 4 years ago
Hi @Freeskylover , Thank you for reporting the issue. You are right, it should be mean_pred. I'll fix it. Did you see any performance issues caused by this mistake?
Hi @Freeskylover , Thank you for reporting the issue. You are right, it should be mean_pred. I'll fix it. Did you see any performance issues caused by this mistake?
Thank for your reply, I have not run this coding, because the bag file is too big so that the download is not finished, i am just reading this code recently.
OK, maybe the bug was affecting the stability of UKF. I committed the fixed code. Thanks again for reporting it!
void predict(const VectorXt& control) { // calculate sigma points ensurePositiveFinite(cov); computeSigmaPoints(mean, cov, sigma_points); for (int i = 0; i < S; i++) { sigma_points.row(i) = system.f(sigma_points.row(i), control);
}
}
I do not know why not using mean_pred to calculate the cov_pred.