From: Walter Fetter Lages Date: Wed, 9 Sep 2020 07:09:11 +0000 (-0300) Subject: Update to package format 2. X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;h=135943316c6db2b3e49618eb1f9e881cb7440abb;p=tatuira.git Update to package format 2. --- diff --git a/tatuira_bringup/CMakeLists.txt b/tatuira_bringup/CMakeLists.txt index ae15541..1444901 100644 --- a/tatuira_bringup/CMakeLists.txt +++ b/tatuira_bringup/CMakeLists.txt @@ -7,13 +7,11 @@ project(tatuira_bringup) ## 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 - effort_controllers - joint_state_controller -# linearizing_controllers -# linearizing_controllers_msgs -# nonsmooth_backstep_controller -) +#find_package(catkin REQUIRED COMPONENTS +# joint_state_controller +# tatuira_description +# effort_controllers +#) ## System dependencies are found with CMake's conventions # find_package(Boost REQUIRED COMPONENTS system) @@ -34,10 +32,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 ...) @@ -72,7 +70,7 @@ find_package(catkin REQUIRED COMPONENTS ## Generate added messages and services with any dependencies listed here # generate_messages( # DEPENDENCIES -# linearizing_controllers_msgs +# std_msgs # Or other packages containing msgs # ) ################################################ @@ -82,7 +80,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 ...) @@ -100,14 +98,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 tatuira_bringup -# CATKIN_DEPENDS effort_controllers joint_state_controller linearizing_controllers linearizing_controllers_msgs nonsmooth_backstep_controller +# CATKIN_DEPENDS joint_state_controller tatuira_description voltage_controllers # DEPENDS system_lib ) @@ -117,10 +115,10 @@ catkin_package( ## Specify additional locations of header files ## Your package locations should be listed before other locations -include_directories( +#include_directories( # include - ${catkin_INCLUDE_DIRS} -) +# ${catkin_INCLUDE_DIRS} +#) ## Declare a C++ library # add_library(${PROJECT_NAME} diff --git a/tatuira_bringup/package.xml b/tatuira_bringup/package.xml index ccb4945..26e60c7 100644 --- a/tatuira_bringup/package.xml +++ b/tatuira_bringup/package.xml @@ -1,5 +1,5 @@ - + tatuira_bringup 0.1.0 The tatuira_bringup package @@ -28,33 +28,32 @@ Walter Fetter Lages - - + + + + + + + + - - + + + + catkin - effort_controllers - joint_state_controller - - effort_controllers - joint_state_controller - + joint_state_controller + tatuira_description + effort_controllers + + diff --git a/tatuira_description/CMakeLists.txt b/tatuira_description/CMakeLists.txt index f20304c..2701573 100644 --- a/tatuira_description/CMakeLists.txt +++ b/tatuira_description/CMakeLists.txt @@ -7,7 +7,12 @@ project(tatuira_description) ## 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) +#find_package(catkin REQUIRED COMPONENTS +# gazebo +# gazebo_ros_control +# rviz +# xacro +#) ## System dependencies are found with CMake's conventions # find_package(Boost REQUIRED COMPONENTS system) @@ -28,10 +33,10 @@ find_package(catkin REQUIRED) ## 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 ...) @@ -76,7 +81,7 @@ find_package(catkin REQUIRED) ## 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 ...) @@ -94,14 +99,14 @@ find_package(catkin REQUIRED) ################################### ## 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 tatuira_description -# CATKIN_DEPENDS other_catkin_pkg +# CATKIN_DEPENDS gazebo gazebo_ros_control gazebo_ros_electrical rviz xacro # DEPENDS system_lib ) @@ -113,7 +118,7 @@ catkin_package( ## Your package locations should be listed before other locations include_directories( # include -# ${catkin_INCLUDE_DIRS} +# ${catkin_INCLUDE_DIRS} ) ## Declare a C++ library diff --git a/tatuira_description/package.xml b/tatuira_description/package.xml index 9194eaa..1680a74 100644 --- a/tatuira_description/package.xml +++ b/tatuira_description/package.xml @@ -1,5 +1,5 @@ - + tatuira_description 0.1.0 The tatuira_description package @@ -7,7 +7,6 @@ - Guilherme Alan Ritter Walter Fetter Lages @@ -31,18 +30,31 @@ Walter Fetter Lages - + + + + + + + + - - + + + + catkin + gazebo + gazebo_ros_control + rviz + xacro