Fixed build without DepthAI dep

This commit is contained in:
matlabbe
2021-07-28 17:05:16 -04:00
parent 138d4aa1be
commit a5685c3e31

View File

@@ -65,10 +65,12 @@ CameraDepthAI::CameraDepthAI(
CameraDepthAI::~CameraDepthAI()
{
#ifdef RTABMAP_DEPTHAI
if(device_.get())
{
device_->close();
}
#endif
}
void CameraDepthAI::setOutputDepth(bool enabled, int confidence)