Skip to content

Commit

Permalink
fix: group to avoid argument mixture
Browse files Browse the repository at this point in the history
  • Loading branch information
technolojin committed Jun 20, 2024
1 parent 90025b2 commit f806b2e
Showing 1 changed file with 23 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,26 +339,30 @@

<group if="$(var switch/merger/lidar_radar)">
<!-- Lidar object merger-->
<include file="$(find-pkg-share tier4_perception_launch)/launch/object_recognition/detection/merger/lidar_merger.launch.xml">
<arg name="input/pointcloud_map/pointcloud" value="$(var pointcloud_filter/output/pointcloud)"/>
<arg name="input/obstacle_segmentation/pointcloud" value="$(var input/obstacle_segmentation/pointcloud)"/>
<arg name="input/lidar_ml/objects" value="$(var lidar_ml_detector/output/objects)"/>
<arg name="input/lidar_rule/objects" value="$(var lidar_rule_detector/output/objects)"/>
<arg name="output/objects" value="lidar/objects"/>
<arg name="lidar_detection_model" value="$(var lidar_detection_model)"/>
<arg name="use_detection_by_tracker" value="$(var use_detection_by_tracker)"/>
<arg name="use_pointcloud_map" value="$(var use_pointcloud_map)"/>
<arg name="use_object_filter" value="$(var use_object_filter)"/>
<arg name="objects_filter_method" value="$(var objects_filter_method)"/>
<arg name="use_validator" value="$(var use_validator)"/>
<arg name="objects_validation_method" value="$(var objects_validation_method)"/>
</include>
<group>
<include file="$(find-pkg-share tier4_perception_launch)/launch/object_recognition/detection/merger/lidar_merger.launch.xml">
<arg name="input/pointcloud_map/pointcloud" value="$(var pointcloud_filter/output/pointcloud)"/>
<arg name="input/obstacle_segmentation/pointcloud" value="$(var input/obstacle_segmentation/pointcloud)"/>
<arg name="input/lidar_ml/objects" value="$(var lidar_ml_detector/output/objects)"/>
<arg name="input/lidar_rule/objects" value="$(var lidar_rule_detector/output/objects)"/>
<arg name="output/objects" value="lidar/objects"/>
<arg name="lidar_detection_model" value="$(var lidar_detection_model)"/>
<arg name="use_detection_by_tracker" value="$(var use_detection_by_tracker)"/>
<arg name="use_pointcloud_map" value="$(var use_pointcloud_map)"/>
<arg name="use_object_filter" value="$(var use_object_filter)"/>
<arg name="objects_filter_method" value="$(var objects_filter_method)"/>
<arg name="use_validator" value="$(var use_validator)"/>
<arg name="objects_validation_method" value="$(var objects_validation_method)"/>
</include>
</group>
<!-- Lidar-Radar object merger-->
<include file="$(find-pkg-share radar_fusion_to_detected_object)/launch/radar_object_fusion_to_detected_object.launch.xml">
<arg name="input/objects" value="lidar/objects"/>
<arg name="input/radars" value="radar/noise_filtered_objects"/>
<arg name="output/objects" value="$(var output/objects)"/>
</include>
<group>
<include file="$(find-pkg-share radar_fusion_to_detected_object)/launch/radar_object_fusion_to_detected_object.launch.xml">
<arg name="input/objects" value="lidar/objects"/>
<arg name="input/radars" value="radar/noise_filtered_objects"/>
<arg name="output/objects" value="$(var output/objects)"/>
</include>
</group>
</group>

<group if="$(var switch/merger/lidar)">
Expand Down

0 comments on commit f806b2e

Please sign in to comment.