Eralien / TE-ORB_SLAM2

This repository utilizes the high-dimensional info extracted from YOLO v3 and merges it in ORB-SLAM2.
73 stars 23 forks source link

problem #2

Open huuxi opened 3 years ago

huuxi commented 3 years ago

@vika-77

Hello,have you solved the problem? I meet the same problem.

Angel-Y commented 2 years ago

I have some problem when building ORBSLAM2: (1)/root/TE-ORB_SLAM2-ORB-SLAM2_with_Semantics/ORB_SLAM2/src/Tracking.cc:260:101: error: ‘mThDe pthj’ was not declared in this scope mGray,timestamp,mpORBextractorLeft,mpORBVocabulary,mK,mDistCoef,mbf,mThDepthj, detections);

(2)/root/TE-ORB_SLAM2-ORB-SLAM2_with_Semantics/ORB_SLAM2/src/Frame.cc:200:57: error: ‘validKPs’ was not declared in this scope get_semantic_info(keypoints, detections, mSemantic, validKPs); (3)/root/TE-ORB_SLAM2-ORB-SLAM2_with_Semantics/ORB_SLAM2/src/Frame.cc:198:32: error: ‘keypoints ’ was not declared in this scope mSemantic = cv::Mat::zeros(keypoints.size(), NUM_CLASSTYPES, CV_32FC1) ^~~~~ (4)/root/TE-ORB_SLAM2-ORB-SLAM2_with_Semantics/ORB_SLAM2/src/ORBmatcher.cc:1425:21: error: expe cted ‘,’ or ‘;’ before ‘const’ const int dist = DescriptorDistance(dMP,d) + LAMBDA * SemanticDistance( prob, p) // to add (5)/root/TE-ORB_SLAM2-ORB-SLAM2_with_Semantics/ORB_SLAM2/src/ORBmatcher.cc:1673:8: error: no de claration matches ‘double ORB_SLAM2::ORBmatcher::SemanticDistance(const cv::Mat&, const cv:: Mat&)’ double ORBmatcher::SemanticDistance(const cv::Mat &a, const cv::Mat &b)