mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
init CameraSeerSense
This commit is contained in:
@@ -36,3 +36,4 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <rtabmap/core/camera/CameraStereoTara.h>
|
||||
#include <rtabmap/core/camera/CameraMyntEye.h>
|
||||
#include <rtabmap/core/camera/CameraDepthAI.h>
|
||||
#include <rtabmap/core/camera/CameraSeerSense.h>
|
||||
|
||||
24
corelib/include/rtabmap/core/camera/CameraSeerSense.h
Normal file
24
corelib/include/rtabmap/core/camera/CameraSeerSense.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "rtabmap/core/Camera.h"
|
||||
#include "rtabmap/core/Version.h"
|
||||
|
||||
#ifdef RTABMAP_XVSDK
|
||||
#include <xv-sdk.h>
|
||||
#endif
|
||||
|
||||
namespace rtabmap
|
||||
{
|
||||
|
||||
class RTABMAP_CORE_EXPORT CameraSeerSense :
|
||||
public Camera
|
||||
{
|
||||
public:
|
||||
static bool available();
|
||||
|
||||
public:
|
||||
CameraSeerSense();
|
||||
virtual ~CameraSeerSense();
|
||||
};
|
||||
|
||||
} // namespace rtabmap
|
||||
@@ -40,6 +40,7 @@ SET(SRC_FILES
|
||||
camera/CameraVideo.cpp
|
||||
camera/CameraMyntEye.cpp
|
||||
camera/CameraDepthAI.cpp
|
||||
camera/CameraSeerSense.cpp
|
||||
|
||||
EpipolarGeometry.cpp
|
||||
VisualWord.cpp
|
||||
@@ -383,6 +384,13 @@ IF(depthai_FOUND)
|
||||
)
|
||||
ENDIF(depthai_FOUND)
|
||||
|
||||
IF(xvsdk_FOUND)
|
||||
SET(PUBLIC_LIBRARIES
|
||||
${PUBLIC_LIBRARIES}
|
||||
${XVSDK_LIBRARIES}
|
||||
)
|
||||
ENDIF(xvsdk_FOUND)
|
||||
|
||||
IF(TARGET OpenMP::OpenMP_CXX)
|
||||
SET(LIBRARIES
|
||||
${LIBRARIES}
|
||||
|
||||
22
corelib/src/camera/CameraSeerSense.cpp
Normal file
22
corelib/src/camera/CameraSeerSense.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#include <rtabmap/core/camera/CameraSeerSense.h>
|
||||
|
||||
namespace rtabmap {
|
||||
|
||||
bool CameraSeerSense::available()
|
||||
{
|
||||
#ifdef RTABMAP_XVSDK
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
CameraSeerSense::CameraSeerSense()
|
||||
{
|
||||
}
|
||||
|
||||
CameraSeerSense::~CameraSeerSense()
|
||||
{
|
||||
}
|
||||
|
||||
} // namespace rtabmap
|
||||
Reference in New Issue
Block a user