Supports parameter validation in workflows #6442
Unanswered
isamu-takagi
asked this question in
Ideas
Replies: 2 comments 6 replies
-
|
In the comments on autowarefoundation/autoware_cmake#34, building for a schema file package is inefficient. There are several ways to solve this.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@isamu-takagi Wonderful feature! I want to understand how to create a file like as follows: As you mentioned about the case when a specified (target) package has its dependency, do we need to do, for example, the following steps?
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I sometimes have problems with Autoware not starting due to mismatched parameters. This often happens when we change autoware_universe and then forget to update autoware_launch. Since we already introduced parameter definitions using JSON schema, it should be able to detect this automatically. There are already checks in place using CI, but these are limited to the same package and cannot perform cross-package verification.
Therefore, I propose a test package that adds parameter validation by workflows. Package maintainers can easily run parameter tests for their packages by specifying the JSON schema and the parameter file to be inspected, as shown below.
For more details, see the sample and implementation here.
Below is a sample of the test results. I look forward to your comment.
Test #0 (Failure) message: 'arrival_check_distance' is a required property details: schema: /home/isamutakagi/workspace/awf/autoware/repo/install/autoware_mission_planner_universe/share/autoware_mission_planner_universe/schema/mission_planner.schema.json params: /home/isamutakagi/workspace/awf/autoware/repo/install/autoware_launch/share/autoware_launch/config/planning/mission_planning/mission_planner/mission_planner.param.yaml Test #1 (Success) message: OK details: schema: /home/isamutakagi/workspace/awf/autoware/repo/install/autoware_pose_initializer/share/autoware_pose_initializer/schema/pose_initializer.schema.json params: /home/isamutakagi/workspace/awf/autoware/repo/install/autoware_launch/share/autoware_launch/config/localization/pose_initializer.param.yaml Summary all : 2 success: 1 failure: 1 errors : 0Beta Was this translation helpful? Give feedback.
All reactions