forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(evaluator/localization_evaluator): rework parameters (autowa…
…refoundation#6744) * add param file and schema Signed-off-by: oguzkaganozt <oguzkaganozt@gmail.com> * style(pre-commit): autofix * . Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com> * . Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com> * . Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com> --------- Signed-off-by: oguzkaganozt <oguzkaganozt@gmail.com> Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
223d06a
commit 1ae6082
Showing
6 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,6 @@ endif() | |
|
||
ament_auto_package( | ||
INSTALL_TO_SHARE | ||
param | ||
config | ||
launch | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# Localization Evaluator | ||
|
||
TBD | ||
The Localization Evaluator evaluates the performance of the localization system and provides metrics | ||
|
||
## Parameters | ||
|
||
{{ json_to_markdown("evaluator/localization_evaluator/schema/localization_evaluator.schema.json") }} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
evaluator/localization_evaluator/schema/localization_evaluator.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Localization Evaluator", | ||
"type": "object", | ||
"definitions": { | ||
"localization_evaluator": { | ||
"type": "object", | ||
"properties": { | ||
"output_file": { | ||
"type": "string", | ||
"default": "loc_metrics.results", | ||
"description": "if empty, metrics are not written to file" | ||
}, | ||
"selected_metrics": { | ||
"type": "array", | ||
"default": "['lateral_error', 'absolute_error']", | ||
"description": "metrics to be calculated" | ||
} | ||
}, | ||
"required": ["output_file", "selected_metrics"] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/localization_evaluator" | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters