From: Walter Fetter Lages Date: Sun, 25 Nov 2018 21:41:49 +0000 (-0200) Subject: Update to package format 2. X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;p=voltage_controllers.git Update to package format 2. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8140799..e6688e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,7 @@ find_package(catkin REQUIRED COMPONENTS electrical_interface forward_command_controller realtime_tools + roscpp urdf ) @@ -38,10 +39,10 @@ find_package(catkin REQUIRED COMPONENTS ## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...). ## * In the file package.xml: ## * add a build_depend tag for "message_generation" -## * add a build_depend and a run_depend tag for each package in MSG_DEP_SET +## * add a build_depend and a exec_depend tag for each package in MSG_DEP_SET ## * If MSG_DEP_SET isn't empty the following dependency has been pulled in ## but can be declared for certainty nonetheless: -## * add a run_depend tag for "message_runtime" +## * add a exec_depend tag for "message_runtime" ## * In this file (CMakeLists.txt): ## * add "message_generation" and every package in MSG_DEP_SET to ## find_package(catkin REQUIRED COMPONENTS ...) @@ -86,7 +87,7 @@ find_package(catkin REQUIRED COMPONENTS ## To declare and build dynamic reconfigure parameters within this ## package, follow these steps: ## * In the file package.xml: -## * add a build_depend and a run_depend tag for "dynamic_reconfigure" +## * add a build_depend and a exec_depend tag for "dynamic_reconfigure" ## * In this file (CMakeLists.txt): ## * add "dynamic_reconfigure" to ## find_package(catkin REQUIRED COMPONENTS ...) @@ -104,14 +105,14 @@ find_package(catkin REQUIRED COMPONENTS ################################### ## The catkin_package macro generates cmake config files for your package ## Declare things to be passed to dependent projects -## INCLUDE_DIRS: uncomment this if you package contains header files +## INCLUDE_DIRS: uncomment this if your package contains header files ## LIBRARIES: libraries you create in this project that dependent projects also need ## CATKIN_DEPENDS: catkin_packages dependent projects also need ## DEPENDS: system dependencies of this project that dependent projects also need catkin_package( INCLUDE_DIRS include # LIBRARIES voltage_controllers -# CATKIN_DEPENDS angles control_msgs control_toolbox controller_interface dynamic_reconfigure forward_command_controller realtime_tools urdf +# CATKIN_DEPENDS angles control_msgs control_toolbox controller_interface dynamic_reconfigure electrica_interface forward_command_controller realtime_tools roscpp urdf # DEPENDS system_lib ) @@ -122,7 +123,7 @@ catkin_package( ## Specify additional locations of header files ## Your package locations should be listed before other locations include_directories( - include + include ${catkin_INCLUDE_DIRS} ) @@ -193,7 +194,7 @@ install(DIRECTORY include/${PROJECT_NAME}/ install(FILES # # myfile1 # # myfile2 - voltage_controllers_plugins.xml + voltage_controllers_plugins.xml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} ) diff --git a/package.xml b/package.xml index da56e19..8bee5e7 100644 --- a/package.xml +++ b/package.xml @@ -1,5 +1,5 @@ - + voltage_controllers 0.1.0 The voltage_controllers package @@ -26,19 +26,28 @@ - Walter Fetter Lages + Walter Fetter Lages - + + + + + + + + - - + + + + catkin angles control_msgs @@ -48,20 +57,33 @@ electrical_interface forward_command_controller realtime_tools + roscpp urdf - angles - control_msgs - control_toolbox - controller_interface - dynamic_reconfigure - forward_command_controller - realtime_tools - urdf + angles + control_msgs + control_toolbox + controller_interface + dynamic_reconfigure + electrical_interface + forward_command_controller + realtime_tools + roscpp + urdf + angles + control_msgs + control_toolbox + controller_interface + dynamic_reconfigure + electrical_interface + forward_command_controller + realtime_tools + roscpp + urdf - +