@@ -22,19 +22,22 @@ find_package(cv_bridge REQUIRED)
2222find_package (geometry_msgs REQUIRED )
2323find_package (control_msgs REQUIRED )
2424find_package (image_geometry REQUIRED )
25+ find_package (image_transport REQUIRED )
26+ find_package (message_filters REQUIRED )
2527find_package (moveit_ros_planning_interface REQUIRED )
2628find_package (OpenCV REQUIRED COMPONENTS core )
2729find_package (pcl_conversions REQUIRED )
2830find_package (pcl_ros REQUIRED )
2931find_package (rclcpp REQUIRED )
32+ find_package (tf2_ros REQUIRED )
3033find_package (tf2_geometry_msgs REQUIRED )
3134find_package (rclcpp_action REQUIRED )
3235find_package (rclcpp_components REQUIRED )
3336
3437include_directories (include )
3538
3639set (components_list
37- color_detection
40+ color_detection_2d
3841 neck_jt_control
3942 object_tracker
4043 waist_jt_control
@@ -51,18 +54,21 @@ foreach(loop_var IN LISTS components_list)
5154 cv_bridge
5255 geometry_msgs
5356 image_geometry
57+ image_transport
58+ message_filters
5459 OpenCV
5560 rclcpp
61+ tf2_ros
5662 control_msgs )
5763endforeach ()
5864
59- rclcpp_components_register_nodes (color_detection "sciurus17_examples::ColorDetection " )
65+ rclcpp_components_register_nodes (color_detection_2d "sciurus17_examples::ColorDetection2D " )
6066rclcpp_components_register_nodes (neck_jt_control "sciurus17_examples::NeckJtControl" )
6167rclcpp_components_register_nodes (object_tracker "sciurus17_examples::ObjectTracker" )
6268rclcpp_components_register_nodes (waist_jt_control "sciurus17_examples::WaistJtControl" )
6369
6470install (TARGETS
65- color_detection
71+ color_detection_2d
6672 neck_jt_control
6773 object_tracker
6874 waist_jt_control
@@ -121,6 +127,7 @@ set(executable_list
121127 pick_and_place_right_arm_waist
122128 pick_and_place_left_arm
123129 pick_and_place_tf
130+ color_detection
124131 point_cloud_detection
125132)
126133foreach (loop_var IN LISTS executable_list)
@@ -131,11 +138,14 @@ foreach(loop_var IN LISTS executable_list)
131138 cv_bridge
132139 geometry_msgs
133140 image_geometry
141+ image_transport
142+ message_filters
134143 moveit_ros_planning_interface
135144 OpenCV
136145 pcl_ros
137146 pcl_conversions
138147 rclcpp
148+ tf2_ros
139149 tf2_geometry_msgs
140150 control_msgs
141151 )
0 commit comments