diff --git a/evaluator/localization_evaluator/README.md b/evaluator/localization_evaluator/README.md index 134862a9dc96d..18d887e075be1 100644 --- a/evaluator/localization_evaluator/README.md +++ b/evaluator/localization_evaluator/README.md @@ -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") }} \ No newline at end of file +{{ json_to_markdown("evaluator/localization_evaluator/schema/localization_evaluator.schema.json") }} diff --git a/evaluator/localization_evaluator/schema/localization_evaluator.schema.json b/evaluator/localization_evaluator/schema/localization_evaluator.schema.json index b0683bd3f4827..f186e569e8f4d 100644 --- a/evaluator/localization_evaluator/schema/localization_evaluator.schema.json +++ b/evaluator/localization_evaluator/schema/localization_evaluator.schema.json @@ -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": ["/**"] - } - \ No newline at end of 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": ["/**"] +}