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

AMRNAV-6156 Allow composition for diagnostics aggregator #2

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

@HovorunB HovorunB self-assigned this Jan 9, 2024
@@ -110,15 +109,15 @@ Aggregator::Aggregator()
other_analyzer_ = std::make_unique<OtherAnalyzer>(other_as_errors);
other_analyzer_->init(base_path_); // This always returns true

diag_sub_ = n_->create_subscription<DiagnosticArray>(
diag_sub_ = create_subscription<DiagnosticArray>(
Copy link

Choose a reason for hiding this comment

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

nice that this works simply without any handle



#include "rclcpp_components/register_node_macro.hpp"
RCLCPP_COMPONENTS_REGISTER_NODE(diagnostic_aggregator::Aggregator)

Choose a reason for hiding this comment

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

nitpick: missing empty line

Copy link

@andriimaistruk andriimaistruk left a comment

Choose a reason for hiding this comment

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

lgtm

@HovorunB HovorunB merged commit b320649 into ros2 Jan 10, 2024
15 of 18 checks passed
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.

3 participants