Skip to content

Conversation

Muhammad0312
Copy link

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.

@Muhammad0312 Muhammad0312 changed the title Fixed segmentation fault while running stereo example Fixed segmentation fault while running stereo KITTI example Apr 4, 2024
@jeremysalwen
Copy link

Disclaimer: I don't intend to create spam. If the ORB_SLAM3 developers wish me to stop posting, I will cease immediately.

ORB_SLAM3 seems to be inactive, but there are a number of community patches, including yours, which provide important bugfixes or improvements. Therefore I have created a new project ORB_SLAM_COMMUNITY (https://github.com/jeremysalwen/ORB_SLAM_COMMUNITY) to gather together these improvements and continue active development. I have already merged this PR in the ORB_SLAM_COMMUNITY version. We would welcome any other contributions you might have.

@Aragony
Copy link

Aragony commented Oct 4, 2025

It works. Thank you very much.

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

Successfully merging this pull request may close these issues.

3 participants