X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=blobdiff_plain;f=CMakeLists.txt;h=3703bb7978f47271e67aec76a14b4ae4e87e7714;hp=fd596fa7f4a0bb939a568ccd89d9576e5de168c2;hb=10405f7578977ead223bda080bb10e73839d1219;hpb=67dc60206f09f8e712d96b2b0c847e563f4c46ac diff --git a/CMakeLists.txt b/CMakeLists.txt index fd596fa..3703bb7 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 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) +find_package(OpenCV) ## System dependencies are found with CMake's conventions # find_package(Boost REQUIRED COMPONENTS system) @@ -66,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 ) ################################### @@ -105,6 +109,7 @@ include_directories( ## Declare a cpp executable add_executable(path_following src/path_following.cpp) +add_executable(imu_brick_v2 src/tinkerforge_imu2.cpp) ## Add cmake target dependencies of the executable/library ## as an example, message headers may need to be generated before nodes @@ -113,6 +118,11 @@ 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} +) +target_link_libraries(imu_brick_v2 + ${catkin_LIBRARIES} + tinkerforge ) #############