30#include "rtabmap/core/rtabmap_core_export.h"
32#include "rtabmap/core/StereoCameraModel.h"
33#include "rtabmap/core/Camera.h"
34#include "rtabmap/core/Version.h"
36typedef struct _freenect_context freenect_context;
37typedef struct _freenect_device freenect_device;
48 static bool available();
49 enum Type {kTypeColorDepth, kTypeIRDepth};
54 Type type = kTypeColorDepth,
56 const Transform & localTransform = Transform::getIdentity());
59 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
60 virtual bool isCalibrated()
const;
67#ifdef RTABMAP_FREENECT
70 freenect_context * ctx_;
71 FreenectDevice * freenectDevice_;
virtual bool init(const std::string &calibrationFolder=".", const std::string &cameraName="")
Initializes the sensor.
virtual std::string getSerial() const
Returns the sensor's serial number or unique identifier.
Metadata structure for sensor data capture and processing.
Container class for all sensor data captured at a specific time.
A class representing a calibrated stereo camera system.