27 #include<opencv2/core/core.hpp> 30 #include "FrameDrawer.h" 31 #include "MapDrawer.h" 33 #include "LocalMapping.h" 34 #include "LoopClosing.h" 35 #include "KeyFrameDatabase.h" 36 #include "ORBVocabulary.h" 62 System(
const string &strVocFile,
const string &strSettingsFile,
const eSensor sensor,
const bool bUseViewer =
true);
67 cv::Mat TrackStereo(
const cv::Mat &imLeft,
const cv::Mat &imRight,
const double ×tamp);
73 cv::Mat TrackRGBD(
const cv::Mat &im,
const cv::Mat &depthmap,
const double ×tamp);
78 cv::Mat TrackMonocular(
const cv::Mat &im,
const double ×tamp);
81 void ActivateLocalizationMode();
83 void DeactivateLocalizationMode();
101 void SaveTrajectoryTUM(
const string &filename);
107 void SaveKeyFrameTrajectoryTUM(
const string &filename);
113 void SaveTrajectoryKITTI(
const string &filename);
121 int GetTrackingState();
122 std::vector<MapPoint*> GetTrackedMapPoints();
123 std::vector<cv::KeyPoint> GetTrackedKeyPointsUn();
131 ORBVocabulary* mpVocabulary;
159 std::thread* mptLocalMapping;
160 std::thread* mptLoopClosing;
161 std::thread* mptViewer;
164 std::mutex mMutexReset;
168 std::mutex mMutexMode;
169 bool mbActivateLocalizationMode;
170 bool mbDeactivateLocalizationMode;
174 std::vector<MapPoint*> mTrackedMapPoints;
175 std::vector<cv::KeyPoint> mTrackedKeyPointsUn;
176 std::mutex mMutexState;
Definition: Tracking.h:53
Definition: LoopClosing.h:44
Definition: KeyFrameDatabase.h:42
Definition: Converter.cpp:24
Definition: MapDrawer.h:34
Definition: FrameDrawer.h:40
Definition: LocalMapping.h:40