-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(image_projection_based_fusion): segmentation pointcloud fusion param update #7858
Merged
badai-nguyen
merged 4 commits into
autowarefoundation:main
from
badai-nguyen:fix/segmentation_pointcloud_fusion/param
Jul 5, 2024
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can not get what
distance
means until reading the code.It means maximum z depth, so how about change its explanation?