Skip to content

Commit

Permalink
Fix to include changes in message filters related to variadic templates
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 Jul 26, 2024
1 parent 6ef6cc0 commit a3e7b97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion depth_image_proc/src/disparity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
sync_->connectInput(sub_depth_image_, sub_info_);
sync_->registerCallback(
std::bind(
&DisparityNode::depthCb, this, std::placeholders::_1, std::placeholders::_2));
Expand Down

0 comments on commit a3e7b97

Please sign in to comment.