-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(tier4_perception_launch): perception launcher refactoring (#7194)
* fix: reorder object merger launchers Signed-off-by: Taekjin LEE <[email protected]> * fix: separate detection by tracker launch Signed-off-by: Taekjin LEE <[email protected]> * fix: refactor tracking launch Signed-off-by: Taekjin LEE <[email protected]> * style(pre-commit): autofix Signed-off-by: Taekjin LEE <[email protected]> * fix: input pointcloud topic names, mot input channels Signed-off-by: Taekjin LEE <[email protected]> * feat: separate filters Signed-off-by: Taekjin LEE <[email protected]> * fix: object validator to modular Signed-off-by: Taekjin LEE <[email protected]> * fix: implement filters on mergers Signed-off-by: Taekjin LEE <[email protected]> * fix lidar only mode chore: simplify mode check Signed-off-by: Taekjin LEE <[email protected]> * fix: fix a bug when use_radar_tracking_fusion is fault Signed-off-by: Taekjin LEE <[email protected]> * fix: rename radar detector to filter Signed-off-by: Taekjin LEE <[email protected]> --------- Signed-off-by: Taekjin LEE <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
67bfa58
commit 221ce4b
Showing
13 changed files
with
348 additions
and
243 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
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
10 changes: 10 additions & 0 deletions
10
...ion_launch/launch/object_recognition/detection/detector/tracker_based_detector.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,10 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<!-- DetectionByTracker --> | ||
<group> | ||
<push-ros-namespace namespace="detection_by_tracker"/> | ||
<include file="$(find-pkg-share detection_by_tracker)/launch/detection_by_tracker.launch.xml"> | ||
<arg name="detection_by_tracker_param_path" value="$(var object_recognition_detection_detection_by_tracker_param)"/> | ||
</include> | ||
</group> | ||
</launch> |
25 changes: 25 additions & 0 deletions
25
...er4_perception_launch/launch/object_recognition/detection/filter/object_filter.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,25 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<!-- Pipeline junctions --> | ||
<arg name="objects_filter_method" default="lanelet_filter" description="lanelet_filter or position_filter"/> | ||
|
||
<!-- external interfaces --> | ||
<arg name="input/objects" default="clustering/camera_lidar_fusion/objects"/> | ||
<arg name="output/objects" default="clustering/camera_lidar_fusion/filtered/objects"/> | ||
|
||
<!-- Filter --> | ||
<group if="$(eval "'$(var objects_filter_method)'=='lanelet_filter'")"> | ||
<include file="$(find-pkg-share detected_object_validation)/launch/object_lanelet_filter.launch.xml"> | ||
<arg name="input/object" value="$(var input/objects)"/> | ||
<arg name="output/object" value="$(var output/objects)"/> | ||
<arg name="filtering_range_param" value="$(var object_recognition_detection_object_lanelet_filter_param_path)"/> | ||
</include> | ||
</group> | ||
<group if="$(eval "'$(var objects_filter_method)'=='position_filter'")"> | ||
<include file="$(find-pkg-share detected_object_validation)/launch/object_position_filter.launch.xml"> | ||
<arg name="input/object" value="$(var input/objects)"/> | ||
<arg name="output/object" value="$(var output/objects)"/> | ||
<arg name="filtering_range_param" value="$(var object_recognition_detection_object_position_filter_param_path)"/> | ||
</include> | ||
</group> | ||
</launch> |
26 changes: 26 additions & 0 deletions
26
..._perception_launch/launch/object_recognition/detection/filter/object_validator.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,26 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<!-- Pipeline junctions --> | ||
<arg name="objects_validation_method" default="obstacle_pointcloud" description="obstacle_pointcloud or occupancy_grid"/> | ||
|
||
<!-- external interfaces --> | ||
<arg name="input/obstacle_pointcloud" default="pointcloud_map_filtered/pointcloud" description="Only required when 'obstacle_pointcloud'"/> | ||
<arg name="input/objects" default="centerpoint/objects"/> | ||
<arg name="output/objects" default="centerpoint/validation/objects"/> | ||
|
||
<!-- Validator --> | ||
<group if="$(eval "'$(var objects_validation_method)'=='obstacle_pointcloud'")"> | ||
<include file="$(find-pkg-share detected_object_validation)/launch/obstacle_pointcloud_based_validator.launch.xml"> | ||
<arg name="input/detected_objects" value="$(var input/objects)"/> | ||
<arg name="input/obstacle_pointcloud" value="$(var input/obstacle_pointcloud)"/> | ||
<arg name="output/objects" value="$(var output/objects)"/> | ||
<arg name="obstacle_pointcloud_based_validator_param_path" value="$(var object_recognition_detection_obstacle_pointcloud_based_validator_param_path)"/> | ||
</include> | ||
</group> | ||
<group if="$(eval "'$(var objects_validation_method)'=='occupancy_grid'")"> | ||
<include file="$(find-pkg-share detected_object_validation)/launch/occupancy_grid_based_validator.launch.xml"> | ||
<arg name="input/detected_objects" value="$(var input/objects)"/> | ||
<arg name="output/objects" value="$(var output/objects)"/> | ||
</include> | ||
</group> | ||
</launch> |
File renamed without changes.
9 changes: 6 additions & 3 deletions
9
...ection/detector/radar_detector.launch.xml → .../detection/filter/radar_filter.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
Oops, something went wrong.