added missing package in find_package()

This commit is contained in:
Kayman 2017-10-11 17:09:11 +09:00
parent 4b6a82ce7e
commit 59b786a27b
3 changed files with 7 additions and 33 deletions

View File

@ -57,7 +57,7 @@ add_executable(ball_detector_node
src/ball_detector.cpp
src/ball_detector_node.cpp)
add_dependencies(ball_detector_node ${PROJECT_NAME}_gencfg)
add_dependencies(ball_detector_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(ball_detector_node
${catkin_LIBRARIES}
@ -68,38 +68,6 @@ target_link_libraries(ball_detector_node
# Install
################################################################################
# all install targets should use catkin DESTINATION variables
# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html
## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
# install(PROGRAMS
# scripts/my_python_script
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
## Mark executables and/or libraries for installation
# install(TARGETS ball_detector ball_detector_node
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
## Mark cpp header files for installation
# install(DIRECTORY include/${PROJECT_NAME}/
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
# FILES_MATCHING PATTERN "*.h"
# PATTERN ".svn" EXCLUDE
# )
## Mark other files for installation (e.g. launch and bag files, etc.)
# install(FILES
# # myfile1
# # myfile2
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )
################################################################################
# Test
################################################################################

View File

@ -13,6 +13,8 @@ find_package(catkin REQUIRED COMPONENTS
sensor_msgs
ball_detector
op3_walking_module_msgs
op3_action_module_msgs
robotis_controller_msgs
cmake_modules
robotis_math
)

View File

@ -15,14 +15,18 @@
<build_depend>roslib</build_depend>
<build_depend>sensor_msgs</build_depend>
<build_depend>ball_detector</build_depend>
<build_depend>robotis_controller_msgs</build_depend>
<build_depend>op3_walking_module_msgs</build_depend>
<build_depend>op3_action_module_msgs</build_depend>
<build_depend>cmake_modules</build_depend>
<build_depend>robotis_math</build_depend>
<run_depend>roscpp</run_depend>
<run_depend>roslib</run_depend>
<run_depend>sensor_msgs</run_depend>
<run_depend>ball_detector</run_depend>
<run_depend>robotis_controller_msgs</run_depend>
<run_depend>op3_walking_module_msgs</run_depend>
<run_depend>op3_action_module_msgs</run_depend>
<run_depend>cmake_modules</run_depend>
<run_depend>robotis_math</run_depend>
</package>