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

Implement Forward-Backward KF #11

Open
piercus opened this issue Feb 22, 2021 · 4 comments
Open

Implement Forward-Backward KF #11

piercus opened this issue Feb 22, 2021 · 4 comments

Comments

@piercus
Copy link
Owner

piercus commented Feb 22, 2021

It's in the doc, but nothing in the code about this

@mcskinner
Copy link

Any progress on this?

@asmi242
Copy link

asmi242 commented Apr 4, 2024

Also cant get this working in browser, using kalman.filter.min. Doesnt look like the function has any options. Is it extended somewhere else that hasnt been included in the .min package?

@piercus
Copy link
Owner Author

piercus commented Apr 4, 2024

@asmi242 I'm not sure you are in the right issue.

If you have an issue with the browser version, please open a new issue with detailed reproduction step and detailed actual description (with screenshots) and precise expectations.

@asmi242
Copy link

asmi242 commented Apr 10, 2024

@asmi242 I'm not sure you are in the right issue.

If you have an issue with the browser version, please open a new issue with detailed reproduction step and detailed actual description (with screenshots) and precise expectations.

Hi @piercus, thanks for your reply.

I have setup a basic constant acceleration filter as in the example in the documentation (See screenshot). I have included kalman-filter.min in my webapp, and have successfully used the filter. I'm currently trying to call the filterAll function using the two methods given. When I call the filter using (1), it works as expected and returns filtered observations. When I call it using (2) it gives the error that 't is not iteratable'.

  1. results = kFilter.filterAll(observations);
  2. results = kFilter.filterAll({ observations, passMode: 'forward-backward' });

You can see a screenshost of the code, with basic observations:
image

And the console error:
image

Successful filtering without using the passMode option:
image

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

3 participants