Skip to content

Commit

Permalink
feat(perception_launch): replace perception_launch with tier4_percept…
Browse files Browse the repository at this point in the history
…ion_launch (autowarefoundation#681)

* feat(perception_launch): replace perception_launch with tier4_perception_launch

Signed-off-by: kminoda <[email protected]>

* fix default perception mode

* Update readme

* remove perception_launch from packages.xml

Signed-off-by: kminoda <[email protected]>
  • Loading branch information
kminoda authored Jan 16, 2023
1 parent 90f7743 commit 719dd85
Show file tree
Hide file tree
Showing 30 changed files with 45 additions and 2,462 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ ros2 launch autoware_launch planning_simulator.launch.xml map_path:=/path/to/map
- [control_launch](./control_launch)
- [integration_launch](./integration_launch)
- [localization_launch](./localization_launch)
- [perception_launch](./perception_launch)
- [planning_launch](./planning_launch)
- [system_launch](./system_launch)
1 change: 1 addition & 0 deletions autoware_launch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ endif()

ament_auto_package(
INSTALL_TO_SHARE
config
launch
rviz
)
5 changes: 3 additions & 2 deletions autoware_launch/launch/autoware.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@

<!-- Perception -->
<group if="$(var launch_perception)">
<include file="$(find-pkg-share perception_launch)/launch/perception.launch.xml">
<arg name="mode" value="$(var perception_mode)" />
<include file="$(find-pkg-share autoware_launch)/launch/components/tier4_perception_component.launch.xml">
<arg name="mode" value="$(var perception_mode)"/>
<arg name="vehicle_param_file" value="$(find-pkg-share $(var vehicle_model)_description)/config/vehicle_info.param.yaml"/>
<arg name="use_pointcloud_container" value="$(var use_pointcloud_container)"/>
<arg name="pointcloud_container_name" value="$(var pointcloud_container_name)"/>
<arg name="enable_fine_detection" value="$(var traffic_light_recognition/enable_fine_detection)"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0"?>
<launch>
<arg name="mode"/>
<arg name="vehicle_param_file"/>
<arg name="use_pointcloud_container"/>
<arg name="pointcloud_container_name"/>
<arg name="enable_fine_detection"/>

<include file="$(find-pkg-share tier4_perception_launch)/launch/perception.launch.xml">
<arg name="mode" value="$(var mode)"/>
<arg name="vehicle_param_file" value="$(var vehicle_param_file)"/>
<arg name="use_pointcloud_container" value="$(var use_pointcloud_container)"/>
<arg name="pointcloud_container_name" value="$(var pointcloud_container_name)"/>
<arg name="enable_fine_detection" value="$(var traffic_light_recognition/enable_fine_detection)"/>

<arg
name="object_recognition_detection_object_lanelet_filter_param_path"
value="$(find-pkg-share autoware_launch)/config/perception/object_recognition/detection/object_lanelet_filter.param.yaml"
/>
<arg
name="object_recognition_detection_object_position_filter_param_path"
value="$(find-pkg-share autoware_launch)/config/perception/object_recognition/detection/object_position_filter.param.yaml"
/>
<arg
name="object_recognition_detection_pointcloud_map_filter_param_path"
value="$(find-pkg-share autoware_launch)/config/perception/object_recognition/detection/pointcloud_map_filter.param.yaml"
/>
<arg
name="object_recognition_tracking_multi_object_tracker_data_association_matrix_param_path"
value="$(find-pkg-share autoware_launch)/config/perception/object_recognition/tracking/multi_object_tracker/data_association_matrix.param.yaml"
/>
<arg
name="obstacle_segmentation_ground_segmentation_param_path"
value="$(find-pkg-share autoware_launch)/config/perception/obstacle_segmentation/ground_segmentation/ground_segmentation.param.yaml"
/>
<arg
name="obstacle_segmentation_ground_segmentation_elevation_map_param_path"
value="$(find-pkg-share autoware_launch)/config/perception/obstacle_segmentation/ground_segmentation/elevation_map_parameters.yaml"
/>
</include>
</launch>
1 change: 0 additions & 1 deletion autoware_launch/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<exec_depend>control_launch</exec_depend>
<exec_depend>global_parameter_loader</exec_depend>
<exec_depend>localization_launch</exec_depend>
<exec_depend>perception_launch</exec_depend>
<exec_depend>planning_launch</exec_depend>
<exec_depend>python3-bson</exec_depend>
<exec_depend>python3-tornado</exec_depend>
Expand Down
16 changes: 0 additions & 16 deletions perception_launch/CMakeLists.txt

This file was deleted.

20 changes: 0 additions & 20 deletions perception_launch/README.md

This file was deleted.

This file was deleted.

Loading

0 comments on commit 719dd85

Please sign in to comment.