35 #include "rtabmap/core/Version.h" 60 static bool available();
66 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
67 virtual bool isCalibrated()
const;
68 virtual std::string getSerial()
const;
75 DC1394Device *device_;
87 static bool available();
93 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
94 virtual bool isCalibrated()
const;
95 virtual std::string getSerial()
const;
101 #ifdef RTABMAP_FLYCAPTURE2 102 FlyCapture2::Camera * camera_;
114 static bool available();
122 int confidenceThr = 100,
123 bool computeOdometry =
false,
124 float imageRate=0.0
f,
125 const Transform & localTransform = Transform::getIdentity(),
126 bool selfCalibration =
true);
128 const std::string & svoFilePath,
131 int confidenceThr = 100,
132 bool computeOdometry =
false,
133 float imageRate=0.0
f,
134 const Transform & localTransform = Transform::getIdentity(),
135 bool selfCalibration =
true);
138 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
139 virtual bool isCalibrated()
const;
140 virtual std::string getSerial()
const;
141 virtual bool odomProvided()
const;
152 std::string svoFilePath_;
155 bool selfCalibration_;
158 bool computeOdometry_;
171 static bool available();
175 const std::string & pathLeftImages,
176 const std::string & pathRightImages,
177 bool rectifyImages =
false,
178 float imageRate=0.0
f,
179 const Transform & localTransform = Transform::getIdentity());
181 const std::string & pathLeftRightImages,
182 bool rectifyImages =
false,
183 float imageRate=0.0
f,
184 const Transform & localTransform = Transform::getIdentity());
187 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
188 virtual bool isCalibrated()
const;
189 virtual std::string getSerial()
const;
191 virtual void setStartIndex(
int index) {CameraImages::setStartIndex(index);camera2_->setStartIndex(index);}
210 static bool available();
214 const std::string & pathSideBySide,
215 bool rectifyImages =
false,
216 float imageRate=0.0
f,
217 const Transform & localTransform = Transform::getIdentity());
219 const std::string & pathLeft,
220 const std::string & pathRight,
221 bool rectifyImages =
false,
222 float imageRate=0.0
f,
223 const Transform & localTransform = Transform::getIdentity());
226 bool rectifyImages =
false,
227 float imageRate = 0.0
f,
228 const Transform & localTransform = Transform::getIdentity());
232 bool rectifyImages =
false,
233 float imageRate = 0.0
f,
234 const Transform & localTransform = Transform::getIdentity());
237 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
238 virtual bool isCalibrated()
const;
239 virtual std::string getSerial()
const;
StereoCameraModel stereoModel_
cv::VideoCapture capture_
StereoCameraModel stereoModel_
virtual void setStartIndex(int index)
cv::VideoCapture capture2_