generated from tier4/ros2-project-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: coodinate system for xt32 sample Signed-off-by: Akihito Ohsato <[email protected]> * feat(perception_xt32_sample): add fusion function Signed-off-by: Manato HIRABAYASHI <[email protected]> * feat(perception_xt32_sample): adjust RViz style to the AT128 one Signed-off-by: Manato HIRABAYASHI <[email protected]> --------- Signed-off-by: Akihito Ohsato <[email protected]> Signed-off-by: Manato HIRABAYASHI <[email protected]> Co-authored-by: Akihito Ohsato <[email protected]>
- Loading branch information
Showing
3 changed files
with
140 additions
and
26 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
42 changes: 42 additions & 0 deletions
42
edge_auto_launch/launch/component/roi_cluster_fusion.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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<launch> | ||
<arg name="input/rois_number" default="2"/> | ||
<arg name="input/rois0" default="input/rois0"/> | ||
<arg name="input/camera_info0" default="input/camera_info0"/> | ||
<arg name="input/rois1" default="input/rois1"/> | ||
<arg name="input/camera_info1" default="input/camera_info1"/> | ||
|
||
<arg name="input/clusters" default="input/clusters"/> | ||
<arg name="output/clusters" default="output/clusters"/> | ||
<arg name="sync_param_path" default="$(find-pkg-share edge_auto_launch)/config/roi_sync.param.yaml"/> | ||
<arg name="remove_unknown" default="true"/> | ||
<arg name="trust_distance" default="100.0"/> | ||
|
||
<!-- for eval variable--> | ||
<arg name="input_rois_number" default="$(var input/rois_number)"/> | ||
|
||
<group> | ||
<set_remap if="$(eval "'$(var input_rois_number)' >= '1' ")" from="input/rois0" to="$(var input/rois0)"/> | ||
<set_remap if="$(eval "'$(var input_rois_number)' >= '1' ")" from="input/camera_info0" to="$(var input/camera_info0)"/> | ||
<set_remap if="$(eval "'$(var input_rois_number)' >= '2' ")" from="input/rois1" to="$(var input/rois1)"/> | ||
<set_remap if="$(eval "'$(var input_rois_number)' >= '2' ")" from="input/camera_info1" to="$(var input/camera_info1)"/> | ||
|
||
<node pkg="image_projection_based_fusion" exec="roi_cluster_fusion_node" name="roi_cluster_fusion" output="screen"> | ||
<param name="rois_number" value="$(var input/rois_number)"/> | ||
<param from="$(var sync_param_path)"/> | ||
<remap from="input" to="$(var input/clusters)"/> | ||
<remap from="output" to="$(var output/clusters)"/> | ||
|
||
<param name="remove_unknown" value="$(var remove_unknown)"/> | ||
<param name="trust_distance" value="$(var trust_distance)"/> | ||
|
||
<param name="use_iou" value="true"/> | ||
<param name="use_iou_x" value="false"/> | ||
<param name="use_iou_y" value="false"/> | ||
<param name="only_allow_inside_cluster" value="true"/> | ||
<param name="roi_scale_factor" value="1.1"/> | ||
|
||
<param name="iou_threshold" value="0.3"/> | ||
<param name="debug_mode" value="false"/> | ||
</node> | ||
</group> | ||
</launch> |
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