forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1218 from tier4/cherry-pick/pr5932+6645
fix(blockage_diag): add dust detection enable option pr5932+6645
- Loading branch information
Showing
6 changed files
with
197 additions
and
168 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -211,6 +211,7 @@ ament_export_targets(export_${PROJECT_NAME}) | |
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
launch | ||
config | ||
) | ||
|
||
|
||
|
16 changes: 16 additions & 0 deletions
16
sensing/pointcloud_preprocessor/config/blockage_diagnostics_param_file.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,16 @@ | ||
/**: | ||
ros__parameters: | ||
blockage_ratio_threshold: 0.1 | ||
blockage_count_threshold: 50 | ||
blockage_buffering_frames: 2 | ||
blockage_buffering_interval: 1 | ||
enable_dust_diag: false | ||
publish_debug_image: false | ||
dust_ratio_threshold: 0.2 | ||
dust_count_threshold: 10 | ||
dust_kernel_size: 2 | ||
dust_buffering_frames: 10 | ||
dust_buffering_interval: 1 | ||
max_distance_range: 200.0 | ||
horizontal_resolution: 0.4 | ||
blockage_kernel: 10 |
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
27 changes: 4 additions & 23 deletions
27
sensing/pointcloud_preprocessor/launch/blockage_diag.launch.xml
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,37 +1,18 @@ | ||
<launch> | ||
<arg name="input_topic_name" default="pointcloud_raw_ex"/> | ||
<arg name="output_topic_name" default="blockage_diag/pointcloud"/> | ||
|
||
<arg name="horizontal_ring_id" default="18"/> | ||
<arg name="angle_range" default="[0.0, 360.0]"/> | ||
<arg name="vertical_bins" default="40"/> | ||
<arg name="model" default="Pandar40P"/> | ||
<arg name="blockage_ratio_threshold" default="0.1"/> | ||
<arg name="blockage_count_threshold" default="50"/> | ||
<arg name="blockage_buffering_frames" default="100"/> | ||
<arg name="blockage_buffering_interval" default="5"/> | ||
<arg name="dust_ratio_threshold" default="0.2"/> | ||
<arg name="dust_count_threshold" default="10"/> | ||
<arg name="dust_kernel_size" default="2"/> | ||
<arg name="dust_buffering_frames" default="10"/> | ||
<arg name="dust_buffering_interval" default="1"/> | ||
|
||
<arg name="is_channel_order_top2down" default="true"/> | ||
<arg name="blockage_diagnostics_param_file" default="$(find-pkg-share pointcloud_preprocessor)/config/blockage_diagnostics_param_file.yaml"/> | ||
<node pkg="pointcloud_preprocessor" exec="blockage_diag_node" name="blockage_diag"> | ||
<remap from="input" to="$(var input_topic_name)"/> | ||
<remap from="output" to="$(var output_topic_name)"/> | ||
|
||
<param name="horizontal_ring_id" value="$(var horizontal_ring_id)"/> | ||
<param name="angle_range" value="$(var angle_range)"/> | ||
<param name="vertical_bins" value="$(var vertical_bins)"/> | ||
<param name="model" value="$(var model)"/> | ||
<param name="blockage_ratio_threshold" value="$(var blockage_ratio_threshold)"/> | ||
<param name="blockage_count_threshold" value="$(var blockage_count_threshold)"/> | ||
<param name="blockage_buffering_frames" value="$(var blockage_buffering_frames)"/> | ||
<param name="blockage_buffering_interval" value="$(var blockage_buffering_interval)"/> | ||
<param name="dust_ratio_threshold" value="$(var dust_ratio_threshold)"/> | ||
<param name="dust_count_threshold" value="$(var dust_count_threshold)"/> | ||
<param name="dust_kernel_size" value="$(var dust_kernel_size)"/> | ||
<param name="dust_buffering_frames" value="$(var dust_buffering_frames)"/> | ||
<param name="dust_buffering_interval" value="$(var dust_buffering_interval)"/> | ||
<param name="is_channel_order_top2down" value="$(var is_channel_order_top2down)"/> | ||
<param from="$(var blockage_diagnostics_param_file)"/> | ||
</node> | ||
</launch> |
Oops, something went wrong.