34 #include "rtabmap/core/Version.h" 38 #include <k4a/k4atypes.h> 39 #include <k4arecord/playback.h> 49 static bool available();
53 float imageRate = 0.0
f,
56 float imageRate = 0.0
f,
60 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
61 virtual bool isCalibrated()
const;
62 virtual std::string getSerial()
const;
64 void setIRDepthFormat(
bool enabled);
65 void setPreferences(
int rgb_resolution,
int framerate,
int depth_resolution);
76 k4a_device_t deviceHandle_;
77 k4a_device_configuration_t config_;
78 k4a_calibration_t calibration_;
79 k4a_transformation_t transformationHandle_;
80 k4a_capture_t captureHandle_;
81 k4a_playback_t playbackHandle_;
82 std::string serial_number_;
86 std::string fileName_;
89 int depth_resolution_;
91 double previousStamp_;
92 double timestampOffset_;
def init(descriptorDim, matchThreshold, iterations, cuda, model_path)