Skip to content

Commit

Permalink
Add moveit_kinematics dependency to generated IKFast plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Jan 20, 2025
1 parent c37dc3c commit f393a52
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,19 @@ def update_ikfast_package(args):
build_deps = [
"liblapack-dev",
"moveit_core",
"moveit_kinematics",
"pluginlib",
"rclcpp",
"tf2_kdl",
"tf2_eigen",
]
run_deps = ["liblapack-dev", "moveit_core", "pluginlib", "rclcpp"]
run_deps = [
"liblapack-dev",
"moveit_core",
"moveit_kinematics",
"pluginlib",
"rclcpp",
]

update_deps(build_deps, "build_depend", package_xml)
update_deps(run_deps, "exec_depend", package_xml)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)

find_package(ament_cmake REQUIRED)
find_package(moveit_core REQUIRED)
find_package(moveit_kinematics REQUIRED)
find_package(pluginlib REQUIRED)
find_package(rclcpp REQUIRED)
find_package(tf2_kdl REQUIRED)
Expand All @@ -30,6 +31,7 @@ ament_target_dependencies(
${IKFAST_LIBRARY_NAME}
rclcpp
moveit_core
moveit_kinematics
pluginlib
tf2_kdl
orocos_kdl
Expand All @@ -54,6 +56,7 @@ pluginlib_export_plugin_description_file(
ament_export_targets(${PROJECT_NAME}Targets HAS_LIBRARY_TARGET)
ament_export_libraries(${IKFAST_LIBRARY_NAME})
ament_export_dependencies(moveit_core)
ament_export_dependencies(moveit_kinematics)
ament_export_dependencies(pluginlib)
ament_export_dependencies(rclcpp)
ament_export_dependencies(tf2_kdl)
Expand Down

0 comments on commit f393a52

Please sign in to comment.