Skip to content

Commit

Permalink
clean up dependencies for rviz_marker_tools (#610)
Browse files Browse the repository at this point in the history
liburdfdom-dev is not actually used. Only liburdfdom-headers-dev.
  • Loading branch information
v4hn authored Sep 2, 2024
1 parent 184d398 commit 5a44808
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 11 deletions.
17 changes: 12 additions & 5 deletions rviz_marker_tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ project(rviz_marker_tools)

find_package(catkin REQUIRED COMPONENTS
geometry_msgs
visualization_msgs
roscpp
std_msgs
tf2_eigen
visualization_msgs
)
find_package(urdfdom REQUIRED)
find_package(Eigen3 REQUIRED)

find_package(urdfdom_headers REQUIRED)

catkin_package(
LIBRARIES
Expand All @@ -16,10 +19,10 @@ catkin_package(
include
CATKIN_DEPENDS
geometry_msgs
std_msgs
visualization_msgs
roscpp
DEPENDS
urdfdom
EIGEN3
)

set(PROJECT_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include/${PROJECT_NAME})
Expand All @@ -35,7 +38,11 @@ add_library(${PROJECT_NAME}

target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
target_include_directories(${PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>)
target_include_directories(${PROJECT_NAME} SYSTEM PRIVATE ${catkin_INCLUDE_DIRS})
target_include_directories(${PROJECT_NAME} SYSTEM PRIVATE
${catkin_INCLUDE_DIRS}
${urdfdom_headers_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIR}
)
add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})

install(DIRECTORY include/ DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION})
Expand Down
5 changes: 3 additions & 2 deletions rviz_marker_tools/include/rviz_marker_tools/marker_creation.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#pragma once

#include <visualization_msgs/Marker.h>
#include <geometry_msgs/PoseStamped.h>
#include <Eigen/Geometry>
#include <geometry_msgs/PoseStamped.h>
#include <std_msgs/ColorRGBA.h>
#include <visualization_msgs/Marker.h>

namespace urdf {
class Geometry;
Expand Down
19 changes: 15 additions & 4 deletions rviz_marker_tools/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,20 @@

<buildtool_depend>catkin</buildtool_depend>

<depend>visualization_msgs</depend>
<build_depend>eigen</build_depend>
<build_export_depend>eigen</build_export_depend>

<depend>geometry_msgs</depend>
<depend>roscpp</depend>
<depend>tf2_eigen</depend>
<depend>liburdfdom-dev</depend>

<build_depend>liburdfdom-headers-dev</build_depend>

<build_depend>roscpp</build_depend>
<exec_depend>roscpp</exec_depend>

<depend>std_msgs</depend>

<build_depend>tf2_eigen</build_depend>
<exec_depend>tf2_eigen</exec_depend>

<depend>visualization_msgs</depend>
</package>

0 comments on commit 5a44808

Please sign in to comment.