We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c989092 commit 9d99668Copy full SHA for 9d99668
image_proc/src/resize.cpp
@@ -50,10 +50,10 @@ ResizeNode::ResizeNode(const rclcpp::NodeOptions & options)
50
: rclcpp::Node("ResizeNode", options)
51
{
52
// Create image pub
53
- pub_image_ = image_transport::create_camera_publisher(this, "resize");
+ pub_image_ = image_transport::create_camera_publisher(this, "resize/image_raw");
54
// Create image sub
55
sub_image_ = image_transport::create_camera_subscription(
56
- this, "image",
+ this, "image/image_raw",
57
std::bind(
58
&ResizeNode::imageCb, this,
59
std::placeholders::_1,
0 commit comments