ORB_SLAM3
ORB_SLAM3 copied to clipboard
Fixed segmentation fault while running stereo KITTI example
While running stereo example, it resulted in a segmentation fault.
Problem:
When cameraType_ is specified as RECTIFIED originalCalib2_ object is not created in the Settings::readCamera2 method, but in the operator overload operator<< it prints these settings to the terminal which results in segmentation fault.
Solution:
Added a conditional to not print the settings for second camera if RECTIFIED is specified.