-
Notifications
You must be signed in to change notification settings - Fork 380
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
Kalman Filter included? #22
Comments
There is no dedicated KF implementation, but you can of course use the more general EKF implementation also for linear systems. Just use your state transition matrix as jacobian. I hope this answers your question. |
Thanks very much for your reply. It would be best if you could give an example. I am pretty new to Kaman filter. |
@MattW86 You can set up derived classes like the following: template<...>
class YourSystemModel : public Kalman::LinearizedSystemModel<...>
{
...
// do typedef assignments so that your state type is "S" and control type is "C"
S f(const S& x, const C& u)
{
return this->F*x;
}
};
template<...>
class YourMeasModel : public Kalman::LinearizedMeasurementModel<...>
{
...
// do a typedef assignment so that your state type is "M"
M h(const S& x)
{
return this->H*x;
}
} Note: I have omitted all of the template arguments. Follow the pattern in the You can then use the You don't need to call the |
Hi,
Thanks very much for this great library.
Just wondering if this library contains regular Kalman filter for linear systems?
Cheers
The text was updated successfully, but these errors were encountered: