37 #include "rtabmap/core/Version.h" 51 class slam_event_handler;
56 static bool available();
65 bool computeOdometry =
false,
67 const Transform & localTransform = CameraModel::opticalRotation());
70 void setDepthScaledToRGBSize(
bool enabled);
72 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
73 virtual bool isCalibrated()
const;
74 virtual std::string getSerial()
const;
75 virtual bool odomProvided()
const;
81 #ifdef RTABMAP_REALSENSE 87 bool computeOdometry_;
88 bool depthScaledToRGBSize_;
91 std::vector<int> rsRectificationTable_;
94 rs::slam::slam * slam_;
97 std::map<double, std::pair<cv::Mat, cv::Mat> > bufferedFrames_;
98 std::pair<cv::Mat, cv::Mat> lastSyncFrames_;
def init(descriptorDim, matchThreshold, iterations, cuda, model_path)