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.
fix(image_projection_based_fusion): segmentation pointcloud fusion pa…
…ram update (autowarefoundation#7858) Signed-off-by: palas21 <[email protected]>
- Loading branch information
1 parent
907cb6e
commit 419aa48
Showing
5 changed files
with
171 additions
and
42 deletions.
There are no files selected for viewing
53 changes: 19 additions & 34 deletions
53
perception/image_projection_based_fusion/config/segmentation_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 |
---|---|---|
@@ -1,39 +1,24 @@ | ||
/**: | ||
ros__parameters: | ||
# if the semantic label is applied for pointcloud filtering | ||
|
||
filter_semantic_label_target: | ||
[ | ||
true, # road | ||
true, # sidewalk | ||
true, # building | ||
true, # wall | ||
true, # fence | ||
true, # pole | ||
true, # traffic_light | ||
true, # traffic_sign | ||
true, # vegetation | ||
true, # terrain | ||
true, # sky | ||
false, # person | ||
false, # ride | ||
false, # car | ||
false, # truck | ||
false, # bus | ||
false, # train | ||
false, # motorcycle | ||
false, # bicycle | ||
false, # others | ||
] | ||
# the maximum distance of pointcloud to be applied filter, | ||
# this is selected based on semantic segmentation model accuracy, | ||
# calibration accuracy and unknown reaction distance | ||
filter_distance_threshold: 60.0 | ||
UNKNOWN: false | ||
BUILDING: true | ||
WALL: true | ||
OBSTACLE: false | ||
TRAFFIC_LIGHT: false | ||
TRAFFIC_SIGN: false | ||
PERSON: false | ||
VEHICLE: false | ||
BIKE: false | ||
ROAD: true | ||
SIDEWALK: false | ||
ROAD_PAINT: false | ||
CURBSTONE: false | ||
CROSSWALK: false | ||
VEGETATION: true | ||
SKY: false | ||
|
||
# debug | ||
debug_mode: false | ||
filter_scope_min_x: -100.0 | ||
filter_scope_max_x: 100.0 | ||
filter_scope_min_y: -100.0 | ||
filter_scope_max_y: 100.0 | ||
filter_scope_min_z: -100.0 | ||
filter_scope_max_z: 100.0 | ||
# the maximum distance of pointcloud to be applied filter | ||
filter_distance_threshold: 60.0 |
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
134 changes: 134 additions & 0 deletions
134
perception/image_projection_based_fusion/schema/segmentation_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,134 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Segmentation Pointcloud Fusion Node", | ||
"type": "object", | ||
"definitions": { | ||
"segmentation_pointcloud_fusion": { | ||
"type": "object", | ||
"properties": { | ||
"filter_semantic_label_target": { | ||
"type": "object", | ||
"properties": { | ||
"UNKNOWN": { | ||
"type": "boolean", | ||
"description": "If true, UNKNOWN class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"BUILDING": { | ||
"type": "boolean", | ||
"description": "If true, BUILDING class of semantic will be filtered.", | ||
"default": true | ||
}, | ||
"WALL": { | ||
"type": "boolean", | ||
"description": "If true, WALL class of semantic will be filtered.", | ||
"default": true | ||
}, | ||
"OBSTACLE": { | ||
"type": "boolean", | ||
"description": "If true, OBSTACLE class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"TRAFFIC_LIGHT": { | ||
"type": "boolean", | ||
"description": "If true, TRAFFIC_LIGHT class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"TRAFFIC_SIGN": { | ||
"type": "boolean", | ||
"description": "If true, TRAFFIC_SIGN class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"PERSON": { | ||
"type": "boolean", | ||
"description": "If true, PERSON class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"VEHICLE": { | ||
"type": "boolean", | ||
"description": "If true, VEHICLE class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"BIKE": { | ||
"type": "boolean", | ||
"description": "If true, BIKE class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"ROAD": { | ||
"type": "boolean", | ||
"description": "If true, ROAD class of semantic will be filtered.", | ||
"default": true | ||
}, | ||
"SIDEWALK": { | ||
"type": "boolean", | ||
"description": "If true, SIDEWALK class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"ROAD_PAINT": { | ||
"type": "boolean", | ||
"description": "If true, ROAD_PAINT class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"CURBSTONE": { | ||
"type": "boolean", | ||
"description": "If true, CURBSTONE class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"CROSSWALK": { | ||
"type": "boolean", | ||
"description": "If true, CROSSWALK class of semantic will be filtered.", | ||
"default": false | ||
}, | ||
"VEGETATION": { | ||
"type": "boolean", | ||
"description": "If true, VEGETATION class of semantic will be filtered.", | ||
"default": true | ||
}, | ||
"SKY": { | ||
"type": "boolean", | ||
"description": "If true, SKY class of semantic will be filtered.", | ||
"default": false | ||
} | ||
}, | ||
"required": [ | ||
"UNKNOWN", | ||
"BUILDING", | ||
"WALL", | ||
"OBSTACLE", | ||
"TRAFFIC_LIGHT", | ||
"TRAFFIC_SIGN", | ||
"PERSON", | ||
"VEHICLE", | ||
"BIKE", | ||
"ROAD", | ||
"SIDEWALK", | ||
"ROAD_PAINT", | ||
"CURBSTONE", | ||
"CROSSWALK", | ||
"VEGETATION", | ||
"SKY" | ||
] | ||
}, | ||
"filter_distance_threshold": { | ||
"type": "number", | ||
"description": "A maximum distance of pointcloud to apply filter [m].", | ||
"default": 60.0, | ||
"minimum": 0.0 | ||
} | ||
}, | ||
"required": ["filter_semantic_label_target", "filter_distance_threshold"] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/segmentation_pointcloud_fusion" | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} |
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