TE-ORB_SLAM2 icon indicating copy to clipboard operation
TE-ORB_SLAM2 copied to clipboard

problem

Open huuxi opened this issue 5 years ago • 1 comments

@vika-77

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

huuxi avatar Feb 24 '21 09:02 huuxi

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)

Angel-Y avatar Dec 15 '21 06:12 Angel-Y