VINS-Mono icon indicating copy to clipboard operation
VINS-Mono copied to clipboard

VINS-Mono crashed on ubuntu 18.0

Open ghost opened this issue 3 years ago • 3 comments

Hi,

I am using Jetson Xavier NX, Ubuntu 18.0, ROS Melodic, Opencv 4.1. I was able to built, but could not run the vins_estimator node. It crashed at the following line:

cv::FileStorage fsSettings(config_file, cv::FileStorage::READ);

I do not know if the line above has problem, or my environment setup has problem. Has anyone successfully run this repo on Ubuntu 18.0?

ghost avatar Mar 13 '21 05:03 ghost

Hi, you should install OpenCv 2.4.9. I tried with a lot of versions and that is the one, purge your OpenCV and try with this one

germanferrando avatar Aug 11 '21 15:08 germanferrando

hello @germanferrando how do you install opencv 2.4.9 on jetson nano? I am getting some error and i couldn't fix it

omeredemen avatar Apr 01 '24 06:04 omeredemen

After I had faced this issue i tried visual odometry with open-vins ROS1 and i faced exactly same issue here after some research someone fixed this with installing opencv 3.4.1. It worked for me as well here is the instruction i followed for installing opencv: https://github.com/smtsarial/openvins-jetson?tab=readme-ov-file#opencv

Btw i encounterd some errors while opencv was building:

  • https://stackoverflow.com/questions/45140273/cmake-c-compiler-is-not-a-full-path-to-an-existing-compiler-tool
  • https://forums.developer.nvidia.com/t/building-opencv-with-opengl-support/49741/2

errors and their solutions are in these link

omeredemen avatar Apr 05 '24 07:04 omeredemen