3#include "rtabmap/core/Camera.h"
4#include "rtabmap/core/Version.h"
5#include "rtabmap/utilite/USemaphore.h"
18 static bool available();
22 bool computeOdometry =
false,
23 float imageRate = 0.0f,
24 const Transform & localTransform = Transform::getIdentity()
28 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
29 virtual bool isCalibrated()
const;
32 virtual bool getPose(
double stamp,
Transform & pose, cv::Mat & covariance,
double maxWaitTime = 0.0);
40 bool computeOdometry_;
43 std::shared_ptr<xv::Device> device_;
44 std::map<double, std::pair<cv::Vec3d, cv::Vec3d>> imuBuffer_;
45 std::pair<double, std::pair<cv::Mat, cv::Mat>> lastData_;
Represents a pinhole camera model containing intrinsic and extrinsic parameters, used for projection,...
virtual bool init(const std::string &calibrationFolder=".", const std::string &cameraName="")
Initializes the sensor.
virtual bool getPose(double stamp, Transform &pose, cv::Mat &covariance, double maxWaitTime=0.0)
Gets the sensor's pose estimate at a specific timestamp.
virtual bool odomProvided() const
Checks if the sensor provides odometry poses.
virtual std::string getSerial() const
Returns the sensor's serial number or unique identifier.
Metadata structure for sensor data capture and processing.
Container class for all sensor data captured at a specific time.