kalman icon indicating copy to clipboard operation
kalman copied to clipboard

Add optional argument forwarding to predict/update using variadic templates

Open mherb opened this issue 10 years ago • 1 comments

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.

mherb avatar Oct 25 '15 09:10 mherb

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?

wujilingfeng avatar Oct 18 '22 10:10 wujilingfeng