From 62ffb708f2291af2d550980e702e7599eda95b01 Mon Sep 17 00:00:00 2001 From: Shintaro Sakoda Date: Wed, 1 Nov 2023 10:34:37 +0900 Subject: [PATCH] Fixed DiagnosticStatus Signed-off-by: Shintaro Sakoda --- .../src/pose_instability_detector.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/localization/pose_instability_detector/src/pose_instability_detector.cpp b/localization/pose_instability_detector/src/pose_instability_detector.cpp index ac8559d3c9950..d1f7da773839a 100644 --- a/localization/pose_instability_detector/src/pose_instability_detector.cpp +++ b/localization/pose_instability_detector/src/pose_instability_detector.cpp @@ -153,7 +153,8 @@ void PoseInstabilityDetector::callback_timer() diagnostics.header.stamp = stamp; DiagnosticStatus status; - status.name = "pose_instability_detector"; + status.name = "localization: pose_instability_detector"; + status.hardware_id = this->get_name(); bool all_ok = true; for (size_t i = 0; i < values.size(); ++i) {