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

Add optional argument forwarding to predict/update using variadic templates #5

Open
mherb opened this issue Oct 25, 2015 · 1 comment

Comments

@mherb
Copy link
Owner

mherb commented Oct 25, 2015

Example:

// Time-step
float dt = 0.001;
// Pass time-step as optional argument, which is forwarded to sys.f(x,u,dt)
filter.predict(sys, u, dt);

However, this would require to remove virtual-ness of fand h in System/Measurement-Models to allow custom arguments in each model.

@wujilingfeng
Copy link

Example:

// Time-step
float dt = 0.001;
// Pass time-step as optional argument, which is forwarded to sys.f(x,u,dt)
filter.predict(sys, u, dt);

However, this would require to remove virtual-ness of fand h in System/Measurement-Models to allow custom arguments in each model.

Why did UnscentedKalmanFilter not add this parameter?

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

No branches or pull requests

2 participants