From: Walter Fetter Lages Date: Fri, 10 May 2019 07:22:43 +0000 (-0300) Subject: Port to melodic. X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;h=18ef7beff665db24c6f87e1acc972bd577bd0a56;p=arc_odometry.git Port to melodic. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 816a362..ec381dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,14 +2,14 @@ cmake_minimum_required(VERSION 2.8.3) project(arc_odometry) ## Compile as C++11, supported in ROS Kinetic and newer -# add_compile_options(-std=c++11) +add_compile_options(-std=c++11) ## 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 nav_msgs + roscpp sensor_msgs tf ) @@ -17,8 +17,7 @@ find_package(catkin REQUIRED COMPONENTS ## System dependencies are found with CMake's conventions # find_package(Boost REQUIRED COMPONENTS system) -find_package(cmake_modules REQUIRED) -find_package(Eigen REQUIRED) +find_package(Eigen3 REQUIRED) ## Uncomment this if the package has a setup.py. This macro ensures @@ -36,10 +35,10 @@ find_package(Eigen 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 ...) @@ -74,7 +73,7 @@ find_package(Eigen REQUIRED) ## Generate added messages and services with any dependencies listed here # generate_messages( # DEPENDENCIES -# std_msgs # Or other packages containing msgs +# nav_msgs# sensor_msgs # ) ################################################ @@ -84,7 +83,7 @@ find_package(Eigen 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 ...) @@ -102,15 +101,15 @@ find_package(Eigen 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 arc_odometry - CATKIN_DEPENDS roscpp nav_msgs sensor_msgs tf - DEPENDS Eigen + CATKIN_DEPENDS nav_msgs roscpp sensor_msgs tf + DEPENDS EIGEN3 ) ########### @@ -120,9 +119,10 @@ catkin_package( ## Specify additional locations of header files ## Your package locations should be listed before other locations include_directories( - include - ${catkin_INCLUDE_DIRS} - ${Eigen_INCLUDE_DIRS} + include + ${catkin_INCLUDE_DIRS} +# TODO: Check names of system library include directories (Eigen3) + ${EIGEN3_INCLUDE_DIRS} ) ## Declare a C++ library @@ -148,12 +148,12 @@ add_executable(odometry_publisher src/odometry_publisher.cpp) ## Add cmake target dependencies of the executable ## same as for the library above -#add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) +# add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) ## Specify libraries to link a library or executable target against target_link_libraries(odometry_publisher ${PROJECT_NAME} ${catkin_LIBRARIES} - ${Eigen_LIBRARIES} +# ${Eigen3_LIBRARIES} ) ############# diff --git a/package.xml b/package.xml index 271d74d..e8ef756 100644 --- a/package.xml +++ b/package.xml @@ -1,7 +1,7 @@ - + arc_odometry - 0.0.0 + 0.0.1 The arc_odometry package @@ -29,28 +29,42 @@ Walter Fetter Lages - + + + + + + + + - - + + + + catkin - roscpp - Eigen + Eigen3 nav_msgs + roscpp sensor_msgs tf - roscpp - Eigen - nav_msgs - sensor_msgs - tf + Eigen3 + nav_msgs + roscpp + sensor_msgs + tf + Eigen3 + nav_msgs + roscpp + sensor_msgs + tf