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