Skip to content

Commit

Permalink
fix: input pointcloud topic names, mot input channels
Browse files Browse the repository at this point in the history
  • Loading branch information
technolojin committed May 31, 2024
1 parent 1534004 commit c685684
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<let name="without_dbt_and_filter" value="$(eval &quot;'$(var use_detection_by_tracker)'=='false' and '$(var use_object_filter)'=='false' &quot;)"/>

<!-- external interfaces -->
<arg name="input/pointcloud_map/pointcloud" default="/perception/object_recognition/detection/pointcloud_map_filtered/pointcloud"/>
<arg name="input/obstacle_segmentation/pointcloud" default="/perception/obstacle_segmentation/pointcloud"/>
<arg name="input/lidar_ml/objects" default="$(var lidar_detection_model)/objects"/>
<arg name="input/lidar_rule/objects" default="clustering/camera_lidar_fusion/objects"/>
<arg name="input/detection_by_tracker/objects" default="detection_by_tracker/objects"/>
Expand All @@ -27,7 +29,7 @@
<let name="camera_roi_fusion/output/objects" value="$(var lidar_detection_model)/roi_fusion/objects"/>

<let name="validator/input/objects" value="$(var camera_roi_fusion/output/objects)"/>
<let name="validator/input/obstacle_pointcloud" value="/perception/object_recognition/detection/pointcloud_map_filtered/pointcloud" if="$(var use_pointcloud_map)"/>
<let name="validator/input/obstacle_pointcloud" value="$(var input/pointcloud_map/pointcloud)" if="$(var use_pointcloud_map)"/>
<let name="validator/input/obstacle_pointcloud" value="$(var input/obstacle_segmentation/pointcloud)" unless="$(var use_pointcloud_map)"/>
<let name="validator/output/objects" value="$(var lidar_detection_model)/validation/objects"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<let name="without_dbt_and_filter" value="$(eval &quot;'$(var use_detection_by_tracker)'=='false' and '$(var use_object_filter)'=='false' &quot;)"/>

<!-- external interfaces -->
<arg name="input/pointcloud_map/pointcloud" default="/perception/object_recognition/detection/pointcloud_map_filtered/pointcloud"/>
<arg name="input/obstacle_segmentation/pointcloud" default="/perception/obstacle_segmentation/pointcloud"/>
<arg name="input/lidar_ml/objects" default="$(var lidar_detection_model)/objects"/>
<arg name="input/lidar_rule/objects" default="clustering/camera_lidar_fusion/objects"/>
<arg name="input/radar_near/objects" default="radar/noise_filtered_objects"/>
Expand All @@ -38,7 +40,7 @@
<let name="camera_roi_fusion/output/objects" value="$(var lidar_detection_model)/roi_fusion/objects"/>

<let name="validator/input/objects" value="$(var camera_roi_fusion/output/objects)"/>
<let name="validator/input/obstacle_pointcloud" value="/perception/object_recognition/detection/pointcloud_map_filtered/pointcloud" if="$(var use_pointcloud_map)"/>
<let name="validator/input/obstacle_pointcloud" value="$(var input/pointcloud_map/pointcloud)" if="$(var use_pointcloud_map)"/>
<let name="validator/input/obstacle_pointcloud" value="$(var input/obstacle_segmentation/pointcloud)" unless="$(var use_pointcloud_map)"/>
<let name="validator/output/objects" value="$(var lidar_detection_model)/validation/objects"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@
<let name="without_dbt_and_filter" value="$(eval &quot;'$(var use_detection_by_tracker)'=='false' and '$(var use_object_filter)'=='false' &quot;)"/>

<!-- external interfaces -->
<arg name="input/pointcloud_map/pointcloud" default="/perception/object_recognition/detection/pointcloud_map_filtered/pointcloud"/>
<arg name="input/obstacle_segmentation/pointcloud" default="/perception/obstacle_segmentation/pointcloud"/>
<arg name="input/lidar_ml/objects" default="$(var lidar_detection_model)/objects"/>
<arg name="input/lidar_rule/objects" default="clustering/objects"/>
<arg name="input/detection_by_tracker/objects" default="detection_by_tracker/objects"/>
<arg name="output/objects" default="objects"/>

<!-- internal interfaces -->
<let name="validator/input/objects" value="$(var input/lidar_ml/objects)"/>
<let name="validator/input/obstacle_pointcloud" value="/perception/object_recognition/detection/pointcloud_map_filtered/pointcloud" if="$(var use_pointcloud_map)"/>
<let name="validator/input/obstacle_pointcloud" value="$(var input/pointcloud_map/pointcloud)" if="$(var use_pointcloud_map)"/>
<let name="validator/input/obstacle_pointcloud" value="$(var input/obstacle_segmentation/pointcloud)" unless="$(var use_pointcloud_map)"/>
<let name="validator/output/objects" value="$(var lidar_detection_model)/validation/objects"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
<arg name="use_radar_tracking_fusion" default="false" description="use radar tracking fusion"/>

<!-- External interface -->
<arg name="input/detection_input_channels" default="['detected_objects']"/>
<!-- detection_input_channels: Input channels for multi object tracker, reference: multi_object_tracker/config/input_channels.param.yaml -->
<arg name="input/radar/objects" default="/perception/object_recognition/detection/radar/far_objects"/>
<arg name="output/objects" default="/perception/object_recognition/tracking/objects"/>

<!-- Internal interface -->
<let name="radar_tracker/input/objects" value="$(var input/radar/objects)"/>
<let name="radar_tracker/output/objects" value="/perception/object_recognition/tracking/radar/far_objects"/>

<let name="multi_object_tracker/input/selected_input_channels" value="['detected_objects']"/>
<let name="multi_object_tracker/input/selected_input_channels" value="$(var input/detection_input_channels)"/>
<let name="multi_object_tracker/output/objects" value="$(var output/objects)" unless="$(var use_radar_tracking_fusion)"/>
<let name="multi_object_tracker/output/objects" value="/perception/object_recognition/tracking/near_objects" if="$(var use_radar_tracking_fusion)"/>

Expand Down

0 comments on commit c685684

Please sign in to comment.