Skip to content

Commit

Permalink
Fix lint issue in register.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
skalldri committed Nov 23, 2024
1 parent 3aafdd4 commit 00ba6e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion depth_image_proc/src/register.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ RegisterNode::RegisterNode(const rclcpp::NodeOptions & options)
auto node_base = this->get_node_base_interface();
std::string topic = node_base->resolve_topic_or_service_name("depth/image_rect", false);
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_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);
}
Expand Down

0 comments on commit 00ba6e9

Please sign in to comment.