From 4bcb4361bb7c17c7bf494f214b0557ae70ba98ba Mon Sep 17 00:00:00 2001
From: Yuma Nihei <yuma.nihei@tier4.jp>
Date: Tue, 1 Oct 2024 21:20:42 +0900
Subject: [PATCH] feat: apply pose_instability_risk to localization_diag
 (#1560)

* feat: apply pose_instability_risk to localization_diag

Signed-off-by: Yuma Nihei <yuma.nihei@tier4.jp>

* fix: rename xx_risk to potential_xx

Signed-off-by: Yuma Nihei <yuma.nihei@tier4.jp>

---------

Signed-off-by: Yuma Nihei <yuma.nihei@tier4.jp>
---
 .../diagnostic_aggregator/localization.param.yaml    | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/system/system_error_monitor/config/diagnostic_aggregator/localization.param.yaml b/system/system_error_monitor/config/diagnostic_aggregator/localization.param.yaml
index 2d0b2b00af343..f1605cab265af 100644
--- a/system/system_error_monitor/config/diagnostic_aggregator/localization.param.yaml
+++ b/system/system_error_monitor/config/diagnostic_aggregator/localization.param.yaml
@@ -29,3 +29,15 @@
               path: localization_accuracy
               contains: [": localization_accuracy"]
               timeout: 1.0
+
+            potential_lane_departure:
+              type: diagnostic_aggregator/GenericAnalyzer
+              path: potential_lane_departure
+              contains: [": potential_lane_departure"]
+              timeout: 0.3
+
+            potential_stopline_overrun:
+              type: diagnostic_aggregator/GenericAnalyzer
+              path: potential_stopline_overrun
+              contains: [": potential_stopline_overrun"]
+              timeout: 0.3