#include <CameraStereo.h>
Public Member Functions | |
CameraStereoImages (const std::string &pathLeftImages, const std::string &pathRightImages, bool rectifyImages=false, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity()) | |
CameraStereoImages (const std::string &pathLeftRightImages, 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 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=Transform::getIdentity()) | |
const CameraModel & | cameraModel () 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 | 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, int downsampleStep=1, float voxelSize=0.0f, int normalsK=0, float normalsRadius=0, const Transform &localTransform=Transform::getIdentity(), bool forceGroundNormalsUp=false) |
void | setTimestamps (bool fileNamesAreStamps, const std::string &filePath="", bool syncImageRateWithStamps=true) |
virtual | ~CameraImages () |
Public Member Functions inherited from rtabmap::Camera | |
float | getImageRate () const |
const Transform & | getLocalTransform () 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::CameraImages | |
bool | readPoses (std::list< Transform > &outputPoses, std::list< double > &stamps, const std::string &filePath, int format, double maxTimeDiff) const |
Protected Member Functions inherited from rtabmap::Camera | |
Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity()) | |
int | getNextSeqID () |
Private Attributes | |
CameraImages * | camera2_ |
StereoCameraModel | stereoModel_ |
Definition at line 167 of file CameraStereo.h.
rtabmap::CameraStereoImages::CameraStereoImages | ( | const std::string & | pathLeftImages, |
const std::string & | pathRightImages, | ||
bool | rectifyImages = false , |
||
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 1112 of file CameraStereo.cpp.
rtabmap::CameraStereoImages::CameraStereoImages | ( | const std::string & | pathLeftRightImages, |
bool | rectifyImages = false , |
||
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 1124 of file CameraStereo.cpp.
|
virtual |
Definition at line 1149 of file CameraStereo.cpp.
|
static |
Definition at line 1107 of file CameraStereo.cpp.
|
protectedvirtual |
returned rgb and depth images should be already rectified if calibration was loaded
Reimplemented from rtabmap::CameraImages.
Definition at line 1230 of file CameraStereo.cpp.
|
virtual |
Reimplemented from rtabmap::CameraImages.
Definition at line 1225 of file CameraStereo.cpp.
|
virtual |
Reimplemented from rtabmap::CameraImages.
Definition at line 1156 of file CameraStereo.cpp.
|
virtual |
Reimplemented from rtabmap::CameraImages.
Definition at line 1220 of file CameraStereo.cpp.
|
inlinevirtual |
Reimplemented from rtabmap::CameraImages.
Definition at line 191 of file CameraStereo.h.
|
private |
Definition at line 197 of file CameraStereo.h.
|
private |
Definition at line 198 of file CameraStereo.h.