mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Refactoring CameraRGBD class (now including OpenNI, OpenNI2, OpenNI from OpenCV and Freenect)
Added tool to test RGB-D camera: rtabmap-rgbd_camera Fixed Freenect corrupted depth image (after some time) (missing files...) git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1367 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
21
examples/CameraRGBD/CMakeLists.txt
Normal file
21
examples/CameraRGBD/CMakeLists.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
SET(INCLUDE_DIRS
|
||||
${PROJECT_SOURCE_DIR}/corelib/include
|
||||
${PROJECT_SOURCE_DIR}/utilite/include
|
||||
${OpenCV_INCLUDE_DIRS}
|
||||
${PCL_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
SET(LIBRARIES
|
||||
${OpenCV_LIBRARIES}
|
||||
${PCL_LIBRARIES}
|
||||
)
|
||||
|
||||
add_definitions(${PCL_DEFINITIONS})
|
||||
|
||||
INCLUDE_DIRECTORIES(${INCLUDE_DIRS})
|
||||
|
||||
ADD_EXECUTABLE(rgbd_camera main.cpp)
|
||||
TARGET_LINK_LIBRARIES(rgbd_camera rtabmap_core rtabmap_utilite ${LIBRARIES})
|
||||
|
||||
SET_TARGET_PROPERTIES( rgbd_camera
|
||||
PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-rgbd_camera)
|
||||
Reference in New Issue
Block a user