HKUST-Aerial-Robotics / VINS-Fusion

An optimization-based multi-sensor state estimator
GNU General Public License v3.0
3.39k stars 1.37k forks source link

Segmentation fault while running euroc_stereo_imu_config.yaml #106

Open lken01 opened 4 years ago

lken01 commented 4 years ago

This might be a bit off, but I am getting segmentation fault while trying to run euroc_stereo_imu_config.yaml over the MH_01_easy dataset.

rosrun vins vins_node src/VINS-Fusion/config/euroc/euroc_stereo_imu_config_copy.yaml 
[ INFO] [1584082013.857997258]: init begins
config_file: src/VINS-Fusion/config/euroc/euroc_stereo_imu_config_copy.yaml
USE_IMU: 1
IMU_TOPIC: /imu0
result path ~/output//vio.csv
[ WARN] [1584082013.869343952]:  fix extrinsic param 
camera number 1
[ INFO] [1584082013.869990193]: Synchronized sensors, fix time offset: 0
[ INFO] [1584082013.870170803]: ROW: 480 COL: 752 
 exitrinsic cam 0
 0.0148655  -0.999881  0.0041403
  0.999557  0.0149672  0.0257155
-0.0257744 0.00375619   0.999661
-0.0216401  -0.064677 0.00981073
set g       0       0 9.81007
[ INFO] [1584082013.871279533]: reading paramerter of camera src/VINS-Fusion/config/euroc/cam0_mei.yaml
MULTIPLE_THREAD is 1
[ WARN] [1584082013.871877933]: waiting for image and imu...
init first imu pose
averge acc 7.745210 -0.452196 -2.672312
init R0 
  0.330294    0.15748   0.930648
         0  -0.985983   0.166843
  0.943878 -0.0551073  -0.325664
[ WARN] [1584082017.894913265]: gyroscope bias initial calibration -0.00409239   0.0257547   0.0779806
Segmentation fault (core dumped)

Help would be much appreciated. Thank you.

Mealoore commented 4 years ago

the same problem

shaozu commented 4 years ago

Hi, you can try docker first in case of environment problem.

nickle-fang commented 3 years ago

Hey, I have met the same problem. I solved it at last. It is because I use the Ubuntu 20.04 + ROS Noetic and my opecv conflicts with the ROS version. You can try this repo which fix the problem in ROS noetic:https://github.com/mrdavoodi/VINS-Fusion.git

yubaoliu commented 2 years ago

@nickle-fang I also met this error and I use the same environment as you. How you solved it? Thanks

Rick-Weng commented 1 year ago

Hey, I have met the same problem. I solved it at last. It is because I use the Ubuntu 20.04 + ROS Noetic and my opecv conflicts with the ROS version. You can try this repo which fix the problem in ROS noetic:https://github.com/mrdavoodi/VINS-Fusion.git哥们咋解决的阿,ROS20.04和Opencv版本冲突是要换成哪个版本opencv?

rocker12121 commented 11 months ago

Hey, I have met the same problem. I solved it at last. It is because I use the Ubuntu 20.04 + ROS Noetic and my opecv conflicts with the ROS version. You can try this repo which fix the problem in ROS noetic:https://github.com/mrdavoodi/VINS-Fusion.git

Hello. the link you provided is not working. Can you please tell me how did you solve this error? Thank you.

vipslzyz commented 10 months ago

same problem,is there any advise?