Closed yriuss closed 2 years ago
Check whether the file in the record image file path contains CR newline characters Try to clear CR newline characters ex ./Monocular/EuRoC_TimeStamps/MH01.txt
@mskhrk Before ".pnged to load image at" the output was "Failed to load image at". Then I tried this and the output changed to what it is now. One other thing that I can mention is that now the path changed to "~/data/EuRoC/MH01/mav0/cam0/data/1403636579763555584", which is the path that I was expecting, but the error persists. I also found that in the first try everytime I restart the computer, the output gives me this: ./euroc_examples.sh: line 52: 73127 Segmentation fault (core dumped) ./Stereo/stereo_euroc ../Vocabulary/ORBvoc.txt ./Stereo/EuRoC.yaml "$pathDatasetEuroc"/MH01 ./Stereo/EuRoC_TimeStamps/MH01.txt dataset-MH01_stereo
I am still analyzing, but there is clearly something wrong with the line "strPathLeft + "/" + ss.str() + ".png"" in the code...
update: I changed to ""/home/adriel/data/EuRoC" + strPathLeft + "/" + ss.str().substr(0, ss.str().size()-1) + ".png"" and it worked!
Running
./euroc_examples
the output stops at ".pnged to load image at" and nothing happens. What should I do now?The output:
I see that the path doesn't exist, but I don't know how to change that. I tried to create it, but nothing happened.