From 01c14b0886845e77fe43f7494e6b57f41d06158d Mon Sep 17 00:00:00 2001 From: Kyoichi Sugahara Date: Tue, 15 Aug 2023 19:31:20 +0900 Subject: [PATCH] feat(control_validator): measure predicted path deviation from trajectory (#509) * update launcher Signed-off-by: kyoichi-sugahara * add config and modify launch file Signed-off-by: kyoichi-sugahara * style(pre-commit): autofix * feat(lane_departure_checker): add road_border departure checker (#511) add param Signed-off-by: kyoichi-sugahara * feat(system_error_monitor): check lateral deviation in sim (#516) Signed-off-by: satoshi-ota * restore rviz config change Signed-off-by: kyoichi-sugahara --------- Signed-off-by: kyoichi-sugahara Signed-off-by: satoshi-ota Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> --- .../control_validator/control_validator.param.yaml | 14 ++++++++++++++ .../components/tier4_control_component.launch.xml | 1 + 2 files changed, 15 insertions(+) create mode 100644 autoware_launch/config/control/control_validator/control_validator.param.yaml diff --git a/autoware_launch/config/control/control_validator/control_validator.param.yaml b/autoware_launch/config/control/control_validator/control_validator.param.yaml new file mode 100644 index 0000000000..9ce677b2c2 --- /dev/null +++ b/autoware_launch/config/control/control_validator/control_validator.param.yaml @@ -0,0 +1,14 @@ +/**: + ros__parameters: + + publish_diag: true # if true, diagnostic msg is published + + # If the number of consecutive invalid predicted_path exceeds this threshold, the Diag will be set to ERROR. + # (For example, threshold = 1 means, even if the predicted_path is invalid, Diag will not be ERROR if + # the next predicted_path is valid.) + diag_error_count_threshold: 0 + + display_on_terminal: true # show error msg on terminal + + thresholds: + max_distance_deviation: 1.0 diff --git a/autoware_launch/launch/components/tier4_control_component.launch.xml b/autoware_launch/launch/components/tier4_control_component.launch.xml index 7b3169eacd..8b29135048 100644 --- a/autoware_launch/launch/components/tier4_control_component.launch.xml +++ b/autoware_launch/launch/components/tier4_control_component.launch.xml @@ -35,6 +35,7 @@ +