forked from tier4/autoware_launch-old
-
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.
Merge pull request tier4#157 from tier4/sync-upstream
chore: sync upstream
- Loading branch information
Showing
3 changed files
with
77 additions
and
22 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
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
62 changes: 47 additions & 15 deletions
62
perception_launch/launch/object_recognition/detection/lidar_based_detection.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,23 +1,55 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="use_vector_map" default="true" description="use vector map in prediction"/> | ||
<arg name="lidar_detection_model" default="centerpoint" description="options: `centerpoint`, `apollo`"/> | ||
|
||
<!-- <include file="$(find-pkg-share lidar_apollo_instance_segmentation)/launch/lidar_apollo_instance_segmentation.launch.xml" /> --> | ||
<!-- Clustering --> | ||
<group> | ||
<push-ros-namespace namespace="clustering"/> | ||
<include file="$(find-pkg-share euclidean_cluster)/launch/voxel_grid_based_euclidean_cluster.launch.xml"> | ||
<arg name="output_clusters" value="clusters"/> | ||
<arg name="use_pointcloud_map" value="false"/> | ||
</include> | ||
</group> | ||
|
||
<include file="$(find-pkg-share euclidean_cluster)/launch/euclidean_cluster.launch.xml"> | ||
<arg name="voxel_grid_param_path" value="$(find-pkg-share perception_launch)/config/object_recognition/detection/euclidean_cluster/voxel_grid.param.yaml" /> | ||
<arg name="euclidean_param_path" value="$(find-pkg-share perception_launch)/config/object_recognition/detection/euclidean_cluster/euclidean_cluster.param.yaml" /> | ||
</include> | ||
<!-- DetectionByTracker --> | ||
<group> | ||
<push-ros-namespace namespace="detection_by_tracker"/> | ||
<include file="$(find-pkg-share detection_by_tracker)/launch/detection_by_tracker.launch.xml"> | ||
</include> | ||
</group> | ||
|
||
<include file="$(find-pkg-share shape_estimation)/launch/shape_estimation.launch.xml"> | ||
<arg name="use_map_current" value="$(var use_vector_map)"/> | ||
<arg name="input/objects" value="clusters"/> | ||
<arg name="output/objects" value="objects_with_feature"/> | ||
</include> | ||
<!-- CenterPoint --> | ||
<group if="$(eval "'$(var lidar_detection_model)'=='centerpoint'")"> | ||
<push-ros-namespace namespace="centerpoint"/> | ||
<group> | ||
<include file="$(find-pkg-share lidar_centerpoint)/launch/lidar_centerpoint.launch.xml" /> | ||
</group> | ||
</group> | ||
|
||
<!-- convert DynamicObjectsWithFeatureArray to DynamicObjects --> | ||
<include file="$(find-pkg-share detected_object_feature_remover)/launch/detected_object_feature_remover.launch.xml"> | ||
<arg name="input" value="objects_with_feature" /> | ||
<arg name="output" value="objects" /> | ||
</include> | ||
<!-- Lidar Apollo Instance Segmentation --> | ||
<group if="$(eval "'$(var lidar_detection_model)'=='apollo'")"> | ||
<push-ros-namespace namespace="apollo"/> | ||
<group> | ||
<include file="$(find-pkg-share lidar_apollo_instance_segmentation)/launch/lidar_apollo_instance_segmentation.launch.xml" /> | ||
<include file="$(find-pkg-share shape_estimation)/launch/shape_estimation.launch.xml"> | ||
<arg name="output/objects" value="objects_with_feature"/> | ||
<arg name="use_vehicle_reference_yaw" value="true"/> | ||
</include> | ||
<!-- convert DynamicObjectsWithFeatureArray to DynamicObjects --> | ||
<include file="$(find-pkg-share detected_object_feature_remover)/launch/detected_object_feature_remover.launch.xml"> | ||
<arg name="input" value="objects_with_feature" /> | ||
<arg name="output" value="objects" /> | ||
</include> | ||
</group> | ||
</group> | ||
|
||
<!-- Merger --> | ||
<group> | ||
<include file="$(find-pkg-share object_merger)/launch/object_association_merger.launch.xml"> | ||
<arg name="input/object0" value="$(var lidar_detection_model)/objects"/> | ||
<arg name="input/object1" value="detection_by_tracker/objects"/> | ||
<arg name="output/object" value="objects"/> | ||
</include> | ||
</group> | ||
</launch> |