ILLIXR icon indicating copy to clipboard operation
ILLIXR copied to clipboard

Add low pass filter to pose prediction

Open mhuzai opened this issue 4 years ago • 4 comments

Even though our VIO setup is accurate over longer time frames (as confirmed by trajectory plots), it suffers from jitter over shorter durations. We should add a low pass filter to the output of pose prediction to remove the jitter. In terms of the actual choice of filter, the 1 Euro filter seems very appropriate as it has an adaptive cut-off to balance jitter and lag.

mhuzai avatar Mar 03 '21 19:03 mhuzai

Along with filtering, I think it would be good to add a cutoff to pose prediction if our slow pose fails to update within a certain timeframe to avoid the pose drifting as the IMU errors accumulate. Do you think that would be something to add at the same time?

ltstein avatar Apr 23 '21 02:04 ltstein

Yeah, that would be good a feature to have, but let's keep it separate from this feature. The cutoff would require some manual tuning, and that would be dependent on a number of things (type of integrator, type of predictor, etc.). So better to experiment with that separately.

mhuzai avatar Apr 25 '21 02:04 mhuzai

Filter added in project-filter branch

shg8 avatar May 27 '22 02:05 shg8

Please open a PR and link this issue to it. It'll automatically get closed when the PR gets merged in. Also, take a look at CONTRIBUTING.md for instructions on naming branches, opening PRs, etc.

mhuzai avatar May 27 '22 13:05 mhuzai