mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-08 02:57:46 +08:00
fixed build without realsense
This commit is contained in:
@@ -386,7 +386,11 @@ public:
|
|||||||
const Transform & localTransform = Transform::getIdentity());
|
const Transform & localTransform = Transform::getIdentity());
|
||||||
virtual ~CameraRealSense();
|
virtual ~CameraRealSense();
|
||||||
|
|
||||||
void setDepthScaledToRGBSize(bool enabled) {depthScaledToRGBSize_ = enabled;}
|
void setDepthScaledToRGBSize(bool enabled) {
|
||||||
|
#ifdef RTABMAP_REALSENSE
|
||||||
|
depthScaledToRGBSize_ = enabled;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
virtual bool init(const std::string & calibrationFolder = ".", const std::string & cameraName = "");
|
virtual bool init(const std::string & calibrationFolder = ".", const std::string & cameraName = "");
|
||||||
virtual bool isCalibrated() const;
|
virtual bool isCalibrated() const;
|
||||||
virtual std::string getSerial() const;
|
virtual std::string getSerial() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user