Skip to content

Commit

Permalink
moved data_field_publisher to ros specific library
Browse files Browse the repository at this point in the history
  • Loading branch information
t-schnell committed Dec 19, 2019
1 parent 05989e0 commit dba9ced
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ur_robot_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ add_library(ur_robot_driver
src/ur/dashboard_client.cpp
src/ur/tool_communication.cpp
src/rtde/rtde_writer.cpp
src/ros/data_field_publisher.cpp
)
target_link_libraries(ur_robot_driver ${catkin_LIBRARIES})
add_dependencies(ur_robot_driver ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

add_library(ur_robot_driver_plugin
src/ros/dashboard_client_ros.cpp
src/ros/hardware_interface.cpp
src/ros/data_field_publisher.cpp
)
target_link_libraries(ur_robot_driver_plugin ur_robot_driver ${catkin_LIBRARIES})
add_dependencies(ur_robot_driver_plugin ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
Expand All @@ -121,6 +121,7 @@ add_executable(ur_robot_driver_node
src/ros/dashboard_client_ros.cpp
src/ros/hardware_interface.cpp
src/ros/hardware_interface_node.cpp
src/ros/data_field_publisher.cpp
)
target_link_libraries(ur_robot_driver_node ${catkin_LIBRARIES} ur_robot_driver)
add_dependencies(ur_robot_driver_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
Expand Down

0 comments on commit dba9ced

Please sign in to comment.