-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
how to use scale-misalignment result? #189
Comments
reference paper Extending kalibr: Calibrating the Extrinsics of Multiple IMUs and of Individual Axes |
The paper doesnot explain it well. If the M here is M or S*M, weather it contains scale in it or not? |
same question, How to correct misalignment and scale through these parameters |
This paper has details of the different models: For example you can see the following: Additionally one can inspect the code to compare: This paper also has some background details if you want to further research: |
After working through the paper, the code, and the output yaml files I'm still not certain that I have the correct formulation to correct raw accelerometer and raw gyro measurements. It's not trivial to reconcile the three as they use different notations. A small error in applying the calibration may not be easily detectable in the calibrated result. The text below aims to reconcile the notation between the paper and the Kalibr output yaml files. The notation below should match the paper. @goldbattle please verify for correctness. Coordinate frames
Coordinate frame transformationParameter definition from Kalibr IMU calibration fileLet's define the parameters in the XXX-imu.yaml files as follows:
Parameter definition from Kalibr camera calibration fileLet's define the parameter in the XXX-camchain-imucam.yaml files as follows:
How to apply intrinsic calibrationLet's denote the uncalibrated, raw, accelerometer and gyroscope measurements as Note well, Using the same notation and parameters as the yaml files
The accelerometer and gyro biases are not applied here as they are not stored in the yaml files. How to apply extrinsic calibrationFor some applications the IMU measurement needs to be rotated into the camera frame,
Note well that this is only true in the static case for the accelerometer. See equations (1), (2), and (5) from paper for the dynamic case. |
@sgraybi thanks for your answer, but your formulas are not equal to @mhyoosefian above, I do not know who is right... |
@cai199626 yes. We need @goldbattle, or another expert to review. Intuitively, you would apply the intrinsics before the extrinsics, like in my correction equations. Intuitively, you would also correct the accelerometer measurement before it's used to correct the effect of linear accelerations on gyroscopes. I believe the mathematical formulation supports these intuitions also. I'm don't quite understand how other people know how to apply the model. Kalibr seems to be quite widely used. |
Hello, after I used kalibr_calibrate_imu_camera with scale-misalignment option, I got following result.
Do anyone know how to use M, A or C_gyro_i to correct IMU raw measurements ?
The text was updated successfully, but these errors were encountered: