27 #include<opencv2/core/core.hpp> 41 #include <pcl/common/transforms.h> 42 #include <pcl/point_types.h> 43 #include <pcl/filters/voxel_grid.h> 44 #include <condition_variable> 45 #include <pcl/io/pcd_io.h> 76 int32_t GetTcwDataCacheIndex();
77 shared_ptr<PointCloudMapping> GetPointCloudMapping();
87 System(
const string &strVocFile,
const string &strSettingsFile,
const eSensor sensor,
const bool bUseViewer =
true);
92 cv::Mat TrackStereo(
const cv::Mat &imLeft,
const cv::Mat &imRight,
const double ×tamp);
98 cv::Mat TrackRGBD(
const cv::Mat &im,
const cv::Mat &depthmap,
const double ×tamp);
103 cv::Mat TrackMonocular(
const cv::Mat &im,
const double ×tamp);
106 void ActivateLocalizationMode();
108 void DeactivateLocalizationMode();
126 void SaveTrajectoryTUM(
const string &
filename);
132 void SaveKeyFrameTrajectoryTUM(
const string &filename);
138 void SaveTrajectoryKITTI(
const string &filename);
140 void Save2dMapPointsTUM(
const string &filename,
const int x,
const int y);
141 void SaveGridMapTUM(
const string &filename);
150 int GetTrackingState();
151 std::vector<MapPoint*> GetTrackedMapPoints();
152 std::vector<cv::KeyPoint> GetTrackedKeyPointsUn();
KeyFrameDatabase * mpKeyFrameDatabase
ORBVocabulary * mpVocabulary
std::vector< MapPoint * > mTrackedMapPoints
std::thread * mptLocalMapping
LoopClosing * mpLoopCloser
LoopClosing * getLoopClosing()
LocalMapping * mpLocalMapper
shared_ptr< PointCloudMapping > mpPointCloudMapping
TFSIMD_FORCE_INLINE const tfScalar & y() const
LocalMapping * getLocalMapping()
std::thread * mptLoopClosing
std::vector< cv::KeyPoint > mTrackedKeyPointsUn
bool mbActivateLocalizationMode
pcl::PointCloud< PointT > PointCloud
TFSIMD_FORCE_INLINE const tfScalar & x() const
bool mbDeactivateLocalizationMode
FrameDrawer * mpFrameDrawer
DataCache< cv::Mat > * mpTcwDataCache