ORB_SLAM2 icon indicating copy to clipboard operation
ORB_SLAM2 copied to clipboard

disable pangoline view.

Open rahulsharma11 opened this issue 7 years ago • 3 comments

Hi, i am using Orbslam2 on my rockpro64 board by ssh. I also have made bool bUseViewer = false in System.h file. But still getting error- Start processing sequence ... terminate called after throwing an instance of 'std::runtime_error' what(): Pangolin X11: Failed to open X display ./stereo_live.sh: line 1: 19314 Aborted ./Examples/Stereo/stereo_live Vocabulary/ORBvoc.txt Examples/Stereo/KITTI00-02.yaml

Please suggest. Thanks.

rahulsharma11 avatar Oct 24 '18 09:10 rahulsharma11

You don't have to modify System.h, that's the definition of the file and you are breaking the program. Instead modify where you actually call that function. It's something like // Create SLAM system. It initializes all system threads and gets ready to process frames. ORB_SLAM2::System SLAM(argv[1], argv[2], ORB_SLAM2::System::RGBD, false);

That line is in your main programme.

antoniovillavicencio avatar Nov 13 '18 16:11 antoniovillavicencio

You don't have to modify System.h, that's the definition of the file and you are breaking the program. Instead modify where you actually call that function. It's something like // Create SLAM system. It initializes all system threads and gets ready to process frames. ORB_SLAM2::System SLAM(argv[1], argv[2], ORB_SLAM2::System::RGBD, false);

That line is in your main programme.

In which file is this line situated in?

almondboi avatar Dec 21 '20 05:12 almondboi

i was able to get rid of the pangolin error by opening another terminal and typing in: xhost +

catproof avatar Oct 04 '21 17:10 catproof