Skip to content

Commit f0a974c

Browse files
Fixed json schema
Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp>
1 parent 998e11c commit f0a974c

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

localization/ndt_scan_matcher/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ One optional function is regularization. Please see the regularization chapter i
6060

6161
{{ json_to_markdown("localization/ndt_scan_matcher/schema/sub/frame.json") }}
6262

63+
#### Sensor Points
64+
65+
{{ json_to_markdown("localization/ndt_scan_matcher/schema/sub/sensor_points.json") }}
66+
6367
#### Ndt
6468

6569
{{ json_to_markdown("localization/ndt_scan_matcher/schema/sub/ndt.json") }}

localization/ndt_scan_matcher/schema/ndt_scan_matcher.schema.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
"covariance": { "$ref": "sub/covariance.json#/definitions/covariance" },
2222
"dynamic_map_loading": {
2323
"$ref": "sub/dynamic_map_loading.json#/definitions/dynamic_map_loading"
24+
},
25+
"sensor_points": {
26+
"$ref": "sub/sensor_points.json#/definitions/sensor_points"
2427
}
2528
},
2629
"required": [
@@ -30,7 +33,8 @@
3033
"validation",
3134
"score_estimation",
3235
"covariance",
33-
"dynamic_map_loading"
36+
"dynamic_map_loading",
37+
"sensor_points"
3438
],
3539
"additionalProperties": false
3640
}

localization/ndt_scan_matcher/schema/sub/sensor_points.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"title": "Parameters for Ndt Scan Matcher Node",
44
"definitions": {
5-
"frame": {
5+
"sensor_points": {
66
"type": "object",
77
"properties": {
88
"required_distance": {
99
"type": "number",
10-
"description": "Required distance of input sensor points. If the max distance of input sensor points is lower than this value, the scan matching will not be performed.",
10+
"description": "Required distance of input sensor points [m]. If the max distance of input sensor points is lower than this value, the scan matching will not be performed.",
1111
"default": "10.0"
1212
}
1313
},

0 commit comments

Comments
 (0)