#include <CameraDepthAI.h>
Public Member Functions | |
CameraDepthAI (const std::string &deviceSerial="", int resolution=1, 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 | setIMUFirmwareUpdate (bool enabled) |
void | setIMUPublished (bool published) |
void | setOutputDepth (bool enabled, int confidence=200) |
virtual | ~CameraDepthAI () |
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 () |
Definition at line 46 of file CameraDepthAI.h.
rtabmap::CameraDepthAI::CameraDepthAI | ( | const std::string & | deviceSerial = "" , |
int | resolution = 1 , |
||
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 47 of file CameraDepthAI.cpp.
|
virtual |
Definition at line 68 of file CameraDepthAI.cpp.
|
static |
Definition at line 38 of file CameraDepthAI.cpp.
|
protectedvirtual |
returned rgb and depth images should be already rectified if calibration was loaded
Implements rtabmap::Camera.
Definition at line 297 of file CameraDepthAI.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 289 of file CameraDepthAI.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 109 of file CameraDepthAI.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 280 of file CameraDepthAI.cpp.
void rtabmap::CameraDepthAI::setIMUFirmwareUpdate | ( | bool | enabled | ) |
Definition at line 91 of file CameraDepthAI.cpp.
void rtabmap::CameraDepthAI::setIMUPublished | ( | bool | published | ) |
Definition at line 100 of file CameraDepthAI.cpp.
void rtabmap::CameraDepthAI::setOutputDepth | ( | bool | enabled, |
int | confidence = 200 |
||
) |
Definition at line 78 of file CameraDepthAI.cpp.