38 const std::string & pathRGBImages,
39 const std::string & pathDepthImages,
40 float depthScaleFactor,
45 UASSERT(depthScaleFactor >= 1.0);
65 UERROR(
"Cameras don't have the same number of images (%d vs %d)",
void setPath(const std::string &dir)
CameraImages cameraDepth_
virtual SensorData captureImage(CameraInfo *info=0)
#define UASSERT(condition)
SensorData takeImage(CameraInfo *info=0)
const std::vector< CameraModel > & cameraModels() const
const cv::Mat & imageRaw() const
virtual ~CameraRGBDImages()
void setDepth(bool isDepth, float depthScaleFactor=1.0f)
unsigned int imagesCount() const
const Transform & groundTruth() const
virtual SensorData captureImage(CameraInfo *info=0)
virtual bool init(const std::string &calibrationFolder=".", const std::string &cameraName="")
CameraRGBDImages(const std::string &pathRGBImages, const std::string &pathDepthImages, float depthScaleFactor=1.0f, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity())
void setGroundTruth(const Transform &pose)
virtual bool init(const std::string &calibrationFolder=".", const std::string &cameraName="")