Skip to content

Commit 314c93a

Browse files
committed
Fix: ros2-ified perception tutorial: lingering build errors
1 parent 1b0e64d commit 314c93a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/examples/perception_pipeline/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ find_package(PCL REQUIRED)
22
set(SUBTUTORIAL_DEPENDS
33
geometry_msgs
44
pcl_conversions
5+
pcl_ros
56
sensor_msgs
67
)
78
foreach(dep IN ITEMS ${SUBTUTORIAL_DEPENDS})

doc/examples/perception_pipeline/src/cylinder_segment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class CylinderSegment : public rclcpp::Node
273273
}
274274

275275
private:
276-
rclcpp::Subscription<std_msgs::msg::String>::SharedPtr subscription_;
276+
rclcpp::Subscription<sensor_msgs::msg::PointCloud2>::SharedPtr subscription_;
277277

278278
// BEGIN_SUB_TUTORIAL param_struct
279279
// There are 4 fields and a total of 7 parameters used to define this.

0 commit comments

Comments
 (0)