X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=blobdiff_plain;f=CMakeLists.txt;h=fd596fa7f4a0bb939a568ccd89d9576e5de168c2;hp=5369f92db5e3cc2c90508d71fce5f40bac491f6d;hb=721db3c859a69179a9f956a53ae7e40cf0ca655b;hpb=eef02300bd4b99a11e6a1756f7b8d4e25c6c0908;ds=sidebyside diff --git a/CMakeLists.txt b/CMakeLists.txt index 5369f92..fd596fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(wild_thumper) ## Find catkin macros and libraries ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) ## is used, also find other catkin packages -find_package(catkin REQUIRED sensor_msgs cv_bridge roscpp std_msgs image_transport dynamic_reconfigure) +find_package(catkin REQUIRED sensor_msgs cv_bridge roscpp rospy std_msgs image_transport dynamic_reconfigure message_generation) ## System dependencies are found with CMake's conventions # find_package(Boost REQUIRED COMPONENTS system) @@ -13,7 +13,7 @@ find_package(catkin REQUIRED sensor_msgs cv_bridge roscpp std_msgs image_transpo ## Uncomment this if the package has a setup.py. This macro ensures ## modules and global scripts declared therein get installed ## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html -# catkin_python_setup() +catkin_python_setup() ################################################ ## Declare ROS messages, services and actions ## @@ -40,18 +40,18 @@ find_package(catkin REQUIRED sensor_msgs cv_bridge roscpp std_msgs image_transpo ## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...) ## Generate messages in the 'msg' folder -# add_message_files( -# FILES -# Message1.msg -# Message2.msg -# ) +add_message_files( + FILES + LedStripe.msg + Led.msg + Sensor.msg +) ## Generate services in the 'srv' folder -# add_service_files( -# FILES -# Service1.srv -# Service2.srv -# ) +add_service_files( + FILES + DWM1000Center.srv +) ## Generate actions in the 'action' folder # add_action_files( @@ -61,13 +61,14 @@ find_package(catkin REQUIRED sensor_msgs cv_bridge roscpp std_msgs image_transpo # ) ## Generate added messages and services with any dependencies listed here -# generate_messages( -# DEPENDENCIES -# std_msgs # Or other packages containing msgs -# ) +generate_messages( + DEPENDENCIES + std_msgs # Or other packages containing msgs +) generate_dynamic_reconfigure_options( - cfg/path_following.cfg + config/path_following.cfg + config/wt_node.cfg ) ################################### @@ -84,6 +85,7 @@ catkin_package( # LIBRARIES wild_thumper # CATKIN_DEPENDS sensor_msgs # DEPENDS system_lib + CATKIN_DEPENDS message_runtime ) ########### @@ -92,7 +94,9 @@ catkin_package( ## Specify additional locations of header files ## Your package locations should be listed before other locations -# include_directories(include) +include_directories( + ${catkin_INCLUDE_DIRS} +) ## Declare a cpp library # add_library(wild_thumper