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

refactor(localization_error_monitor): rename localization_accuracy #5178

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading