|
2 | 2 | "$schema": "http://json-schema.org/draft-07/schema#",
|
3 | 3 | "title": "Data Association Matrix Parameters",
|
4 | 4 | "type": "object",
|
5 |
| - "properties": { |
6 |
| - "ros__parameters": { |
| 5 | + "definitions": { |
| 6 | + "data_association_matrix": { |
7 | 7 | "type": "object",
|
8 | 8 | "properties": {
|
9 | 9 | "can_assign_matrix": {
|
10 | 10 | "type": "array",
|
11 | 11 | "items": {
|
12 | 12 | "type": "number"
|
13 | 13 | },
|
14 |
| - "description": "Assignment table for data association" |
| 14 | + "description": "Assignment table for data association.", |
| 15 | + "default": [ |
| 16 | + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, |
| 17 | + 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, |
| 18 | + 0, 0, 0, 1, 1, 1 |
| 19 | + ] |
15 | 20 | },
|
16 | 21 | "max_dist_matrix": {
|
17 | 22 | "type": "array",
|
18 | 23 | "items": {
|
19 | 24 | "type": "number"
|
20 | 25 | },
|
21 |
| - "description": "Maximum distance table for data association" |
| 26 | + "description": "Maximum distance table for data association.", |
| 27 | + "default": [ |
| 28 | + 4.0, 4.0, 5.0, 5.0, 5.0, 2.0, 2.0, 2.0, 4.0, 2.0, 5.0, 5.0, 5.0, 1.0, 1.0, 1.0, 5.0, |
| 29 | + 5.0, 5.0, 5.0, 5.0, 1.0, 1.0, 1.0, 5.0, 5.0, 5.0, 5.0, 5.0, 1.0, 1.0, 1.0, 5.0, 5.0, |
| 30 | + 5.0, 5.0, 5.0, 1.0, 1.0, 1.0, 2.0, 1.0, 1.0, 1.0, 1.0, 3.0, 3.0, 3.0, 2.0, 1.0, 1.0, |
| 31 | + 1.0, 1.0, 3.0, 3.0, 3.0, 2.0, 1.0, 1.0, 1.0, 1.0, 3.0, 3.0, 2.0 |
| 32 | + ] |
22 | 33 | },
|
23 | 34 | "max_rad_matrix": {
|
24 | 35 | "type": "array",
|
25 | 36 | "items": {
|
26 |
| - "type": "number" |
| 37 | + "type": "number", |
| 38 | + "minimum": 0.0 |
27 | 39 | },
|
28 |
| - "description": "Maximum angle table for data association. If value is greater than pi, it will be ignored." |
| 40 | + "description": "Maximum angle table for data association. If value is greater than pi, it will be ignored.", |
| 41 | + "default": [ |
| 42 | + 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 1.047, 1.047, 1.047, 1.047, 3.15, |
| 43 | + 3.15, 3.15, 3.15, 1.047, 1.047, 1.047, 1.047, 3.15, 3.15, 3.15, 3.15, 1.047, 1.047, |
| 44 | + 1.047, 1.047, 3.15, 3.15, 3.15, 3.15, 1.047, 1.047, 1.047, 1.047, 3.15, 3.15, 3.15, |
| 45 | + 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, |
| 46 | + 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15, 3.15 |
| 47 | + ] |
29 | 48 | },
|
30 | 49 | "min_iou_matrix": {
|
31 | 50 | "type": "array",
|
32 | 51 | "items": {
|
33 |
| - "type": "number" |
| 52 | + "type": "number", |
| 53 | + "minimum": 0.0 |
34 | 54 | },
|
35 |
| - "description": "Minimum IoU threshold matrix for data association. If value is negative, it will be ignored." |
| 55 | + "description": "Minimum IoU threshold matrix for data association. If value is negative, it will be ignored.", |
| 56 | + "default": [ |
| 57 | + 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.3, 0.2, 0.2, 0.2, 0.1, 0.1, 0.1, 0.1, |
| 58 | + 0.2, 0.3, 0.3, 0.3, 0.1, 0.1, 0.1, 0.1, 0.2, 0.3, 0.3, 0.3, 0.1, 0.1, 0.1, 0.1, 0.2, |
| 59 | + 0.3, 0.3, 0.3, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, |
| 60 | + 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1 |
| 61 | + ] |
| 62 | + } |
| 63 | + }, |
| 64 | + "required": ["can_assign_matrix", "max_dist_matrix", "max_rad_matrix", "min_iou_matrix"], |
| 65 | + "additionalProperties": false |
| 66 | + } |
| 67 | + }, |
| 68 | + "properties": { |
| 69 | + "/**": { |
| 70 | + "type": "object", |
| 71 | + "properties": { |
| 72 | + "ros__parameters": { |
| 73 | + "$ref": "#/definitions/data_association_matrix" |
36 | 74 | }
|
37 | 75 | },
|
38 |
| - "required": ["can_assign_matrix", "max_dist_matrix", "max_rad_matrix", "min_iou_matrix"] |
| 76 | + "required": ["ros__parameters"], |
| 77 | + "additionalProperties": false |
39 | 78 | }
|
40 |
| - } |
| 79 | + }, |
| 80 | + "required": ["/**"], |
| 81 | + "additionalProperties": false |
41 | 82 | }
|
0 commit comments