mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Updated CameraFreenect2 with latest freenect2 library (commit https://github.com/OpenKinect/libfreenect2/commit/cdeb07917c3431abf530785c151c9656f1c26d3a)
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