-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rework parameters for
roi_pointcloud_fusion
Signed-off-by: ktro2828 <[email protected]>
- Loading branch information
Showing
3 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
perception/image_projection_based_fusion/config/roi_pointcloud_fusion.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,5 @@ | ||
/**: | ||
ros__parameters: | ||
fuse_unknown_only: true | ||
min_cluster_size: 2 | ||
cluster_2d_tolerance: 0.5 |
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
41 changes: 41 additions & 0 deletions
41
perception/image_projection_based_fusion/schema/roi_pointcloud_fusion.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,41 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for RoI PointCloud Fusion Node", | ||
"type": "object", | ||
"definitions": { | ||
"roi_pointcloud_fusion": { | ||
"type": "object", | ||
"properties": { | ||
"fuse_unknown_only": { | ||
"type": "boolean", | ||
"description": "Whether to fuse only UNKNOWN clusters.", | ||
"default": true | ||
}, | ||
"min_cluster_size": { | ||
"type": "integer", | ||
"description": "The minimum number of points that a cluster must contain to be considered as valid.", | ||
"default": 2 | ||
}, | ||
"cluster_2d_tolerance": { | ||
"type": "number", | ||
"description": "A cluster tolerance measured in radial direction [m]", | ||
"default": 0.5, | ||
"exclusiveMinimum": 0.0 | ||
} | ||
}, | ||
"required": ["fuse_unknown_only", "min_cluster_size", "cluster_2d_tolerance"] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/roi_pointcloud_fusion" | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} |