This is a screenshot of my EKF-SLAM code as it is right now. The blue line is the EKF estimate while the red line is the true trajectory. I took inspiration from and to structure my code and as a guide to how EKF-SLAM works. However, I've found issues running these two code examples because the first does not seem to update the covariance matrix correctly and the second has issues with the matrix multiplication, making it difficult for me to understand what to do in my code. I will have to look into more code samples to see if I can find something similar and fix my code.

Next Post Previous Post