-
Notifications
You must be signed in to change notification settings - Fork 624
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
examples with different sensor types fused together? #275
Comments
I think I can get this working by simply having two KFs, never predicting on one of them, transferring state between them, then calling update individually based upon different sensor inputs. Still need to experiment if I can do this with one filter using the Fully working example (I think), based off of your example code in
|
Is this the intended use for fusing different sensors in filterpy? @rlabbe |
As noted in one supporting notebook from your book , a very common use case for Kalman Filters is the ability to fuse information from different sensors, for example using GPS to directly measure position whilst using an accelerometer to measure accelerations.
From playing around with
filterpy
it seems like things support different sensor updates, but I'm having a hard time getting something working. Note, I set up a filter with a defaulthx
function (i.e.hx_sensor1
), and call:Then I found if I did the following, I could at least get the second sensor to start to update:
But things rapidly start to break down.
Are there any code samples showing something like this in operation @rlabbe ?
The text was updated successfully, but these errors were encountered: