mbrossar / ai-imu-dr

AI-IMU Dead-Reckoning
MIT License
804 stars 224 forks source link

Huge Position uncertainty #28

Closed amakurin closed 5 years ago

amakurin commented 5 years ago

Hello again! Using RIEKF framework (on SE2(3) group as in preliminary paper from RINS-W) i've noticed that with ZUPT, LAT, UP pseudo measurements uncertainty of position reaches huge numbers with order of 1e+5(6..7..). Which can be explained by the fact that we never measure position, but only predict it. But... with time (~20sec with 100hz) this huge numbers give negative influence on filter's stability. Did you experience this issue in your experiments? or maybe it just caused by my mistakes in filter architecture... Thank you very much for help!

mbrossar commented 5 years ago

Hi,

I believe you do not talk about the measurement covariance but about the covariance of the position of the state estimate.

It is logical to have high values. If you have 10^6 value it's just say one kilometer variance. I have same values but for more than 20 s (frequency does not play a role) .

Combined with covariance for bias, 10^-9, it can clearly lead to numerical problem.

I know three solutions. The more simple is to have number in double format, it is what I did in this repo and is sufficient. You can also change the unit in the covariance from meter to km you win a factor 6. The best but more complex in to implement the filter in square root form. Just search square root kalman filter on google.

Best

Martin

Le 26 août 2019 à 09:47, à 09:47, Alexey Makurin notifications@github.com a écrit:

Hello again! Using RIEKF framework (on SE2(3) group as in preliminary paper from RINS-W) i've noticed that with ZUPT, LAT, UP pseudo measurements uncertainty of position reaches huge numbers with order of 1e+5(6..7..). Which can be explained by the fact that we never measure position, but only predict it. But... with time (~20sec with 100hz) this huge numbers give negative influence on filter's stability. Did you experienced this issue in your experiments? or maybe it just caused by my mistakes in filter architecture... Thank you very much for help!

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/mbrossar/ai-imu-dr/issues/28

amakurin commented 5 years ago

Got your point. Thanks!

EdernOllivier commented 5 years ago

You need to better initialise your position and also that the covariances of measurements should be known.

EdernOllivier commented 5 years ago

Sorry initialise