ORB_SLAM3 icon indicating copy to clipboard operation
ORB_SLAM3 copied to clipboard

How to get initial gravity direction estimate during IMU initialization

Open manyang-yihang opened this issue 3 years ago • 2 comments

Dear @richard-elvira , @jj-gomez

I have some confusion about the way in the implementation to get the initial estimate of the direction of gravity

Here are my thoughts:

Based on eq.(38) in paper : image

Multiplying both sides of the equation by the rotation matrix, we get : image

Accumulate the above formula from 0 to n - 1 and define it as -dirG : image

According to this, we get the value of dirG as : image

Which is a value that includes velocity and noise.

  • Is it accurate to use it to estimate the direction of gravity?
  • If the derivation is wrong, where can I find the correct derivation?
  • If the derivation is basically correct, does this mean that the initial value estimate of the direction of gravity depends heavily on the velocity and noise during initialization? Will it lead to inaccurate estimation of gravity direction, if initialization happens at high speed?

manyang-yihang avatar Sep 26 '22 06:09 manyang-yihang

Hi, I'm also confused about it. If you have figured it out, could you teach me? Thank you!

ForLoveandPeace avatar Mar 08 '23 16:03 ForLoveandPeace

Here it is assumed that Vj and Vi are very close, so dirG will be close to g.

haithink avatar Jan 17 '24 09:01 haithink