abhineet123 / ORB_SLAM2

Modified version of ORB SLAM for an autonomous navigation project
Other
305 stars 111 forks source link

Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.X11 Error: GLXBadFBConfig New Map created with 75 points Segmentation fault (core dumped) #20

Open xujinjinjinjin opened 3 years ago

xujinjinjinjin commented 3 years ago

when I do :"rosrun ORB_SLAM2 Mono /mypath/Vocabulary/ORBvoc.txt /mypath/Examples/Monocular/EuRoC.yaml /camera/image_raw:=usb_cam/image_raw", then the following error is displayed :Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.X11 Error: GLXBadFBConfig New Map created with 75 points Segmentation fault (core dumped) Please help if someone has faced similar issues.Thank you very much

xujinjinjinjin commented 3 years ago

I bypassed it by going in the g2o cmakelists and the orb slam cmakelists and removing -march=native .yeah~

YanQiangbest commented 1 year ago

when I want to use my camera,and set my carema frame as input to run the orb-slam2,then has something wrong just like yours,like this:"Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.VIDEOIO ERROR: V4L: index 1 is not correct! OpenCV(3.4.1) Error: Assertion failed (size.width>0 && size.height>0) in imshow, file /home/guet/opencv-3.4.1/modules/highgui/src/window.cpp, line 356 terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(3.4.1) /home/guet/opencv-3.4.1/modules/highgui/src/window.cpp:356: error: (-215) size.width>0 && size.height>0 in function imshow",how could i to solve this problem?

YanQiangbest commented 1 year ago

I bypassed it by going in the g2o cmakelists and the orb slam cmakelists and removing -march=native .yeah~

I try to run as what you said,and then it runs very slowly.It did error again.