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 = Transform::getIdentity());
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);
71 void setDepthDecimation(
int decimation);
77 #ifdef RTABMAP_OPENNI2 79 openni::Device * _device;
80 openni::VideoStream * _color;
81 openni::VideoStream * _depth;
84 std::string _deviceId;
85 bool _openNI2StampsAndIDsUsed;
def init(descriptorDim, matchThreshold, iterations, cuda, model_path)