mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
Fixed build without DepthAI dep
This commit is contained in:
@@ -65,10 +65,12 @@ CameraDepthAI::CameraDepthAI(
|
|||||||
|
|
||||||
CameraDepthAI::~CameraDepthAI()
|
CameraDepthAI::~CameraDepthAI()
|
||||||
{
|
{
|
||||||
|
#ifdef RTABMAP_DEPTHAI
|
||||||
if(device_.get())
|
if(device_.get())
|
||||||
{
|
{
|
||||||
device_->close();
|
device_->close();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void CameraDepthAI::setOutputDepth(bool enabled, int confidence)
|
void CameraDepthAI::setOutputDepth(bool enabled, int confidence)
|
||||||
|
|||||||
Reference in New Issue
Block a user