forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(autoware_lidar_transfusion): split config (autowarefoundatio…
…n#8205) * refactor(autoware_lidar_transfusion): split config Signed-off-by: Amadeusz Szymko <amadeusz.szymko.2@tier4.jp> * style(pre-commit): autofix * chore(autoware_lidar_transfusion): bypass schema CI workflow Signed-off-by: amadeuszsz <amadeusz.szymko.2@tier4.jp> --------- Signed-off-by: Amadeusz Szymko <amadeusz.szymko.2@tier4.jp> Signed-off-by: amadeuszsz <amadeusz.szymko.2@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kenzo Lobos Tsunekawa <kenzo.lobos@tier4.jp>
- Loading branch information
1 parent
1c2b07b
commit 631d967
Showing
7 changed files
with
93 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
perception/autoware_lidar_transfusion/config/transfusion.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
perception/autoware_lidar_transfusion/config/transfusion_ml_package.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/**: | ||
ros__parameters: | ||
class_names: ["CAR", "TRUCK", "BUS", "BICYCLE", "PEDESTRIAN"] | ||
voxels_num: [5000, 30000, 60000] # [min, opt, max] | ||
point_cloud_range: [-92.16, -92.16, -3.0, 92.16, 92.16, 7.0] # [x_min, y_min, z_min, x_max, y_max, z_max] | ||
voxel_size: [0.24, 0.24, 10.0] # [x, y, z] | ||
num_proposals: 500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
perception/autoware_lidar_transfusion/schema/transfusion_ml_package.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for LiDAR TransFusion Node", | ||
"type": "object", | ||
"definitions": { | ||
"transfusion": { | ||
"type": "object", | ||
"properties": { | ||
"class_names": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "An array of class names will be predicted.", | ||
"default": ["CAR", "TRUCK", "BUS", "BICYCLE", "PEDESTRIAN"], | ||
"uniqueItems": true | ||
}, | ||
"voxels_num": { | ||
"type": "array", | ||
"items": { | ||
"type": "integer" | ||
}, | ||
"description": "A maximum number of voxels [min, opt, max].", | ||
"default": [5000, 30000, 60000] | ||
}, | ||
"point_cloud_range": { | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
}, | ||
"description": "An array of distance ranges of each class.", | ||
"default": [-76.8, -76.8, -3.0, 76.8, 76.8, 5.0], | ||
"minItems": 6, | ||
"maxItems": 6 | ||
}, | ||
"voxel_size": { | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
}, | ||
"description": "Voxels size [x, y, z].", | ||
"default": [0.3, 0.3, 8.0], | ||
"minItems": 3, | ||
"maxItems": 3 | ||
}, | ||
"num_proposals": { | ||
"type": "integer", | ||
"description": "Number of proposals at TransHead.", | ||
"default": 500, | ||
"minimum": 1 | ||
} | ||
}, | ||
"required": ["class_names", "voxels_num", "point_cloud_range", "voxel_size", "num_proposals"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/transfusion" | ||
} | ||
}, | ||
"required": ["ros__parameters"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["/**"], | ||
"additionalProperties": false | ||
} |