mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-10 11:39:49 +08:00
Updated rtabmap_examples launch files with new structure
This commit is contained in:
@@ -1,7 +1,36 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
project(rtabmap_examples)
|
||||
|
||||
catkin_package()
|
||||
find_package(catkin REQUIRED COMPONENTS
|
||||
roscpp rtabmap_conversions
|
||||
)
|
||||
|
||||
catkin_package(
|
||||
CATKIN_DEPENDS roscpp rtabmap_conversions
|
||||
)
|
||||
|
||||
###########
|
||||
## Build ##
|
||||
###########
|
||||
|
||||
include_directories(
|
||||
${catkin_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_executable(rtabmap_external_loop_detection_example src/ExternalLoopDetectionExample.cpp)
|
||||
target_link_libraries(rtabmap_external_loop_detection_example ${catkin_LIBRARIES})
|
||||
set_target_properties(rtabmap_external_loop_detection_example PROPERTIES OUTPUT_NAME "external_loop_detection_example")
|
||||
|
||||
#############
|
||||
## Install ##
|
||||
#############
|
||||
|
||||
install(TARGETS
|
||||
rtabmap_external_loop_detection_example
|
||||
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
|
||||
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
|
||||
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
|
||||
)
|
||||
|
||||
#############
|
||||
## Install ##
|
||||
|
||||
Reference in New Issue
Block a user