-
Notifications
You must be signed in to change notification settings - Fork 135
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
Help building camera config #154
Comments
@jsreveal Hi, what type of stereo camera you are using? Typically, the rotation between the stereo cameras should be close to the identity matrix, with translation in the x-direction equal to the baseline distance between the two cameras, and near zero in the y and z directions. However, your parameters seem unusual—this could mean either the camera setup is not a conventional stereo camera, or the calibration was not done correctly. |
The two cameras need to be aligned along the x-axis because horizontal parallax is needed to triangulate feature points. It seems there might be an issue with the calibration; you might want to first verify the accuracy of the stereo calibration results. |
Ok, so I improved camera setup and calibration. there was some desynchronization in the frames timestamp from the two cameras. This is what I got now: cam0 reprojection error: [0.000006, 0.000031] +- [0.724156, 1.371513]
however it still does not work. I keep not being able to detect stereo points. Here a link with the video I am using, and respective synchronized frames: https://drive.google.com/file/d/1VjcUgzMTz367qGr_iqWj8Z5kEjVOqC80/view?usp=drive_link thank you, |
Thanks for that! From your knowledge, could this be a limitation from kalibr? Can you recommend any stereo camera that you know to have been correctly calibrated? Thank you |
I'm not sure if this is an issue with Kalibr or the camera itself. We conducted live demo experiments using the RealSense (D435, D455) and found the results to be quite satisfactory. |
Ok, so I have done improvements on the setup. Cameras were still desynchronized so got them synchronized, and also created a calibration target with the original size (A0). this got me to very good reprojection errors, compared to what I had: cam0: cam1: With this I am able to finally get AirSlam to clearly detect stereo points, using Euroc AirSlam Config. However I am not able to close the loop of the map I am trying to create, where I transverse a room two times using always the same path. It feels clearly that is does not have any sense of any transversed points in the past during the mapping, that could help to correct any error, and also the that the curvature angles are not being correctly computed: Is there any configuration change that could improve this outcome? What do you suggest? Attaching the following data: Kalibr calibration file: calibration.txt |
@xukuanHIT would really appreciate some insights, if possible, please? thanks a lot |
Loop closure detection is part of the offline processing step, which you can refer to ”Map Optimization“ in the README. Regarding cumulative error, I suspect it might still be an issue with camera calibration, but I currently don't have time to verify this. You can follow the method I did above to visualize the results of stereo rectification. |
thanks for the insights! do you believe that by adding imu sensors data, error could be reduced? |
also would you be able to kindly sharethe code that you used to verify kalibr calibration into opencv calibration verification? |
Hi, this is the code. |
Totally managed to put this working. Thanks for all the support. |
Hi guys,
I
I have a setup with 2 cameras, where I got the following calibration results using kalibr:
Can you please confirm if the correct AirSLAM camera configuration based on the previous kalibr calibration results would be the following:
I am getting the following message for all video frames of the video that I want to map using that configuration:
Thank you
The text was updated successfully, but these errors were encountered: