-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fad5e71
commit 2b18287
Showing
2 changed files
with
34 additions
and
38 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
70 changes: 33 additions & 37 deletions
70
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 |
---|---|---|
@@ -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": ["/**"] | ||
} |