#include <CameraK4A.h>
Public Member Functions | |
CameraK4A (int deviceId=0, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity()) | |
CameraK4A (const std::string &fileName, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity()) | |
virtual std::string | getSerial () const |
virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
virtual bool | isCalibrated () const |
void | setIRDepthFormat (bool enabled) |
void | setPreferences (int rgb_resolution, int framerate, int depth_resolution) |
virtual | ~CameraK4A () |
Public Member Functions inherited from rtabmap::Camera | |
float | getImageRate () const |
const Transform & | getLocalTransform () const |
virtual bool | getPose (double stamp, Transform &pose, cv::Mat &covariance) |
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=Transform::getIdentity()) | |
int | getNextSeqID () |
Private Member Functions | |
void | close () |
Definition at line 45 of file CameraK4A.h.
rtabmap::CameraK4A::CameraK4A | ( | int | deviceId = 0 , |
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 51 of file CameraK4A.cpp.
rtabmap::CameraK4A::CameraK4A | ( | const std::string & | fileName, |
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 74 of file CameraK4A.cpp.
|
virtual |
Definition at line 97 of file CameraK4A.cpp.
|
static |
Definition at line 42 of file CameraK4A.cpp.
|
protectedvirtual |
returned rgb and depth images should be already rectified if calibration was loaded
Implements rtabmap::Camera.
Definition at line 411 of file CameraK4A.cpp.
|
private |
Definition at line 102 of file CameraK4A.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 398 of file CameraK4A.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 147 of file CameraK4A.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 393 of file CameraK4A.cpp.
void rtabmap::CameraK4A::setIRDepthFormat | ( | bool | enabled | ) |
Definition at line 140 of file CameraK4A.cpp.
void rtabmap::CameraK4A::setPreferences | ( | int | rgb_resolution, |
int | framerate, | ||
int | depth_resolution | ||
) |
Definition at line 130 of file CameraK4A.cpp.