Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParticleFilter SLAM code error #112

Open
yimengweima0 opened this issue Apr 8, 2022 · 0 comments
Open

ParticleFilter SLAM code error #112

yimengweima0 opened this issue Apr 8, 2022 · 0 comments

Comments

@yimengweima0
Copy link

Hi,
I am studying ParticleFilter SLAM. When I run the ParticleFilter code which is " pf.run(100)" in matlab, I find a error. The error is as follows :
The assignment cannot be performed because the size on the left is 1000 × 1. The size on the right is 999 × 1.
error : ParticleFilter/predict (line 414):
pf.x(:,3) = angdiff(pf.x(:,3));
I would appreciate it if you could fix the code.
Thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant