mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Fixed focal computation when images are registered (freenect), Updated FindOpenNI2.cmake for unix
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1364 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -36,6 +36,7 @@ class RTABMAP_EXP FreenectDevice {
|
||||
|
||||
cv::Mat getRgb();
|
||||
cv::Mat getDepth();
|
||||
float getDepthFocal() const {return depthFocal_;}
|
||||
|
||||
// Do not call directly even in child
|
||||
void VideoCallback(void *video, uint32_t timestamp);
|
||||
@@ -59,6 +60,7 @@ class RTABMAP_EXP FreenectDevice {
|
||||
UMutex rgbMutex_;
|
||||
bool depthReady_;
|
||||
bool rgbReady_;
|
||||
float depthFocal_;
|
||||
};
|
||||
|
||||
class RTABMAP_EXP CameraFreenect : public UEventsSender, public UThread
|
||||
|
||||
Reference in New Issue
Block a user