mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Updated CameraFreenect2 with latest freenect2 library (commit cdeb07917c)
This commit is contained in:
@@ -218,16 +218,17 @@ public:
|
||||
static bool available();
|
||||
|
||||
enum Type{
|
||||
kTypeRGBDepthSD,
|
||||
kTypeRGBDepthHD,
|
||||
kTypeColor2DepthSD,
|
||||
kTypeDepth2ColorHD,
|
||||
kTypeDepth2ColorSD,
|
||||
kTypeIRDepth,
|
||||
kTypeRGBIR
|
||||
kTypeColorIR
|
||||
};
|
||||
|
||||
public:
|
||||
// default local transform z in, x right, y down));
|
||||
CameraFreenect2(int deviceId= 0,
|
||||
Type type = kTypeRGBDepthSD,
|
||||
Type type = kTypeColor2DepthSD,
|
||||
float imageRate=0.0f,
|
||||
const Transform & localTransform = Transform::getIdentity());
|
||||
virtual ~CameraFreenect2();
|
||||
@@ -248,6 +249,8 @@ private:
|
||||
libfreenect2::PacketPipeline * pipeline_;
|
||||
libfreenect2::SyncMultiFrameListener * listener_;
|
||||
libfreenect2::Registration * reg_;
|
||||
double minKinect2Depth_;
|
||||
double maxKinect2Depth_;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user