Skip to content

Commit

Permalink
Fix ROS2 version detection for IK solvers
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanscherzinger committed Jan 9, 2024
1 parent dd97f79 commit 7257709
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cartesian_controller_base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ target_include_directories(${PROJECT_NAME}
${CMAKE_BINARY_DIR} # ROS2VersionConfig.h
)

target_link_libraries(${PROJECT_NAME}
ik_solvers
)

ament_target_dependencies(${PROJECT_NAME}
${${PROJECT_NAME}_EXPORTED_TARGETS}
${THIS_PACKAGE_INCLUDE_DEPENDS}
Expand All @@ -90,6 +94,7 @@ target_include_directories(ik_solvers
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
${CMAKE_BINARY_DIR} # ROS2VersionConfig.h
)

# Prevent pluginlib from using boost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
#include <trajectory_msgs/msg/joint_trajectory_point.hpp>
#include <vector>

#include "ROS2VersionConfig.h"
#include "rclcpp/node.hpp"
#include "rclcpp_lifecycle/lifecycle_node.hpp"

Expand Down

0 comments on commit 7257709

Please sign in to comment.