NetEaseAI-CVLab / CNN-MonoFusion

The release code and dataset of CNN-MonoFusion for ismar2018
MIT License
76 stars 9 forks source link

mpOrbSlamMap->getKeyframeByframeId(ref_keyframe.frame_idx);? #9

Closed prograguo closed 9 months ago

prograguo commented 3 years ago

thanks for you great work ! but i meet this error ORB_SLAM2/src/dense_map/DepthPredictor.cc:124:65: error: ‘class ORB_SLAM2::Map’ has no member named ‘getKeyframeByframeId’ ORB_SLAM2::KeyFrame *orbslam_kf = mpOrbSlamMap->getKeyframeByframeId(ref_keyframe.frame_idx); ^~~~~~~~

Can you help me solve it?

JackHenry1992 commented 9 months ago

Oh, sorry for the late reply, you can add a function to map class, which can get keyframe by frame_idx.