34 #include "rtabmap/core/Version.h" 49 static bool available();
50 static bool exposureGainAvailable();
51 enum Type {kTypeColorDepth, kTypeIRDepth, kTypeIR};
55 Type type = kTypeColorDepth,
57 const Transform & localTransform = CameraModel::opticalRotation());
60 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
61 virtual bool isCalibrated()
const;
62 virtual std::string getSerial()
const;
64 bool setAutoWhiteBalance(
bool enabled);
65 bool setAutoExposure(
bool enabled);
66 bool setExposure(
int value);
67 bool setGain(
int value);
68 bool setMirroring(
bool enabled);
69 void setOpenNI2StampsAndIDsUsed(
bool used);
70 void setIRDepthShift(
int horizontal,
int vertical);
76 #ifdef RTABMAP_OPENNI2 78 openni::Device * _device;
79 openni::VideoStream * _color;
80 openni::VideoStream * _depth;
83 std::string _deviceId;
84 bool _openNI2StampsAndIDsUsed;
def init(descriptorDim, matchThreshold, iterations, cuda, model_path)