Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 4, 2024
1 parent fad5e71 commit 2b18287
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 38 deletions.
2 changes: 1 addition & 1 deletion evaluator/localization_evaluator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ The Localization Evaluator evaluates the performance of the localization system

## Parameters

{{ json_to_markdown("evaluator/localization_evaluator/schema/localization_evaluator.schema.json") }}
{{ json_to_markdown("evaluator/localization_evaluator/schema/localization_evaluator.schema.json") }}
Original file line number Diff line number Diff line change
@@ -1,39 +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"
}
"$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"
},
"required": [
"output_file",
"selected_metrics"
]
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/localization_evaluator"
}
},
"required": ["ros__parameters"]
}
},
"required": ["/**"]
}

"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": ["/**"]
}

0 comments on commit 2b18287

Please sign in to comment.