Professional Documents
Culture Documents
3)
project(abb_driver)
add_definitions(-std=c++11)
find_package(catkin REQUIRED COMPONENTS industrial_robot_client simple_message)
catkin_package(
CATKIN_DEPENDS industrial_robot_client
)
add_definitions(-DLINUXSOCKETS=1)
include_directories(
include
${catkin_INCLUDE_DIRS}
)
add_executable(${PROJECT_NAME}_robot_state
src/abb_robot_state_node.cpp
src/abb_utils.cpp)
target_link_libraries(${PROJECT_NAME}_robot_state
industrial_robot_client
simple_message
${catkin_LIBRARIES})
set_target_properties(
${PROJECT_NAME}_robot_state
PROPERTIES OUTPUT_NAME robot_state PREFIX "")
add_executable(${PROJECT_NAME}_motion_download_interface
src/abb_joint_downloader_node.cpp
src/abb_utils.cpp)
target_link_libraries(${PROJECT_NAME}_motion_download_interface
industrial_robot_client
simple_message
${catkin_LIBRARIES})
set_target_properties(${PROJECT_NAME}_motion_download_interface
PROPERTIES OUTPUT_NAME motion_download_interface PREFIX "")
install(
TARGETS
${PROJECT_NAME}_robot_state
${PROJECT_NAME}_motion_download_interface
DESTINATION
${CATKIN_PACKAGE_BIN_DESTINATION}
)