Skip to content

Commit e6ab559

Browse files
committed
Merge remote-tracking branch 'origin/integrate-openni2'
Conflicts: doc/doxygen-pages/changeLog_doc.h
2 parents 02ab4bf + 7dc0a97 commit e6ab559

27 files changed

Lines changed: 6425 additions & 2 deletions

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ the University of Malaga.
104104
- Several improvements and bug fixes in the mrpt-reactivenav library.
105105
- Developemnt in octomap classes.
106106
- Some improvements and bug fixes in the mrpt-opengl library.
107+
- Visual Odometry based on depth images (mrpt::vision::CDifodo) and 2 applications to use it: DifOdometry-Camera and DifOdometry-Datasets
108+
- Examples to manage an RGB-D camera with openNI2
107109

108110
* Robert Schattschneider, University of Canterbury (2012)
109111
- Patches for bug fixes, serialization of templates.

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ include(cmakemodules/script_ftdi.cmake REQUIRED) # Check for the FTDI hea
180180
include(cmakemodules/script_inotify.cmake REQUIRED) # Check for the sys/inotify headers (Linux only, in win32 we use the equivalent API for file system monitoring):
181181
include(cmakemodules/script_gl_glut.cmake REQUIRED) # Check for the GL,GLUT libraries
182182
include(cmakemodules/script_opencv.cmake REQUIRED) # Check for the OpenCV libraries (via pkg-config, CMake, with different options)
183+
include(cmakemodules/script_openni2.cmake REQUIRED) # Check for the OpenNI2 library
183184
include(cmakemodules/script_ffmpeg.cmake REQUIRED) # Check for ffmpeg C libraries: libavcodec, libavutil, libavformat, libswscale
184185
include(cmakemodules/script_wxwidgets.cmake REQUIRED) # Check for wxWidgets + GL
185186
include(cmakemodules/script_libdc1394.cmake REQUIRED) # Check for libdc1394-2
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
INCLUDE(../../cmakemodules/AssureCMakeRootFile.cmake) # Avoid user mistake in CMake source directory
2+
3+
if (CMAKE_MRPT_HAS_OPENNI2) # This project can't be built without OpenNI2
4+
5+
#-----------------------------------------------------------------
6+
# CMake file for the MRPT application: ReactiveNav3D-Demo
7+
#
8+
# Run with "cmake ." at the root directory
9+
#
10+
# January 2014, Mariano Jaimez Tarifa <marianojt@uma.es>
11+
#-----------------------------------------------------------------
12+
PROJECT(DifOdometry-Camera)
13+
14+
#MESSAGE(STATUS "Makefile for application: /apps/ReactiveNav3D-Demo ")
15+
16+
# ---------------------------------------------
17+
# TARGET:
18+
# ---------------------------------------------
19+
# Define the executable target:
20+
ADD_EXECUTABLE(DifOdometry-Camera
21+
DifOdometry_Camera_main.cpp
22+
DifOdometry_Camera.cpp
23+
DifOdometry_Camera.h)
24+
25+
SET(TMP_TARGET_NAME "DifOdometry-Camera")
26+
27+
28+
29+
# Add the required libraries for linking:
30+
TARGET_LINK_LIBRARIES(${TMP_TARGET_NAME} ${MRPT_LINKER_LIBS} ${OPENNI2_LIBRARIES})
31+
32+
# Dependencies on MRPT libraries:
33+
# Just mention the top-level dependency, the rest will be detected automatically,
34+
# and all the needed #include<> dirs added (see the script DeclareAppDependencies.cmake for further details)
35+
DeclareAppDependencies(${TMP_TARGET_NAME} mrpt-gui mrpt-opengl mrpt-vision)
36+
37+
DeclareAppForInstall(${TMP_TARGET_NAME})
38+
39+
endif (CMAKE_MRPT_HAS_OPENNI2) # This project can't be built without OpenNI2
40+

0 commit comments

Comments
 (0)