mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
fixed build without realsense
This commit is contained in:
@@ -386,7 +386,11 @@ public:
|
||||
const Transform & localTransform = Transform::getIdentity());
|
||||
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 isCalibrated() const;
|
||||
virtual std::string getSerial() const;
|
||||
|
||||
Reference in New Issue
Block a user