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

#include <CameraStereo.h>

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

Public Member Functions

 CameraStereoVideo (const std::string &pathSideBySide, bool rectifyImages=false, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity())
 
 CameraStereoVideo (const std::string &pathLeft, const std::string &pathRight, bool rectifyImages=false, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity())
 
 CameraStereoVideo (int device, bool rectifyImages=false, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity())
 
 CameraStereoVideo (int deviceLeft, int deviceRight, bool rectifyImages=false, 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 ~CameraStereoVideo ()
 
- Public Member Functions inherited from rtabmap::Camera
float getImageRate () const
 
const TransformgetLocalTransform () const
 
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 ()
 

Private Attributes

std::string cameraName_
 
cv::VideoCapture capture2_
 
cv::VideoCapture capture_
 
std::string path2_
 
std::string path_
 
bool rectifyImages_
 
CameraVideo::Source src_
 
StereoCameraModel stereoModel_
 
int usbDevice2_
 
int usbDevice_
 

Detailed Description

Definition at line 206 of file CameraStereo.h.

Constructor & Destructor Documentation

rtabmap::CameraStereoVideo::CameraStereoVideo ( const std::string &  pathSideBySide,
bool  rectifyImages = false,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 1284 of file CameraStereo.cpp.

rtabmap::CameraStereoVideo::CameraStereoVideo ( const std::string &  pathLeft,
const std::string &  pathRight,
bool  rectifyImages = false,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 1298 of file CameraStereo.cpp.

rtabmap::CameraStereoVideo::CameraStereoVideo ( int  device,
bool  rectifyImages = false,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 1314 of file CameraStereo.cpp.

rtabmap::CameraStereoVideo::CameraStereoVideo ( int  deviceLeft,
int  deviceRight,
bool  rectifyImages = false,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 1327 of file CameraStereo.cpp.

rtabmap::CameraStereoVideo::~CameraStereoVideo ( )
virtual

Definition at line 1341 of file CameraStereo.cpp.

Member Function Documentation

bool rtabmap::CameraStereoVideo::available ( )
static

Definition at line 1279 of file CameraStereo.cpp.

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

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

Implements rtabmap::Camera.

Definition at line 1444 of file CameraStereo.cpp.

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

Implements rtabmap::Camera.

Definition at line 1439 of file CameraStereo.cpp.

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

Implements rtabmap::Camera.

Definition at line 1347 of file CameraStereo.cpp.

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

Implements rtabmap::Camera.

Definition at line 1434 of file CameraStereo.cpp.

Member Data Documentation

std::string rtabmap::CameraStereoVideo::cameraName_
private

Definition at line 251 of file CameraStereo.h.

cv::VideoCapture rtabmap::CameraStereoVideo::capture2_
private

Definition at line 246 of file CameraStereo.h.

cv::VideoCapture rtabmap::CameraStereoVideo::capture_
private

Definition at line 245 of file CameraStereo.h.

std::string rtabmap::CameraStereoVideo::path2_
private

Definition at line 248 of file CameraStereo.h.

std::string rtabmap::CameraStereoVideo::path_
private

Definition at line 247 of file CameraStereo.h.

bool rtabmap::CameraStereoVideo::rectifyImages_
private

Definition at line 249 of file CameraStereo.h.

CameraVideo::Source rtabmap::CameraStereoVideo::src_
private

Definition at line 252 of file CameraStereo.h.

StereoCameraModel rtabmap::CameraStereoVideo::stereoModel_
private

Definition at line 250 of file CameraStereo.h.

int rtabmap::CameraStereoVideo::usbDevice2_
private

Definition at line 254 of file CameraStereo.h.

int rtabmap::CameraStereoVideo::usbDevice_
private

Definition at line 253 of file CameraStereo.h.


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