Skip to content

Commit

Permalink
refactor: Rename localization_accuracy
Browse files Browse the repository at this point in the history
to localization_error_ellipse

Signed-off-by: Motsu-san <[email protected]>
  • Loading branch information
Motsu-san committed Jan 4, 2024
1 parent ed8ffea commit a7c022c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions localization/localization_error_monitor/src/diagnostics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ diagnostic_msgs::msg::DiagnosticStatus checkLocalizationAccuracy(
diagnostic_msgs::msg::DiagnosticStatus stat;

diagnostic_msgs::msg::KeyValue key_value;
key_value.key = "localization_accuracy";
key_value.key = "localization_error_ellipse";
key_value.value = std::to_string(ellipse_size);
stat.values.push_back(key_value);

Expand All @@ -47,7 +47,7 @@ diagnostic_msgs::msg::DiagnosticStatus checkLocalizationAccuracyLateralDirection
diagnostic_msgs::msg::DiagnosticStatus stat;

diagnostic_msgs::msg::KeyValue key_value;
key_value.key = "localization_accuracy_lateral_direction";
key_value.key = "localization_error_ellipse_lateral_direction";
key_value.value = std::to_string(ellipse_size);
stat.values.push_back(key_value);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
vehicle_is_out_of_lane: "lane_departure"
trajectory_deviation_is_high: "trajectory_deviation"
localization_matching_score_is_low: "ndt_scan_matcher"
localization_accuracy_is_low: "localization_accuracy"
localization_accuracy_is_low: "localization_error_ellipse"
map_version_is_different: "map_version"
trajectory_is_invalid: "trajectory_point_validation"
cpu_temperature_is_high: "CPU Temperature"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
contains: ["ndt_scan_matcher"]
timeout: 1.0

localization_accuracy:
localization_error_ellipse:
type: diagnostic_aggregator/GenericAnalyzer
path: localization_accuracy
path: localization_error_ellipse
contains: ["localization: localization_error_monitor"]
timeout: 1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/autoware/localization/node_alive_monitoring: default
/autoware/localization/performance_monitoring/matching_score: { sf_at: "warn", lf_at: "none", spf_at: "none" }
/autoware/localization/performance_monitoring/localization_accuracy: default
/autoware/localization/performance_monitoring/localization_error_ellipse: default

/autoware/map/node_alive_monitoring: default

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/autoware/localization/node_alive_monitoring: default
# /autoware/localization/performance_monitoring/matching_score: { sf_at: "warn", lf_at: "none", spf_at: "none" }
# /autoware/localization/performance_monitoring/localization_accuracy: default
# /autoware/localization/performance_monitoring/localization_error_ellipse: default

/autoware/map/node_alive_monitoring: default

Expand Down

0 comments on commit a7c022c

Please sign in to comment.