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.
introduce json schema for ground_server
Signed-off-by: Kento Yabuuchi <kento.yabuuchi.2@tier4.jp>
- Loading branch information
Showing
5 changed files
with
59 additions
and
12 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
4 changes: 2 additions & 2 deletions
4
localization/yabloc/yabloc_common/config/ground_server.param.yaml
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,5 +1,5 @@ | ||
/**: | ||
ros__parameters: | ||
force_zero_tilt: false | ||
K: 50 | ||
R: 10 | ||
ground_search_neighbors: 50 | ||
ground_search_radius: 10 |
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
51 changes: 51 additions & 0 deletions
51
localization/yabloc/yabloc_common/schema/ground_server.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,51 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for ground_server", | ||
"type": "object", | ||
"definitions": { | ||
"geo_pose_projector": { | ||
"type": "object", | ||
"properties": { | ||
"force_zero_tilt": { | ||
"type": "boolean", | ||
"description": "if true, the tilt is always determined to be horizontal", | ||
"default": false | ||
}, | ||
"ground_search_neighbors": { | ||
"type": "number", | ||
"description": "the number of neighbors for ground search on a map", | ||
"default": "50" | ||
}, | ||
"ground_search_radius": { | ||
"type": "number", | ||
"description": "radius for ground search on a map [m]", | ||
"default": "10" | ||
} | ||
}, | ||
"required": [ | ||
"force_zero_tilt", | ||
"ground_search_neighbors", | ||
"ground_search_radius" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/geo_pose_projector" | ||
} | ||
}, | ||
"required": [ | ||
"ros__parameters" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": [ | ||
"/**" | ||
], | ||
"additionalProperties": false | ||
} |
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