X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=blobdiff_plain;f=CMakeLists.txt;h=689434c552e4f10639ebd028ab3b150eb0115d33;hp=a46fdd1f358b280d1fb9366988df19902c743fc0;hb=2df437a779847070d89c37f8f79776acc5446193;hpb=65c1790852227f3320af16237514105ad674a17d diff --git a/CMakeLists.txt b/CMakeLists.txt index a46fdd1..689434c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,8 @@ 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 message_generation) +find_package(catkin REQUIRED sensor_msgs cv_bridge roscpp rospy std_msgs image_transport dynamic_reconfigure message_generation rosruby) +find_package(OpenCV) ## System dependencies are found with CMake's conventions # find_package(Boost REQUIRED COMPONENTS system) @@ -13,7 +14,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 ## @@ -48,11 +49,10 @@ add_message_files( ) ## 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( @@ -67,6 +67,9 @@ generate_messages( std_msgs # Or other packages containing msgs ) +rosruby_setup() +rosruby_generate_messages(fiducial_msgs) + generate_dynamic_reconfigure_options( config/path_following.cfg config/wt_node.cfg @@ -114,6 +117,7 @@ add_dependencies(path_following ${PROJECT_NAME}_gencfg) ## Specify libraries to link a library or executable target against target_link_libraries(path_following ${catkin_LIBRARIES} + ${OpenCV_LIBS} ) #############