34 #include "rtabmap/core/Version.h" 39 class Freenect2Device;
40 class SyncMultiFrameListener;
52 static bool available();
66 Type type = kTypeDepth2ColorSD,
68 const Transform & localTransform = CameraModel::opticalRotation(),
69 float minDepth = 0.3f,
70 float maxDepth = 12.0f,
71 bool bilateralFiltering =
true,
72 bool edgeAwareFiltering =
true,
73 bool noiseFiltering =
true,
74 const std::string & pipelineName =
"");
77 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
78 virtual bool isCalibrated()
const;
79 virtual std::string getSerial()
const;
85 #ifdef RTABMAP_FREENECT2 89 libfreenect2::Freenect2 * freenect2_;
90 libfreenect2::Freenect2Device *dev_;
91 libfreenect2::SyncMultiFrameListener * listener_;
92 libfreenect2::Registration * reg_;
93 float minKinect2Depth_;
94 float maxKinect2Depth_;
95 bool bilateralFiltering_;
96 bool edgeAwareFiltering_;
98 std::string pipelineName_;
def init(descriptorDim, matchThreshold, iterations, cuda, model_path)