Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
rtabmap::CameraK4A Class Reference

#include <CameraK4A.h>

Inheritance diagram for rtabmap::CameraK4A:
Inheritance graph
[legend]

Public Member Functions

 CameraK4A (const std::string &fileName, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity())
 
 CameraK4A (int deviceId=0, 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
 
bool initFromFile (const std::string &calibrationPath)
 
bool isInterIMUPublishing () const
 
void setImageRate (float imageRate)
 
void setInterIMUPublishing (bool enabled, IMUFilter *filter=0)
 
SensorData takeImage (SensorCaptureInfo *info=0)
 
virtual ~Camera ()
 
- Public Member Functions inherited from rtabmap::SensorCapture
float getFrameRate () const
 
const TransformgetLocalTransform () const
 
virtual bool getPose (double stamp, Transform &pose, cv::Mat &covariance, double maxWaitTime=0.06)
 
virtual bool odomProvided () const
 
void resetTimer ()
 
void setFrameRate (float frameRate)
 
void setLocalTransform (const Transform &localTransform)
 
SensorData takeData (SensorCaptureInfo *info=0)
 
virtual ~SensorCapture ()
 

Static Public Member Functions

static bool available ()
 

Protected Member Functions

virtual SensorData captureImage (SensorCaptureInfo *info=0)
 
- Protected Member Functions inherited from rtabmap::Camera
 Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity())
 
void postInterIMU (const IMU &imu, double stamp)
 
- Protected Member Functions inherited from rtabmap::SensorCapture
int getNextSeqID ()
 
 SensorCapture (float frameRate=0, const Transform &localTransform=Transform::getIdentity())
 

Private Member Functions

void close ()
 

Detailed Description

Definition at line 43 of file CameraK4A.h.

Constructor & Destructor Documentation

◆ CameraK4A() [1/2]

rtabmap::CameraK4A::CameraK4A ( int  deviceId = 0,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 51 of file CameraK4A.cpp.

◆ CameraK4A() [2/2]

rtabmap::CameraK4A::CameraK4A ( const std::string fileName,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 74 of file CameraK4A.cpp.

◆ ~CameraK4A()

rtabmap::CameraK4A::~CameraK4A ( )
virtual

Definition at line 97 of file CameraK4A.cpp.

Member Function Documentation

◆ available()

bool rtabmap::CameraK4A::available ( )
static

Definition at line 42 of file CameraK4A.cpp.

◆ captureImage()

SensorData rtabmap::CameraK4A::captureImage ( SensorCaptureInfo info = 0)
protectedvirtual

Implements rtabmap::Camera.

Definition at line 427 of file CameraK4A.cpp.

◆ close()

void rtabmap::CameraK4A::close ( )
private

Definition at line 102 of file CameraK4A.cpp.

◆ getSerial()

std::string rtabmap::CameraK4A::getSerial ( ) const
virtual

Implements rtabmap::SensorCapture.

Definition at line 414 of file CameraK4A.cpp.

◆ init()

bool rtabmap::CameraK4A::init ( const std::string calibrationFolder = ".",
const std::string cameraName = "" 
)
virtual

Implements rtabmap::SensorCapture.

Definition at line 147 of file CameraK4A.cpp.

◆ isCalibrated()

bool rtabmap::CameraK4A::isCalibrated ( ) const
virtual

Implements rtabmap::Camera.

Definition at line 409 of file CameraK4A.cpp.

◆ setIRDepthFormat()

void rtabmap::CameraK4A::setIRDepthFormat ( bool  enabled)

Definition at line 140 of file CameraK4A.cpp.

◆ setPreferences()

void rtabmap::CameraK4A::setPreferences ( int  rgb_resolution,
int  framerate,
int  depth_resolution 
)

Definition at line 130 of file CameraK4A.cpp.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:27