Skip to content

Commit

Permalink
feat(duplicated_node_checker): show the node name on the terminal (au…
Browse files Browse the repository at this point in the history
…towarefoundation#9609)

Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 authored Dec 11, 2024
1 parent 778c074 commit 53aaf0f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ void DuplicatedNodeChecker::produceDiagnostics(diagnostic_updater::DiagnosticSta
}
for (auto name : identical_names) {
stat.add("Duplicated Node Name", name);
RCLCPP_WARN_THROTTLE(
get_logger(), *get_clock(), 5000, "%s node is duplicated.", name.c_str());
}
} else {
msg = "OK";
Expand Down

0 comments on commit 53aaf0f

Please sign in to comment.