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

Vins Mono crashed on Nvidia Jetson Nano

Open Avi241 opened this issue 3 years ago • 9 comments

Hello Everyone I have succescfully compiled Vins mono on Nvidia jetson nano but when I run roslaunch vins_estimator euroc.launch the program crashes.

[ INFO] [1644341394.759498831]: init begins [ INFO] [1644341394.776419664]: Loaded config_file: /home/arvind/catkin_ws/src/VINS-Mono/feature_tracker/../config/euroc/euroc_config.yaml [vins_estimator-3] process has died [pid 3197, exit code -11, cmd /home/arvind/catkin_ws/devel/lib/vins_estimator/vins_estimator __name:=vins_estimator __log:=/home/arvind/.ros/log/b8f60f66-8904-11ec-b2c5-845cf3270371/vins_estimator-3.log]. log file: /home/arvind/.ros/log/b8f60f66-8904-11ec-b2c5-845cf3270371/vins_estimator-3*.log [feature_tracker-2] process has died [pid 3188, exit code -11, cmd /home/arvind/catkin_ws/devel/lib/feature_tracker/feature_tracker __name:=feature_tracker __log:=/home/arvind/.ros/log/b8f60f66-8904-11ec-b2c5-845cf3270371/feature_tracker-2.log]. log file: /home/arvind/.ros/log/b8f60f66-8904-11ec-b2c5-845cf3270371/feature_tracker-2*.log [pose_graph-4] process has died [pid 3198, exit code -11, cmd /home/arvind/catkin_ws/devel/lib/pose_graph/pose_graph __name:=pose_graph __log:=/home/arvind/.ros/log/b8f60f66-8904-11ec-b2c5-845cf3270371/pose_graph-4.log]. log file: /home/arvind/.ros/log/b8f60f66-8904-11ec-b2c5-845cf3270371/pose_graph-4*.log

According to this issue [#377 ]

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

this is the reason for crash.

Can anyone help me with this ?

Avi241 avatar Feb 08 '22 05:02 Avi241

Hi, Did you do any changes to the code or it is just the config file you have changed? If it is only the config file, can you post it here as well?

didzdissanayaka8 avatar Feb 08 '22 09:02 didzdissanayaka8

No, I didn't change anything, not even a config file I have just done catkin_make.

Avi241 avatar Feb 08 '22 09:02 Avi241

any update sir ?

Avi241 avatar Feb 23 '22 15:02 Avi241

I got similar problem while using it with jetson nano. Did you find any solution??

GenAIVisionary avatar Feb 24 '22 21:02 GenAIVisionary

This is a problem with the config file not loading properly. Please check the permission and then execute.

ArghyaChatterjee avatar Feb 27 '22 20:02 ArghyaChatterjee

Thanks for your reply @ArghyaChatterjee but I see no problem with the config file. The problem is in the code of feature_tracker I debugged the code and the crash is happening at line 91 in feature_tracker.cpp in line cv::Ptrcv::CLAHE clahe = cv::createCLAHE(3.0, cv::Size(8, 8)); . The program is crashing at this line as soon as the first image is received. Can anyone please help me with this ?? OpenCV version I am using is 4.2.0

Avi241 avatar Jul 13 '23 18:07 Avi241

Hello, have you solved this problem?

kukulinxin avatar Nov 29 '23 06:11 kukulinxin

@kukulinxin i fixed the problem. check here

omeredemen avatar Apr 05 '24 07:04 omeredemen

Thanks @omeredemen will check it out

Avi241 avatar Apr 05 '24 08:04 Avi241