HKUST-Aerial-Robotics / VINS-Mono

A Robust and Versatile Monocular Visual-Inertial State Estimator
GNU General Public License v3.0
4.86k stars 2.08k forks source link

when i use my own data, i met an error: [feature_tracker-2] process has died #342

Open 708949503 opened 4 years ago

708949503 commented 4 years ago

As shown in after:

penCV Error: Assertion failed (0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows) in Mat, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/core/src/matrix.cpp, line 492 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/core/src/matrix.cpp:492: error: (-215) 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows in function Mat

[feature_tracker-2] process has died [pid 13411, exit code -6, cmd /home/zwz/catkin_vins/devel/lib/feature_tracker/feature_tracker __name:=feature_tracker __log:=/home/zwz/.ros/log/4f86534e-ba00-11ea-a00e-b46921808f0e/feature_tracker-2.log]. log file: /home/zwz/.ros/log/4f86534e-ba00-11ea-a00e-b46921808f0e/feature_tracker-2*.log

can you tell me how to solve it, thank you. i can run dataset euroc, but my own data is not work

708949503 commented 4 years ago

i have solved this question

GuoChuan1314 commented 4 years ago

How did you solve it?Can you tell me ?

708949503 commented 4 years ago

you must check your photo size

How did you solve it?Can you tell me ?

fourteen14fourteen commented 3 years ago

Hello, I would like to ask, are you using your own device to try to run VINS, or using your own pre-collected data set? If be the data set that collects beforehand, how is collect excuse me?

708949503 commented 3 years ago

Hello, I would like to ask, are you using your own device to try to run VINS, or using your own pre-collected data set? If be the data set that collects beforehand, how is collect excuse me? You have two ways; one is drive your own device in ROS and just need change the topic in VINS or you collect data before hand and make rosbag bt yourself . May be the kalibr is an useful method.