UZ-SLAMLab / ORB_SLAM3

ORB-SLAM3: An Accurate Open-Source Library for Visual, Visual-Inertial and Multi-Map SLAM
GNU General Public License v3.0
6.39k stars 2.51k forks source link

ORB_SLAM3 adds semantic information #686

Open wafaer opened 1 year ago

wafaer commented 1 year ago

dear professor @jdtardos Thank you very much for your initiative to open source a powerful SLAM system. I want to add semantic information to the processing frame to eliminate dynamic feature points, but I am tracking function (Sophus::SE3f System::TrackRGBD(const cv::Mat &im, const cv::Mat &depthmap, const double &timestamp,const vector& vImuMeas,string filename, cv::Mat &mask)) Add a parameter mask to this error "Missing default argument on parameter 'mask'", where is the previous default parameter setting not found, how to correct this error?

WFram commented 1 year ago

You need to set a default value for cv::Mat &mask in the declaration of this function in System.h. As it's done for vImuMeas and filename parameters.