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

Questions about InitializeIMU #945

Open
SubodhMishraIdeaForgeTech opened this issue Nov 23, 2024 · 0 comments
Open

Questions about InitializeIMU #945

SubodhMishraIdeaForgeTech opened this issue Nov 23, 2024 · 0 comments

Comments

@SubodhMishraIdeaForgeTech

I have questions regarding the priors on Accelerometer and Gyroscope biases. I notice that the InitializeIMU function has been invoked thrice.

Starting with:

// Initialize IMU here
if(!mpCurrentKeyFrame->GetMap()->isImuInitialized() && mbInertial)
{
if (mbMonocular)
InitializeIMU(1e2, 1e10, true);
else
InitializeIMU(1e2, 1e5, true);
}

And then VIBA 1
cout << "start VIBA 1" << endl;
mpCurrentKeyFrame->GetMap()->SetIniertialBA1();
if (mbMonocular)
InitializeIMU(1.f, 1e5, true);
else
InitializeIMU(1.f, 1e5, true);
cout << "end VIBA 1" << endl;

and VIBA 2
cout << "start VIBA 2" << endl;
mpCurrentKeyFrame->GetMap()->SetIniertialBA2();
if (mbMonocular)
InitializeIMU(0.f, 0.f, true);
else
InitializeIMU(0.f, 0.f, true);
cout << "end VIBA 2" << endl;

I see that the priorsG and A have been reduced from:
(1e2, 1e5) at Initial Initialization to (1.f, 1e5) during VIBA1 to finally (0.0, 0.0) VIBA2.

I wanted to understand the reason behind these choice of parameters and the difference in their values when invoked at different places?

Plus, I noticed that these parameters are used for setting the information matrix, in that case, won't setting it to (0, 0) going to make the prior value completely useless?

Does that mean during VIBA2 you are focussing on estimating Rwg, scale, ba, bg by completely disregarding any priors on ba and bg? If so then why?

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

No branches or pull requests

1 participant