Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Nov 26, 2024
1 parent 38684d0 commit 0a040df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions depth_image_proc/src/register.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,10 @@ RegisterNode::RegisterNode(const rclcpp::NodeOptions & options)
image_transport::TransportHints hints(this, "raw", "depth_image_transport");
sub_depth_image_.subscribe(this, topic, hints.getTransport(), rmw_qos_profile_default,
sub_options);
sub_depth_info_.subscribe(this, "depth/camera_info", rclcpp::QoS(10), sub_options);
sub_rgb_info_.subscribe(this, "rgb/camera_info", rclcpp::QoS(10), sub_options);
auto qos = rmw_qos_profile_default;
qos.depth = 10;
sub_depth_info_.subscribe(this, "depth/camera_info", qos, sub_options);
sub_rgb_info_.subscribe(this, "rgb/camera_info", qos, sub_options);
}
};
// For compressed topics to remap appropriately, we need to pass a
Expand Down

0 comments on commit 0a040df

Please sign in to comment.