rubengooj / stvo-pl

Stereo Visual Odometry by combining point and line segment features
GNU General Public License v3.0
222 stars 96 forks source link

basic_string::_M_construct null not valid #10

Open suddhu opened 6 years ago

suddhu commented 6 years ago

Upon running, I get the below error -

./imagesStVO /home/suddhu/to-sync/dataset/KITTI/sequences/00/image_0 terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid [1] 9656 abort (core dumped) ./imagesStVO /home/suddhu/to-sync/dataset/KITTI/sequences/00/image_0

I've been getting this error for both StVO-PL and PL-slam. Any idea why?

Zhangzhen18 commented 6 years ago

@suddhu I also encountered the same problem. How did you solve it?

zcyHHU commented 4 years ago

I also encountered the same problem. How did you solve it

weiningwei commented 3 years ago

I also encountered the same problem.But I have fixed it by this way. I add the kitti odometry dataset directory to the environment variable.That is export DATASETS_DIR=/home/weiningwei/dataset/kitti_data_odometry_gray/sequences/ Then run it. ./build/imagesStVO 00/ -c ./config/dataset_params/kitti00-02.yaml