ApdowJN / Stereo-NEC

The official repository of our ICRA 2024 paper "Stereo-NEC: Enhancing Stereo Visual-Inertial SLAM Initialization with Normal Epipolar Constraints".
120 stars 11 forks source link

frame creation error #10

Closed HJMGARMIN closed 4 months ago

HJMGARMIN commented 4 months ago

Great work! I met a problem at line 200 of the file Frame.cc as follows: image When I run the example, a problem occured! image The problem looks strange and I don't know how to solve it. Can you help me?

ApdowJN commented 4 months ago

Thank you for your interest! I haven't encountered this error before, but I suspect it's not an issue with frame.cc since you printed out 'frame ok'. You could try restarting a terminal, killing the previous processes, and then running it again. I suspect it might be an issue with some previous memory not being fully released.

HJMGARMIN commented 4 months ago

I soved it by changing the version of OpenCV. The version of OpenCV should be same as the version of ROS(Melodic->OpenCV 3).