Skip to content
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

Fix to include changes in message filters related to variadic templates #1015

Closed
wants to merge 1 commit into from

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Jul 26, 2024

Related with this PR ros2/message_filters#93

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@@ -95,7 +95,8 @@ DisparityNode::DisparityNode(const rclcpp::NodeOptions & options)
delta_d_ = this->declare_parameter<double>("delta_d", 0.125);

// Synchronize inputs. Topic subscriptions happen on demand in the connection callback.
sync_ = std::make_shared<Sync>(sub_depth_image_, sub_info_, queue_size);
sync_ = std::make_shared<Sync>(queue_size);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sync_ = std::make_shared<Sync>(queue_size, sub_depth_image_, sub_info_);
should work as well.

@ahcorde ahcorde closed this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants