forked from autowarefoundation/autoware.universe
-
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.
feat(tier4_perception_launch): add radar launcher (autowarefoundation…
…#1263) * feat(tier4_perception_launch): add radar launcher Signed-off-by: scepter914 <scepter914@gmail.com> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: scepter914 <scepter914@gmail.com>
- Loading branch information
1 parent
e228bda
commit 3fb63db
Showing
8 changed files
with
187 additions
and
17 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
68 changes: 68 additions & 0 deletions
68
.../launch/object_recognition/detection/camera_lidar_radar_fusion_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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<!-- lidar param --> | ||
<arg name="input/pointcloud"/> | ||
<arg name="lidar_detection_model" default="centerpoint" description="options: `centerpoint`, `apollo`"/> | ||
<arg name="use_pointcloud_map" default="true" description="use pointcloud map in detection"/> | ||
|
||
<!-- camera param --> | ||
<arg name="image_raw0" default="/image_raw" description="image raw topic name"/> | ||
<arg name="camera_info0" default="/camera_info" description="camera info topic name"/> | ||
<arg name="image_raw1" default="/image_raw1"/> | ||
<arg name="camera_info1" default="/camera_info1"/> | ||
<arg name="image_raw2" default="/image_raw2"/> | ||
<arg name="camera_info2" default="/camera_info2"/> | ||
<arg name="image_raw3" default="/image_raw3"/> | ||
<arg name="camera_info3" default="/camera_info3"/> | ||
<arg name="image_raw4" default="/image_raw4"/> | ||
<arg name="camera_info4" default="/camera_info4"/> | ||
<arg name="image_raw5" default="/image_raw5"/> | ||
<arg name="camera_info5" default="/camera_info5"/> | ||
<arg name="image_raw6" default="/image_raw6"/> | ||
<arg name="camera_info6" default="/camera_info6"/> | ||
<arg name="image_raw7" default="/image_raw7"/> | ||
<arg name="camera_info7" default="/camera_info7"/> | ||
<arg name="image_number" default="1" description="choose image raw number(0-7)"/> | ||
|
||
<!-- camera lidar fusion based detection--> | ||
<group> | ||
<include file="$(find-pkg-share tier4_perception_launch)/launch/object_recognition/detection/camera_lidar_fusion_based_detection.launch.xml"> | ||
<arg name="input/pointcloud" value="$(var input/pointcloud)"/> | ||
<arg name="output/objects" value="camera_lidar_fusion/objects"/> | ||
<arg name="image_raw0" value="$(var image_raw0)"/> | ||
<arg name="camera_info0" value="$(var camera_info0)"/> | ||
<arg name="image_raw1" value="$(var image_raw1)"/> | ||
<arg name="camera_info1" value="$(var camera_info1)"/> | ||
<arg name="image_raw2" value="$(var image_raw2)"/> | ||
<arg name="camera_info2" value="$(var camera_info2)"/> | ||
<arg name="image_raw3" value="$(var image_raw3)"/> | ||
<arg name="camera_info3" value="$(var camera_info3)"/> | ||
<arg name="image_raw4" value="$(var image_raw4)"/> | ||
<arg name="camera_info4" value="$(var camera_info4)"/> | ||
<arg name="image_raw5" value="$(var image_raw5)"/> | ||
<arg name="camera_info5" value="$(var camera_info5)"/> | ||
<arg name="image_raw6" value="$(var image_raw6)"/> | ||
<arg name="camera_info6" value="$(var camera_info6)"/> | ||
<arg name="image_raw7" value="$(var image_raw7)"/> | ||
<arg name="camera_info7" value="$(var camera_info7)"/> | ||
<arg name="image_number" value="$(var image_number)"/> | ||
<arg name="lidar_detection_model" value="$(var lidar_detection_model)"/> | ||
<arg name="use_pointcloud_map" value="$(var use_pointcloud_map)"/> | ||
</include> | ||
</group> | ||
|
||
<!-- radar detection--> | ||
<group> | ||
<push-ros-namespace namespace="radar"/> | ||
<include file="$(find-pkg-share tier4_perception_launch)/launch/object_recognition/detection/radar_based_detection.launch.xml"> | ||
<arg name="output/objects" value="front_center/objects"/> | ||
</include> | ||
</group> | ||
|
||
<!-- camera lidar radar fusion--> | ||
<include file="$(find-pkg-share radar_fusion_to_detected_object)/launch/radar_object_fusion_to_detected_object.launch.xml"> | ||
<arg name="input/objects" value="camera_lidar_fusion/objects"/> | ||
<arg name="input/radars" value="radar/objects"/> | ||
<arg name="output/objects" value="objects"/> | ||
</include> | ||
</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
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
32 changes: 32 additions & 0 deletions
32
...ception_launch/launch/object_recognition/detection/lidar_radar_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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<!-- lidar param --> | ||
<arg name="input/pointcloud"/> | ||
<arg name="lidar_detection_model" default="centerpoint" description="options: `centerpoint`, `apollo`"/> | ||
<arg name="use_pointcloud_map" default="true" description="use pointcloud map in detection"/> | ||
|
||
<!-- lidar based detection--> | ||
<group> | ||
<include file="$(find-pkg-share tier4_perception_launch)/launch/object_recognition/detection/lidar_based_detection.launch.xml"> | ||
<arg name="input/pointcloud" value="$(var input/pointcloud)"/> | ||
<arg name="output/objects" value="lidar/objects"/> | ||
<arg name="lidar_detection_model" value="$(var lidar_detection_model)"/> | ||
<arg name="use_pointcloud_map" value="$(var use_pointcloud_map)"/> | ||
</include> | ||
</group> | ||
|
||
<!-- radar detection--> | ||
<group> | ||
<push-ros-namespace namespace="radar"/> | ||
<include file="$(find-pkg-share tier4_perception_launch)/launch/object_recognition/detection/radar_based_detection.launch.xml"> | ||
<arg name="output/objects" value="objects"/> | ||
</include> | ||
</group> | ||
|
||
<!-- lidar radar fusion--> | ||
<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/objects"/> | ||
<arg name="output/objects" value="objects"/> | ||
</include> | ||
</launch> |
12 changes: 12 additions & 0 deletions
12
...r4_perception_launch/launch/object_recognition/detection/radar_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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="output/objects" default="objects"/> | ||
|
||
<include file="$(find-pkg-share radar_tracks_msgs_converter)/launch/radar_tracks_msgs_converter.launch.xml"> | ||
<arg name="input/radar_objects" value="/sensing/radar/front_center/objects_raw"/> | ||
<arg name="input/odometry" value="/localization/kinematic_state"/> | ||
<arg name="output/radar_objects" value="$(var output/objects)"/> | ||
<arg name="update_rate_hz" value="20.0"/> | ||
<arg name="use_twist_compensation" value="true"/> | ||
</include> | ||
</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
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