30#include "rtabmap/core/CameraModel.h"
31#include "rtabmap/core/Camera.h"
32#include "rtabmap/core/Version.h"
34typedef struct IKinectSensor IKinectSensor;
35typedef struct ICoordinateMapper ICoordinateMapper;
36typedef struct _DepthSpacePoint DepthSpacePoint;
37typedef struct _ColorSpacePoint ColorSpacePoint;
38typedef struct tagRGBQUAD RGBQUAD;
39typedef struct IMultiSourceFrameReader IMultiSourceFrameReader;
48 static bool available();
57 static const int cDepthWidth = 512;
58 static const int cDepthHeight = 424;
59 static const int cColorWidth = 1920;
60 static const int cColorHeight = 1080;
65 Type type = kTypeDepth2ColorSD,
66 float imageRate = 0.0f,
67 const Transform & localTransform = Transform::getIdentity());
70 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
71 virtual bool isCalibrated()
const;
83 IKinectSensor* pKinectSensor_;
84 ICoordinateMapper* pCoordinateMapper_;
85 DepthSpacePoint* pDepthCoordinates_;
86 ColorSpacePoint* pColorCoordinates_;
87 IMultiSourceFrameReader* pMultiSourceFrameReader_;
88 RGBQUAD * pColorRGBX_;
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.
Represents a pinhole camera model containing intrinsic and extrinsic parameters, used for projection,...
Metadata structure for sensor data capture and processing.
Container class for all sensor data captured at a specific time.