ROS パッケージ ' moveit_kinematics 'をビルドしようとしていますが、次のエラーが発生します:
実行しましfind_package(ur3_moveit_plugin REQUIRED)
たが、構文エラーが発生しました。
CmakeLists.txt :
find_package(trac_ik_kinematics_plugin QUIET)
find_package(ur_kinematics QUIET)
find_package(Boost COMPONENTS filesystem program_options REQUIRED)
set(MOVEIT_LIB_NAME moveit_cached_ik_kinematics_base)
add_library(${MOVEIT_LIB_NAME} src/ik_cache.cpp)
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")
target_link_libraries(${MOVEIT_LIB_NAME}
${Boost_FILESYSTEM_LIBRARY}
${catkin_LIBRARIES})
install(TARGETS ${MOVEIT_LIB_NAME} LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
if(trac_ik_kinematics_plugin_FOUND)
include_directories(${trac_ik_kinematics_plugin_INCLUDE_DIRS})
endif(trac_ik_kinematics_plugin_FOUND)
set(MOVEIT_LIB_NAME moveit_cached_ik_kinematics_plugin)
add_library(${MOVEIT_LIB_NAME} src/cached_ik_kinematics_plugin.cpp)
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")
target_link_libraries(${MOVEIT_LIB_NAME}
moveit_cached_ik_kinematics_base
moveit_kdl_kinematics_plugin
moveit_srv_kinematics_plugin
${catkin_LIBRARIES})
if(trac_ik_kinematics_plugin_FOUND)
target_link_libraries(${MOVEIT_LIB_NAME} ${trac_ik_kinematics_plugin_LIBRARIES})
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES COMPILE_DEFINITIONS "CACHED_IK_KINEMATICS_TRAC_IK")
endif()
install(TARGETS ${MOVEIT_LIB_NAME} LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
# This is just for testing purposes; the arms from Universal Robots have
# analytic solvers, so caching just adds extra overhead.
if(ur_kinematics_FOUND)
include_directories(${ur_kinematics_INCLUDE_DIRS})
foreach(UR 3 5 10)
set(MOVEIT_LIB_NAME moveit_cached_ur${UR}_kinematics_plugin)
add_library(${MOVEIT_LIB_NAME} src/cached_ur_kinematics_plugin.cpp)
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")
find_library(ur${UR}_pluginlib ur${UR}_moveit_plugin PATHS ${ur_kinematics_LIBRARY_DIRS})
target_link_libraries(${MOVEIT_LIB_NAME}
moveit_cached_ik_kinematics_base
${ur${UR}_pluginlib}
${catkin_LIBRARIES})
install(TARGETS ${MOVEIT_LIB_NAME} LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
endforeach()
endif()
add_executable(measure_ik_call_cost src/measure_ik_call_cost.cpp)
target_link_libraries(measure_ik_call_cost
${catkin_LIBRARIES}
${Boost_PROGRAM_OPTIONS_LIBRARY})
install(TARGETS measure_ik_call_cost DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
install(DIRECTORY include/ DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION})
install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
誰かがパッケージを見つけたり、エラーを指摘したりするのを手伝ってくれませんか? あなたの助け/アドバイスをいただければ幸いです。
ありがとうございました。