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

#include <CameraStereoImages.h>

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

Public Member Functions

 CameraStereoImages (const std::string &pathLeftImages, const std::string &pathRightImages, bool rectifyImages=false, float imageRate=0.0f, const Transform &localTransform=CameraModel::opticalRotation())
 
 CameraStereoImages (const std::string &pathLeftRightImages, bool rectifyImages=false, float imageRate=0.0f, const Transform &localTransform=CameraModel::opticalRotation())
 
virtual std::string getSerial () const
 
virtual bool init (const std::string &calibrationFolder=".", const std::string &cameraName="")
 
virtual bool isCalibrated () const
 
virtual void setMaxFrames (int value)
 
virtual void setStartIndex (int index)
 
virtual ~CameraStereoImages ()
 
- Public Member Functions inherited from rtabmap::CameraImages
 CameraImages ()
 
 CameraImages (const std::string &path, float imageRate=0, const Transform &localTransform=CameraModel::opticalRotation())
 
const CameraModelcameraModel () const
 
std::vector< std::string > filenames () const
 
int getBayerMode () const
 
double getMaxPoseTimeDiff () const
 
std::string getPath () const
 
unsigned int imagesCount () const
 
bool isImagesRectified () const
 
virtual bool odomProvided () const
 
void setBayerMode (int mode)
 
void setConfigForEachFrame (bool value)
 
void setDepth (bool isDepth, float depthScaleFactor=1.0f)
 
void setDepthFromScan (bool enabled, int fillHoles=1, bool fillHolesFromBorder=false)
 
void setDirRefreshed (bool enabled)
 
void setGroundTruthPath (const std::string &filePath, int format=0)
 
void setImagesRectified (bool enabled)
 
void setMaxPoseTimeDiff (double diff)
 
void setOdometryPath (const std::string &filePath, int format=0)
 
void setPath (const std::string &dir)
 
void setScanPath (const std::string &dir, int maxScanPts=0, const Transform &localTransform=Transform::getIdentity())
 
void setTimestamps (bool fileNamesAreStamps, const std::string &filePath="", bool syncImageRateWithStamps=true)
 
virtual ~CameraImages ()
 
- Public Member Functions inherited from rtabmap::Camera
float getImageRate () const
 
const TransformgetLocalTransform () const
 
bool initFromFile (const std::string &calibrationPath)
 
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=CameraModel::opticalRotation())
 
int getNextSeqID ()
 

Private Attributes

CameraImagescamera2_
 
StereoCameraModel stereoModel_
 

Detailed Description

Definition at line 40 of file CameraStereoImages.h.

Constructor & Destructor Documentation

rtabmap::CameraStereoImages::CameraStereoImages ( const std::string &  pathLeftImages,
const std::string &  pathRightImages,
bool  rectifyImages = false,
float  imageRate = 0.0f,
const Transform localTransform = CameraModel::opticalRotation() 
)

Definition at line 40 of file CameraStereoImages.cpp.

rtabmap::CameraStereoImages::CameraStereoImages ( const std::string &  pathLeftRightImages,
bool  rectifyImages = false,
float  imageRate = 0.0f,
const Transform localTransform = CameraModel::opticalRotation() 
)

Definition at line 52 of file CameraStereoImages.cpp.

rtabmap::CameraStereoImages::~CameraStereoImages ( )
virtual

Definition at line 77 of file CameraStereoImages.cpp.

Member Function Documentation

bool rtabmap::CameraStereoImages::available ( )
static

Definition at line 35 of file CameraStereoImages.cpp.

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

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

Reimplemented from rtabmap::CameraImages.

Definition at line 158 of file CameraStereoImages.cpp.

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

Reimplemented from rtabmap::CameraImages.

Definition at line 153 of file CameraStereoImages.cpp.

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

Reimplemented from rtabmap::CameraImages.

Definition at line 84 of file CameraStereoImages.cpp.

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

Reimplemented from rtabmap::CameraImages.

Definition at line 148 of file CameraStereoImages.cpp.

virtual void rtabmap::CameraStereoImages::setMaxFrames ( int  value)
inlinevirtual

Reimplemented from rtabmap::CameraImages.

Definition at line 65 of file CameraStereoImages.h.

virtual void rtabmap::CameraStereoImages::setStartIndex ( int  index)
inlinevirtual

Reimplemented from rtabmap::CameraImages.

Definition at line 64 of file CameraStereoImages.h.

Member Data Documentation

CameraImages* rtabmap::CameraStereoImages::camera2_
private

Definition at line 71 of file CameraStereoImages.h.

StereoCameraModel rtabmap::CameraStereoImages::stereoModel_
private

Definition at line 72 of file CameraStereoImages.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08