X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=blobdiff_plain;f=CMakeLists.txt;h=965b4ee9628ffed1cccf6ab0f2d5c66364067a35;hp=c83bb8648ed0db14f9f0709a677064e57bcc71eb;hb=58e6047a99365abcd393c951c6fb59f74d52b09c;hpb=2e1412681f31d74d078d532915017a22281bbcc1 diff --git a/CMakeLists.txt b/CMakeLists.txt index c83bb86..965b4ee 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 rospy 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 tf) find_package(OpenCV) ## System dependencies are found with CMake's conventions @@ -67,9 +67,12 @@ 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 + config/PathFollowing.cfg + config/WildThumper.cfg ) ################################### @@ -106,6 +109,7 @@ include_directories( ## Declare a cpp executable add_executable(path_following src/path_following.cpp) +add_executable(wt_node src/wt_node.cpp) ## Add cmake target dependencies of the executable/library ## as an example, message headers may need to be generated before nodes @@ -116,6 +120,10 @@ target_link_libraries(path_following ${catkin_LIBRARIES} ${OpenCV_LIBS} ) +target_link_libraries(wt_node + ${catkin_LIBRARIES} + i2c +) ############# ## Install ##