32 #include <opencv2/highgui/highgui.hpp> 56 bool initFromFile(
const std::string & calibrationPath);
57 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"") = 0;
58 virtual bool isCalibrated()
const = 0;
59 virtual std::string getSerial()
const = 0;
61 virtual bool getPose(
double stamp,
Transform & pose, cv::Mat & covariance) {
return false; }
def init(descriptorDim, matchThreshold, iterations, cuda, model_path)
void setImageRate(float imageRate)
virtual bool getPose(double stamp, Transform &pose, cv::Mat &covariance)
Transform _localTransform
const Transform & getLocalTransform() const
float getImageRate() const
virtual bool odomProvided() const
void setLocalTransform(const Transform &localTransform)
cv::Size _targetImageSize