Open kevinchow1993 opened 7 years ago
set the right image_width and image_height in config file.
Thanks, My image is 640*480*, and I set image_width=640, image_height=480. It turned to be wrong. but I set 752480 just now, it worked!!** Do you know why?
are you using fisheye? if you use fisheye, please draw a cirle mask in the same size.
@kevinchow1993 i have the same issue but it didn't change when i modified image_width and image_height. Do you know why or you modified something else ?
@qintonguav When I use kitti dataset with vins, I encountered one problem which is
[RUNNING] Bag Time: 1317357761.831904 Duration: 0.002078 / 537.850337
[RUNNING] Bag Time: 1317357761.891237 Duration: 0.061411 / 537.850337
[RUNNING] Bag Time: 1317357761.932425 Duration: 0.102599 / 537.850337
[RUNNING] Bag Time: 1317357761.933925 Duration: 0.104099 / 537.850337
[RUNNING] Bag Time: 1317357761.934457 Duration: 0.104631 / 537.850337
[RUNNING] Bag Time: 1317357761.935838 Duration: 0.106012 / 537.850337
OpenCV 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
[RUNNING] Bag Time: 1317357761.992828 Duration: 0.163002 / 537.850337
[RUNNING] Bag Time: 1317357762.033182 Duration: 0.203356 / 537.850337
[RUNNING] Bag Time: 1317357762.037807 Duration: 0.207981 / 537.850337
[RUNNING] Bag Time: 1317357762.038259 Duration: 0.208433 / 537.850337
[RUNNING] Bag Time: 1317357762.043259 Duration: 0.213432 / 537.850337
[RUNNING] Bag Time: 1317357762.093648 Duration: 0.263822 / 537.850337
[feature_tracker-1] process has died [pid 3558, exit code -6, cmd /home/test/vins_ws/devel/lib/feature_tracker/feature_tracker __name:=feature_tracker __log:=/home/test/.ros/log/d8cecac6-9f65-11e8-bc7e-1002b5c94820/feature_tracker-1.log].
log file: /home/test/.ros/log/d8cecac6-9f65-11e8-bc7e-1002b5c94820/feature_tracker-1*.log
[RUNNING] Bag Time: 1317357762.134015 Duration: 0.304189 / 537.850337
Could you tell how to solve it.Thanks!
@yueshukun I also go the same error 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 if you have solved it please could you tell me
If you're using any of the kitti raw sync sequences, you need to adjust the image size accordingly in the config file. The images are cropped to account for the undistortion effects making the size smaller than the original size of 1392 x 512.
@chrismath
Change image_width & image_height depend on your dataset or camera.
vi ./catkin_ws/src/VINS-Mono/config/euroc/euroc_config.yaml
camera_name: camera
#image_width: 752
image_height: 480
image_width: 640
I changed the topics in file euroc_config_no_extrinsic.yaml and set my camera parameter. But when iI launch euroc_no_extrinsic_param.launch It came with an opencv error: