Skip to content

Commit 9d99668

Browse files
committed
fix to allow remapping resize and image topics
Signed-off-by: Joe Schornak <[email protected]>
1 parent c989092 commit 9d99668

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

image_proc/src/resize.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ ResizeNode::ResizeNode(const rclcpp::NodeOptions & options)
5050
: rclcpp::Node("ResizeNode", options)
5151
{
5252
// Create image pub
53-
pub_image_ = image_transport::create_camera_publisher(this, "resize");
53+
pub_image_ = image_transport::create_camera_publisher(this, "resize/image_raw");
5454
// Create image sub
5555
sub_image_ = image_transport::create_camera_subscription(
56-
this, "image",
56+
this, "image/image_raw",
5757
std::bind(
5858
&ResizeNode::imageCb, this,
5959
std::placeholders::_1,

0 commit comments

Comments
 (0)