From 5a5bcccd2517641c1789aaaef83e5526fe85f296 Mon Sep 17 00:00:00 2001 From: TaikiYamada4 Date: Fri, 8 Nov 2024 14:36:49 +0900 Subject: [PATCH] Fixed typo and unknown words Signed-off-by: TaikiYamada4 --- map/autoware_lanelet2_map_validator/README.md | 4 ++-- map/autoware_lanelet2_map_validator/src/common/validation.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/map/autoware_lanelet2_map_validator/README.md b/map/autoware_lanelet2_map_validator/README.md index a81e8341..60991d58 100644 --- a/map/autoware_lanelet2_map_validator/README.md +++ b/map/autoware_lanelet2_map_validator/README.md @@ -124,8 +124,8 @@ The JSON file input should follow the structure like this example. - `validators` : A list of validators that structures the requirement. - A validator MUST be given with its name on the `name` field. - The name list of available validators can be obtained from the `--print` option. - - You can add a list of `prerequisites` to each validator. Then, the validator will only be run when the prequisites pass the validation. - - In the `prerequisites` field, you can add `forgive_warnings: true` in order to run the validator even if the prequisites output warning issues. (Error issues from prerequisites will still skip the validation.). Note that NOT writing the `forgive_warnings` field and writing `forgive_warnings: false` means the same. + - You can add a list of `prerequisites` to each validator. Then, the validator will only be run when the prerequisites pass the validation. + - In the `prerequisites` field, you can add `forgive_warnings: true` in order to run the validator even if the prerequisites output warning issues. (Error issues from prerequisites will still skip the validation.). Note that NOT writing the `forgive_warnings` field and writing `forgive_warnings: false` means the same. - The user can write any other field (like `version`) besides `requirements`. #### Output file diff --git a/map/autoware_lanelet2_map_validator/src/common/validation.cpp b/map/autoware_lanelet2_map_validator/src/common/validation.cpp index 91befdc5..9b6083fe 100644 --- a/map/autoware_lanelet2_map_validator/src/common/validation.cpp +++ b/map/autoware_lanelet2_map_validator/src/common/validation.cpp @@ -37,6 +37,8 @@ #define NORMAL_RED "\033[31m" #define FONT_RESET "\033[0m" +// cSpell:words indegree Indegree + namespace lanelet { namespace autoware