Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | List of all members
rtabmap::CameraK4W2 Class Reference

#include <CameraK4W2.h>

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

Public Types

enum  Type { kTypeColor2DepthSD, kTypeDepth2ColorSD, kTypeDepth2ColorHD }
 

Public Member Functions

 CameraK4W2 (int deviceId=0, Type type=kTypeDepth2ColorSD, 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
 
virtual ~CameraK4W2 ()
 
- Public Member Functions inherited from rtabmap::Camera
float getImageRate () const
 
const TransformgetLocalTransform () 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 ()
 

Static Public Attributes

static const int cColorHeight = 1080
 
static const int cColorWidth = 1920
 
static const int cDepthHeight = 424
 
static const int cDepthWidth = 512
 

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 ()
 

Detailed Description

Definition at line 46 of file CameraK4W2.h.

Member Enumeration Documentation

◆ Type

Enumerator
kTypeColor2DepthSD 
kTypeDepth2ColorSD 
kTypeDepth2ColorHD 

Definition at line 52 of file CameraK4W2.h.

Constructor & Destructor Documentation

◆ CameraK4W2()

rtabmap::CameraK4W2::CameraK4W2 ( int  deviceId = 0,
Type  type = kTypeDepth2ColorSD,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 62 of file CameraK4W2.cpp.

◆ ~CameraK4W2()

rtabmap::CameraK4W2::~CameraK4W2 ( )
virtual

Definition at line 82 of file CameraK4W2.cpp.

Member Function Documentation

◆ available()

bool rtabmap::CameraK4W2::available ( )
static

Definition at line 53 of file CameraK4W2.cpp.

◆ captureImage()

SensorData rtabmap::CameraK4W2::captureImage ( CameraInfo info = 0)
protectedvirtual

returned rgb and depth images should be already rectified if calibration was loaded

Implements rtabmap::Camera.

Definition at line 281 of file CameraK4W2.cpp.

◆ close()

void rtabmap::CameraK4W2::close ( )
private

Definition at line 107 of file CameraK4W2.cpp.

◆ getSerial()

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

Implements rtabmap::Camera.

Definition at line 263 of file CameraK4W2.cpp.

◆ init()

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

Implements rtabmap::Camera.

Definition at line 135 of file CameraK4W2.cpp.

◆ isCalibrated()

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

Implements rtabmap::Camera.

Definition at line 258 of file CameraK4W2.cpp.

Member Data Documentation

◆ cColorHeight

const int rtabmap::CameraK4W2::cColorHeight = 1080
static

Definition at line 62 of file CameraK4W2.h.

◆ cColorWidth

const int rtabmap::CameraK4W2::cColorWidth = 1920
static

Definition at line 61 of file CameraK4W2.h.

◆ cDepthHeight

const int rtabmap::CameraK4W2::cDepthHeight = 424
static

Definition at line 60 of file CameraK4W2.h.

◆ cDepthWidth

const int rtabmap::CameraK4W2::cDepthWidth = 512
static

Definition at line 59 of file CameraK4W2.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00