代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 2.8.3)
project(openni_tracker)
find_package(orocos_kdl REQUIRED)
find_package(catkin REQUIRED COMPONENTS geometry_msgs
roscpp
roslib
tf)
# Find OpenNI
find_package(PkgConfig)
pkg_check_modules(OpenNI REQUIRED libopenni)
catkin_package()
include_directories(${catkin_INCLUDEDIR}
${OpenNI_INCLUDEDIR}
${orocos_kdl_INCLUDE_DIRS})
link_directories(${catkin_LIBRARY_DIRS})
link_directories(${orocos_kdl_LIBRARY_DIRS})
add_executable(openni_tracker src/openni_tracker.cpp)
add_dependencies(openni_tracker geometry_msgs_gencpp)
target_link_libraries(openni_tracker ${catkin_LIBRARIES}
${OpenNI_LIBRARIES}
${orocos_kdl_LIBRARIES})
install(TARGETS openni_tracker RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
install(FILES openni_tracker.xml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。