Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
rtabmap::CameraFreenect Class Reference

#include <CameraFreenect.h>

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

Public Types

enum  Type { kTypeColorDepth, kTypeIRDepth }
 

Public Member Functions

 CameraFreenect (int deviceId=0, Type type=kTypeColorDepth, 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 ~CameraFreenect ()
 
- 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())
 

Detailed Description

Definition at line 44 of file CameraFreenect.h.

Member Enumeration Documentation

◆ Type

Enumerator
kTypeColorDepth 
kTypeIRDepth 

Definition at line 49 of file CameraFreenect.h.

Constructor & Destructor Documentation

◆ CameraFreenect()

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

Definition at line 293 of file CameraFreenect.cpp.

◆ ~CameraFreenect()

rtabmap::CameraFreenect::~CameraFreenect ( )
virtual

Definition at line 310 of file CameraFreenect.cpp.

Member Function Documentation

◆ available()

bool rtabmap::CameraFreenect::available ( )
static

Definition at line 284 of file CameraFreenect.cpp.

◆ captureImage()

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

Implements rtabmap::Camera.

Definition at line 421 of file CameraFreenect.cpp.

◆ getSerial()

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

Implements rtabmap::SensorCapture.

Definition at line 410 of file CameraFreenect.cpp.

◆ init()

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

Implements rtabmap::SensorCapture.

Definition at line 326 of file CameraFreenect.cpp.

◆ isCalibrated()

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

Implements rtabmap::Camera.

Definition at line 405 of file CameraFreenect.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