forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdummy_perception_publisher.launch.xml
53 lines (51 loc) · 3.12 KB
/
dummy_perception_publisher.launch.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?>
<launch>
<!-- dummy detection and sensor data -->
<arg name="visible_range" default="300.0"/>
<arg name="real" default="true"/>
<arg name="use_object_recognition" default="true"/>
<arg name="use_base_link_z" default="true"/>
<group>
<push-ros-namespace namespace="simulation"/>
<group if="$(var real)">
<node pkg="autoware_dummy_perception_publisher" exec="autoware_dummy_perception_publisher_node" name="dummy_perception_publisher" output="screen">
<remap from="output/dynamic_object" to="/perception/object_recognition/detection/labeled_clusters"/>
<remap from="output/objects_pose" to="debug/object_pose"/>
<remap from="output/points_raw" to="/perception/obstacle_segmentation/pointcloud"/>
<remap from="input/object" to="dummy_perception_publisher/object_info"/>
<remap from="input/reset" to="input/reset"/>
<param name="visible_range" value="$(var visible_range)"/>
<param name="detection_successful_rate" value="0.999"/>
<param name="enable_ray_tracing" value="false"/>
<param name="use_object_recognition" value="$(var use_object_recognition)"/>
<param name="object_centric_pointcloud" value="false"/>
<param name="use_base_link_z" value="$(var use_base_link_z)"/>
<param name="publish_ground_truth" value="true"/>
<remap from="output/debug/ground_truth_objects" to="debug/ground_truth_objects"/>
</node>
<include file="$(find-pkg-share autoware_shape_estimation)/launch/shape_estimation.launch.xml">
<arg name="input/objects" value="/perception/object_recognition/detection/labeled_clusters"/>
<arg name="output/objects" value="/perception/object_recognition/detection/objects_with_feature"/>
</include>
</group>
<group unless="$(var real)">
<node pkg="autoware_dummy_perception_publisher" exec="autoware_dummy_perception_publisher_node" name="dummy_perception_publisher" output="screen">
<remap from="output/dynamic_object" to="/perception/object_recognition/detection/objects_with_feature"/>
<remap from="output/objects_pose" to="debug/object_pose"/>
<remap from="output/points_raw" to="/perception/obstacle_segmentation/pointcloud"/>
<remap from="input/object" to="dummy_perception_publisher/object_info"/>
<remap from="input/reset" to="input/reset"/>
<param name="visible_range" value="$(var visible_range)"/>
<param name="detection_successful_rate" value="1.0"/>
<param name="enable_ray_tracing" value="false"/>
<param name="use_object_recognition" value="$(var use_object_recognition)"/>
<param name="use_base_link_z" value="$(var use_base_link_z)"/>
</node>
</group>
<!-- convert DynamicObjectsWithFeatureArray to DynamicObjects -->
<include file="$(find-pkg-share autoware_detected_object_feature_remover)/launch/detected_object_feature_remover.launch.xml">
<arg name="input" value="/perception/object_recognition/detection/objects_with_feature"/>
<arg name="output" value="/perception/object_recognition/detection/objects"/>
</include>
</group>
</launch>