Skip to content

Commit

Permalink
Merge branch 'refactor/map_projection_loader_params' of github.com:Ta…
Browse files Browse the repository at this point in the history
…ikiYamada4/autoware.universe into refactor/map_projection_loader_params
  • Loading branch information
TaikiYamada4 committed Feb 1, 2024
2 parents 5ab636c + 8ade5df commit 8315a2c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 41 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**:
ros__parameters:
map_projector_info_path: $(var map_projector_info_path)
lanelet2_map_path: $(var lanelet2_map_path)
lanelet2_map_path: $(var lanelet2_map_path)
76 changes: 36 additions & 40 deletions map/map_projection_loader/schema/map_projection_loader.schema.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,38 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Parameters for map_projection_loader",
"type": "object",
"definitions": {
"map_projection_loader": {
"type": "object",
"properties": {
"map_projector_info_path": {
"type": "string",
"description": "The path where map_projector_info.yaml is located",
"default": "$(var map_projector_info_path)"
},
"lanelet2_map_path": {
"type": "string",
"description": "The path where the lanelet2 map file (.osm) is located",
"default": "$(var lanelet2_map_path)"
}
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Parameters for map_projection_loader",
"type": "object",
"definitions": {
"map_projection_loader": {
"type": "object",
"properties": {
"map_projector_info_path": {
"type": "string",
"description": "The path where map_projector_info.yaml is located",
"default": "$(var map_projector_info_path)"
},
"required": [
"map_projector_info_path",
"lanelet2_map_path"
],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/map_projection_loader"
}
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}

"lanelet2_map_path": {
"type": "string",
"description": "The path where the lanelet2 map file (.osm) is located",
"default": "$(var lanelet2_map_path)"
}
},
"required": ["map_projector_info_path", "lanelet2_map_path"],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/map_projection_loader"
}
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}

0 comments on commit 8315a2c

Please sign in to comment.