Commit 6c7cd51
authored
revise design format (#18)
* Update system design format to version 0.3.0
- Changed the key names from `parameter_files` and `parameters` to `param_files` and `param_values` across multiple YAML configuration files for consistency with the new format.
- Updated the autoware_system_design_format version in all affected files to 0.3.0.
- Introduced a new JSON schema for version 0.3.0 to validate the updated structure of node and parameter set entities.
This update enhances clarity and aligns with the latest design specifications.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* fix: all combined parameters is named 'parameters' not param_values
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* refactor: update parameter naming in linter and schema files
- Changed references from `parameters` and `parameter_files` to `param_values` and `param_files` in the NamingLinter and related schema files for consistency with the updated design format.
- Adjusted validation logic in the data validator to accommodate the new parameter naming conventions.
- Removed deprecated parameter definitions from JSON schema files to streamline the structure.
This update ensures alignment with the latest design specifications and improves code clarity.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* remove alias of parameter_files, parameter_values
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* refactor: enforce strict property definitions in schema files
- Updated multiple JSON schema files to set "additionalProperties" to false, ensuring stricter validation of properties.
- Removed the optional input "objects3" from Tracker.node.yaml to streamline the input requirements.
- These changes enhance the clarity and integrity of the schema definitions, aligning with the latest design specifications.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* feat: add parameter_set definition to system schema
- Introduced a new "parameter_set" property in the system.json schema, allowing for either a string or an array of strings.
- This addition enhances the flexibility of parameter definitions, aligning with the evolving design requirements.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* feat: add remap_target property to node schema
- Introduced a new "remap_target" property in the node.json schema for both versions 0.2.1 and 0.3.0, allowing for string type definitions.
- This addition enhances the flexibility of node configurations, aligning with evolving design requirements.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* fix: add validation for missing param_files and param_values
- Implemented a check in the ConfigParser to raise a ValidationError if both param_files and param_values are missing, ensuring better error handling and data integrity during configuration parsing.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* fix: enhance validation for configuration parameters
- Updated the ConfigParser to include a check for the presence of the "base" key in the configuration. This ensures that either param_files or param_values must be provided, improving error handling and data integrity during configuration parsing.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* fix: correct parameter naming in template file
- Updated the parameter_set.yaml.jinja2 template to replace incorrect references of `parameter_files` and `parameters` with `param_files` and `param_values`, respectively. This change ensures consistency with the updated naming conventions established in previous commits.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* fix: remove deprecated parameter key references in parameter_set_applier.py
- Updated the apply_parameter_set function to eliminate references to the old keys `parameter_files` and `parameters`, ensuring consistency with the latest naming conventions. This change aligns with previous updates and enhances code clarity.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* fix: streamline type definition in system.json schema
- Consolidated the "type" definition for the "value" property in system.json to a single line for improved readability and consistency. This change enhances the clarity of the schema structure.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
---------
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>1 parent a19a176 commit 6c7cd51
40 files changed
Lines changed: 588 additions & 509 deletions
File tree
- autoware_system_design_examples/design
- node
- perception
- sensing
- parameter_set
- autoware_system_designer/autoware_system_designer
- builder
- instances
- parameters
- resolution
- linter
- models
- parsing
- ros2_launcher
- templates
- schema
- 0.2.1
- 0.3.0
- template
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments