-
Notifications
You must be signed in to change notification settings - Fork 30
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
Any nonlinear model tested? #54
Comments
Hi @vesor, thanks for reaching out. I’m out of office at the moment and I’ll have a look at your repo as soon as possible! 👍 |
The code is in https://github.com/vesor/bayes-filters-lib/blob/vdev/src/BayesFilters/src/NonLinearScalarModel.cpp
And I modified the test_SIS and test_UKF to replace WhiteNoiseAcceleration with NonLinearScalarModel. After I make noise smaller by change Another thing is current LinearModel hardcode for measurement of size 2.
Maybe you can change it for more general sizes? |
I also tried the UKF sample from Opencv (with some modifications such as change measurement to linear). I am quite new to Bayes filters and I don't know why 8cos( 1.2(n-1) ) item matters. |
Hi @vesor, I had a look at your code and I will try to help you with the Adding the term
|
Outcomes from this issue:
|
Thanks for the detailed help. Do you have time to make impl/vesor branch work? |
First, there is a small bug in your branch, the size should be 1 instead of 2, when using scalar model. Second, all your code changes seems to be code clean up which won't affect the final result. So bfl looks fine and the question become why the filter works bad if remove 8cos( 1.2(n-1) ) item. Thanks. |
Hi @vesor, thanks for your feedback.
It is indeed something related to the filtering problem at hand and not about the library. If you have any suggestion for us to improve our work, let us know! |
Closing, feel free to re-open. |
Seems only WhiteNoiseAcceleration used in tests.
I tried to add an non linear model but seems the result is very bad.
https://github.com/vesor/bayes-filters-lib/tree/vdev
(You need to modify path in CMakeLists.txt in tests folder and the path in plot.py.)
Besides, any plan for non linear measurement model?
Thanks
The text was updated successfully, but these errors were encountered: