]> defiant.homedns.org Git - ros_roboint.git/blobdiff - CMakeLists.txt
Migration to ros control (diff_drive_controller)
[ros_roboint.git] / CMakeLists.txt
index 820e2583a684b853892fea536596317d167c1198..d5b4f82ce585e0b72c2a57b15b56b0ee0f060372 100644 (file)
@@ -4,7 +4,7 @@ project(roboint)
 ## 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 COMPONENTS roscpp rospy std_msgs message_generation urdf)
+find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs message_generation urdf controller_manager)
 
 ## System dependencies are found with CMake's conventions
 # find_package(Boost REQUIRED COMPONENTS system)
@@ -74,6 +74,7 @@ include_directories(include
 ## Declare a cpp executable
 # add_executable(roboint_node src/roboint_node.cpp)
 add_executable(libft_adapter src/libft_adapter.cpp)
+add_executable(robo_explorer_hardware src/robo_explorer_hardware.cpp)
 
 ## Add cmake target dependencies of the executable/library
 ## as an example, message headers may need to be generated before nodes
@@ -84,6 +85,7 @@ add_dependencies(libft_adapter roboint_gencpp)
 #   ${catkin_LIBRARIES}
 # )
 target_link_libraries(libft_adapter ${catkin_LIBRARIES} roboint)
+target_link_libraries(robo_explorer_hardware ${catkin_LIBRARIES})
 
 #############
 ## Install ##