#include <CameraOpenni.h>
Public Member Functions | |
CameraOpenni (const std::string &deviceId="", float imageRate=0, const Transform &localTransform=CameraModel::opticalRotation()) | |
virtual std::string | getSerial () const |
virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
virtual bool | isCalibrated () const |
virtual | ~CameraOpenni () |
Public Member Functions inherited from rtabmap::Camera | |
float | getImageRate () const |
const Transform & | getLocalTransform () const |
bool | initFromFile (const std::string &calibrationPath) |
virtual bool | odomProvided () const |
void | resetTimer () |
void | setImageRate (float imageRate) |
void | setLocalTransform (const Transform &localTransform) |
SensorData | takeImage (CameraInfo *info=0) |
virtual | ~Camera () |
Static Public Member Functions | |
static bool | available () |
Protected Member Functions | |
virtual SensorData | captureImage (CameraInfo *info=0) |
Protected Member Functions inherited from rtabmap::Camera | |
Camera (float imageRate=0, const Transform &localTransform=CameraModel::opticalRotation()) | |
int | getNextSeqID () |
Private Attributes | |
boost::signals2::connection | connection_ |
UMutex | dataMutex_ |
USemaphore | dataReady_ |
cv::Mat | depth_ |
float | depthConstant_ |
std::string | deviceId_ |
pcl::Grabber * | interface_ |
cv::Mat | rgb_ |
Definition at line 59 of file CameraOpenni.h.
rtabmap::CameraOpenni::CameraOpenni | ( | const std::string & | deviceId = "" , |
float | imageRate = 0 , |
||
const Transform & | localTransform = CameraModel::opticalRotation() |
||
) |
Definition at line 43 of file CameraOpenni.cpp.
|
virtual |
Definition at line 60 of file CameraOpenni.cpp.
|
static |
Definition at line 51 of file CameraOpenni.cpp.
|
protectedvirtual |
returned rgb and depth images should be already rectified if calibration was loaded
Implements rtabmap::Camera.
Definition at line 185 of file CameraOpenni.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 174 of file CameraOpenni.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 111 of file CameraOpenni.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 165 of file CameraOpenni.cpp.
|
private |
Definition at line 95 of file CameraOpenni.h.
|
private |
Definition at line 99 of file CameraOpenni.h.
|
private |
Definition at line 100 of file CameraOpenni.h.
|
private |
Definition at line 96 of file CameraOpenni.h.
|
private |
Definition at line 98 of file CameraOpenni.h.
|
private |
Definition at line 94 of file CameraOpenni.h.
|
private |
Definition at line 93 of file CameraOpenni.h.
|
private |
Definition at line 97 of file CameraOpenni.h.