RonaldSun/VI-Stereo-DSO

Can't run with different output resolution

Opened this issue · 2 comments

Hi,

Thanks for sharing the code.

I have the issue when I try the both mono and stereo mode on EuRoC dataset. I changed the output image resolution by modifying the 4th line of cam0.txt and cam1.txt, but segmentation fault happens.

Does anyone have an idea to fix this?

Screenshot from 2020-08-22 03-21-26

In file CoarseTracker.cpp, line 974, imu_track_w[0] = imu_weight_tracker; keep this line and deleter following fourlines. They are not useful. This cause this problem.
//imu_track_w[1] = imu_track_w[0]/1.2;
//imu_track_w[2] = imu_track_w[1]/1.5;
//imu_track_w[3] = imu_track_w[2]/2;
//imu_track_w[4] = imu_track_w[3]/3;

In file CoarseTracker.cpp, line 974, imu_track_w[0] = imu_weight_tracker; keep this line and deleter following fourlines. They are not useful. This cause this problem.
//imu_track_w[1] = imu_track_w[0]/1.2;
//imu_track_w[2] = imu_track_w[1]/1.5;
//imu_track_w[3] = imu_track_w[2]/2;
//imu_track_w[4] = imu_track_w[3]/3;

I try to run the code on Visual-Inertial Dataset,it works!