-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image_proc: consistent image_transport #884
image_proc: consistent image_transport #884
Conversation
@@ -52,14 +52,34 @@ namespace image_proc | |||
CropNonZeroNode::CropNonZeroNode(const rclcpp::NodeOptions & options) | |||
: Node("CropNonZeroNode", options) | |||
{ | |||
// TransportHints does not actually declare the parameter | |||
this->declare_parameter<std::string>("image_transport", "raw"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include header <string>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string is already in the header file for this class - hence why the linter is asking for it to be added in this file
@@ -52,7 +52,14 @@ namespace image_proc | |||
DebayerNode::DebayerNode(const rclcpp::NodeOptions & options) | |||
: Node("DebayerNode", options) | |||
{ | |||
auto qos_profile = getTopicQosProfile(this, "image_raw"); | |||
// TransportHints does not actually declare the parameter | |||
this->declare_parameter<std::string>("image_transport", "raw"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include header <string>
* consistent image_transport parameter for crop_decimate, crop_non_zero and debayer nodes * consistent remapping support for compressed/etc topics in all three nodes * add lazy subscription support to crop_non_zero Additional minor fixes: * put the getTopicQosProfile() for publisher right in front of publisher declaration for clarity
Additional minor fixes: