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

#include <CameraRGBD.h>

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

Public Types

enum  RGBSource { kColor, kInfrared, kFishEye }
 

Public Member Functions

 CameraRealSense (int deviceId=0, int presetRGB=0, int presetDepth=0, bool computeOdometry=false, float imageRate=0, 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 bool odomProvided () const
 
void setDepthScaledToRGBSize (bool enabled)
 
void setRGBSource (RGBSource source)
 
virtual ~CameraRealSense ()
 
- Public Member Functions inherited from rtabmap::Camera
float getImageRate () const
 
const TransformgetLocalTransform () 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 ()
 

Detailed Description

Definition at line 377 of file CameraRGBD.h.

Member Enumeration Documentation

Enumerator
kColor 
kInfrared 
kFishEye 

Definition at line 382 of file CameraRGBD.h.

Constructor & Destructor Documentation

rtabmap::CameraRealSense::CameraRealSense ( int  deviceId = 0,
int  presetRGB = 0,
int  presetDepth = 0,
bool  computeOdometry = false,
float  imageRate = 0,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 2604 of file CameraRGBD.cpp.

rtabmap::CameraRealSense::~CameraRealSense ( )
virtual

Definition at line 2628 of file CameraRGBD.cpp.

Member Function Documentation

bool rtabmap::CameraRealSense::available ( )
static

Definition at line 2595 of file CameraRGBD.cpp.

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

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

Implements rtabmap::Camera.

Definition at line 3407 of file CameraRGBD.cpp.

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

Implements rtabmap::Camera.

Definition at line 3373 of file CameraRGBD.cpp.

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

Implements rtabmap::Camera.

Definition at line 2805 of file CameraRGBD.cpp.

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

Implements rtabmap::Camera.

Definition at line 3368 of file CameraRGBD.cpp.

bool rtabmap::CameraRealSense::odomProvided ( ) const
virtual

Reimplemented from rtabmap::Camera.

Definition at line 3388 of file CameraRGBD.cpp.

void rtabmap::CameraRealSense::setDepthScaledToRGBSize ( bool  enabled)

Definition at line 2693 of file CameraRGBD.cpp.

void rtabmap::CameraRealSense::setRGBSource ( RGBSource  source)

Definition at line 2698 of file CameraRGBD.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:42