Skip to content

Commit

Permalink
fix rotate_recovery debian build
Browse files Browse the repository at this point in the history
* add depend on tf2_geometry_msgs (due to ros/geometry2#275)
* add other hidden depends: angles, geometry_msgs, tf2
  • Loading branch information
mikeferguson committed Jul 30, 2018
1 parent 506fb4d commit 4ff9bd7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 14 deletions.
37 changes: 23 additions & 14 deletions rotate_recovery/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@ cmake_minimum_required(VERSION 2.8.3)
project(rotate_recovery)

find_package(catkin REQUIRED
COMPONENTS
cmake_modules
roscpp
tf2_ros
costmap_2d
nav_core
pluginlib
base_local_planner
)
COMPONENTS
angles
base_local_planner
cmake_modules
costmap_2d
geometry_msgs
nav_core
pluginlib
roscpp
tf2
tf2_geometry_msgs
tf2_ros
)

find_package(Eigen3 REQUIRED)
include_directories(
Expand All @@ -21,11 +25,16 @@ include_directories(
add_definitions(${EIGEN3_DEFINITIONS})

catkin_package(
INCLUDE_DIRS include
LIBRARIES rotate_recovery
CATKIN_DEPENDS
roscpp
pluginlib
INCLUDE_DIRS include
LIBRARIES rotate_recovery
CATKIN_DEPENDS
costmap_2d
geometry_msgs
nav_core
pluginlib
roscpp
tf2
tf2_ros
)

add_library(rotate_recovery src/rotate_recovery.cpp)
Expand Down
4 changes: 4 additions & 0 deletions rotate_recovery/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@

<buildtool_depend>catkin</buildtool_depend>

<build_depend>angles</build_depend>
<build_depend>base_local_planner</build_depend>
<build_depend>cmake_modules</build_depend>

<depend>costmap_2d</depend>
<depend>eigen</depend>
<depend>geometry_msgs</depend>
<depend>nav_core</depend>
<depend>pluginlib</depend>
<depend>roscpp</depend>
<depend>tf2</depend>
<depend>tf2_geometry_msgs</depend>
<depend>tf2_ros</depend>

<export>
Expand Down

0 comments on commit 4ff9bd7

Please sign in to comment.