It works well in "mono_euroc", but failure in "stereo_euroc".
Take the V101 for example:
In "stereo_euroc", it works well just for a while. Suddenly:
Segmentation fault (core dumped)
So I debug in gdb, and found:
Program received signal SIGSEGV, Segmentation fault.
ygz::Frame::ComputeStereoMatches (this=this@entry=0xc2403c0)
at /home/huicanlin/src/ORB-YGZ-SLAM/src/Frame.cc:671
671 const float median = vDistIdx[vDistIdx.size() / 2].first;
Thanks Dr. Gao for sharing the codes!
Ubunut14.04, OpenCV: 3.1.0, Eigen: 3.2.10.
It works well in "mono_euroc", but failure in "stereo_euroc".
Take the V101 for example:
In "stereo_euroc", it works well just for a while. Suddenly: Segmentation fault (core dumped)
So I debug in gdb, and found: Program received signal SIGSEGV, Segmentation fault. ygz::Frame::ComputeStereoMatches (this=this@entry=0xc2403c0) at /home/huicanlin/src/ORB-YGZ-SLAM/src/Frame.cc:671 671 const float median = vDistIdx[vDistIdx.size() / 2].first;
Any suggestions?