Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tier4_perception_launch): fix camera_lidar_radar_fusion_based_detection #3950

Merged
merged 3 commits into from
Jun 14, 2023

Conversation

0x126
Copy link
Contributor

@0x126 0x126 commented Jun 12, 2023

Description

Correcting a few errors of the topic remapping in the camera_lidar_radar_fusion mode.

Tests performed

  • Launched logging_simulator and checked the information of the related nodes.
$ ros2 launch autoware_launch logging_simulator.launch.xml vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit perception_mode:=camera_lidar_radar_fusion map_path:=... 
$ ros2 node info /perception/object_recognition/detection/radar/radar_tracks_msgs_converter
/perception/object_recognition/detection/radar/radar_tracks_msgs_converter
  Subscribers:
    /clock: rosgraph_msgs/msg/Clock
    /localization/kinematic_state: nav_msgs/msg/Odometry
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /sensing/radar/front_center/objects_raw: radar_msgs/msg/RadarTracks
  Publishers:
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /perception/object_recognition/detection/radar/objects: autoware_auto_perception_msgs/msg/DetectedObjects
    /perception/object_recognition/detection/radar/output/radar_tracked_objects: autoware_auto_perception_msgs/msg/TrackedObjects
    /rosout: rcl_interfaces/msg/Log
...
$ ros2 node info /perception/object_recognition/detection/radar_object_fusion_to_detected_object
/perception/object_recognition/detection/radar_object_fusion_to_detected_object
  Subscribers:
    /clock: rosgraph_msgs/msg/Clock
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /perception/object_recognition/detection/camera_lidar_fusion/objects: autoware_auto_perception_msgs/msg/DetectedObjects
    /perception/object_recognition/detection/radar/objects: autoware_auto_perception_msgs/msg/DetectedObjects
  Publishers:
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /perception/object_recognition/detection/objects: autoware_auto_perception_msgs/msg/DetectedObjects
    /perception/object_recognition/detection/radar_object_fusion_to_detected_object/debug/low_confidence_objects: autoware_auto_perception_msgs/msg/DetectedObjects
    /rosout: rcl_interfaces/msg/Log
...

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: Shinnosuke Hirakawa <shinnosuke.hirakawa@tier4.jp>
@github-actions github-actions bot added the component:launch Launch files, scripts and initialization tools. (auto-assigned) label Jun 12, 2023
@0x126
Copy link
Contributor Author

0x126 commented Jun 12, 2023

Confirmed in other modes.

lidar_radar_fusion mode

$ ros2 launch autoware_launch logging_simulator.launch.xml vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit perception_mode:=lidar_radar_fusion map_path:=...

$ ros2 node info /perception/object_recognition/detection/radar/radar_tracks_msgs_converter
/perception/object_recognition/detection/radar/radar_tracks_msgs_converter
  Subscribers:
    /clock: rosgraph_msgs/msg/Clock
    /localization/kinematic_state: nav_msgs/msg/Odometry
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /sensing/radar/front_center/objects_raw: radar_msgs/msg/RadarTracks
  Publishers:
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /perception/object_recognition/detection/radar/objects: autoware_auto_perception_msgs/msg/DetectedObjects
    /perception/object_recognition/detection/radar/output/radar_tracked_objects: autoware_auto_perception_msgs/msg/TrackedObjects
    /rosout: rcl_interfaces/msg/Log
...

$ ros2 node info /perception/object_recognition/detection/radar_object_fusion_to_detected_object
/perception/object_recognition/detection/radar_object_fusion_to_detected_object
  Subscribers:
    /clock: rosgraph_msgs/msg/Clock
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /perception/object_recognition/detection/lidar/objects: autoware_auto_perception_msgs/msg/DetectedObjects
    /perception/object_recognition/detection/radar/objects: autoware_auto_perception_msgs/msg/DetectedObjects
  Publishers:
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /perception/object_recognition/detection/objects: autoware_auto_perception_msgs/msg/DetectedObjects
    /perception/object_recognition/detection/radar_object_fusion_to_detected_object/debug/low_confidence_objects: autoware_auto_perception_msgs/msg/DetectedObjects
    /rosout: rcl_interfaces/msg/Log
...

@0x126
Copy link
Contributor Author

0x126 commented Jun 12, 2023

radar mode

$ ros2 launch autoware_launch logging_simulator.launch.xml vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit perception_mode:=radar map_path:=...

$ ros2 node info /perception/object_recognition/detection/radar_tracks_msgs_converter
/perception/object_recognition/detection/radar_tracks_msgs_converter
  Subscribers:
    /clock: rosgraph_msgs/msg/Clock
    /localization/kinematic_state: nav_msgs/msg/Odometry
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /sensing/radar/front_center/objects_raw: radar_msgs/msg/RadarTracks
  Publishers:
    /parameter_events: rcl_interfaces/msg/ParameterEvent
    /perception/object_recognition/detection/objects: autoware_auto_perception_msgs/msg/DetectedObjects
    /perception/object_recognition/detection/output/radar_tracked_objects: autoware_auto_perception_msgs/msg/TrackedObjects
    /rosout: rcl_interfaces/msg/Log
...

@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Patch coverage has no change and project coverage change: +1.03 🎉

Comparison is base (57c958f) 14.41% compared to head (d1ed49a) 15.45%.

❗ Current head d1ed49a differs from pull request most recent head 34a24c1. Consider uploading reports for the commit 34a24c1 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3950      +/-   ##
==========================================
+ Coverage   14.41%   15.45%   +1.03%     
==========================================
  Files        1456     1350     -106     
  Lines      102660    95894    -6766     
  Branches    29728    29631      -97     
==========================================
+ Hits        14795    14817      +22     
+ Misses      71705    64925    -6780     
+ Partials    16160    16152       -8     
Flag Coverage Δ *Carryforward flag
differential ∅ <ø> (?)
total 15.45% <ø> (+1.03%) ⬆️ Carriedforward from 3f0e18d

*This pull request uses carry forward flags. Click here to find out more.

see 125 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@0x126 0x126 marked this pull request as ready for review June 13, 2023 00:12
@0x126 0x126 requested review from miursh, YoshiRi, yukkysaito and a team as code owners June 13, 2023 00:12
@yukkysaito yukkysaito requested a review from scepter914 June 13, 2023 03:18
Copy link
Contributor

@miursh miursh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@scepter914 scepter914 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@0x126 0x126 enabled auto-merge (squash) June 14, 2023 06:46
@0x126 0x126 merged commit 67b8cf3 into main Jun 14, 2023
@0x126 0x126 deleted the fix/radar_launch branch June 14, 2023 10:26
badai-nguyen pushed a commit to badai-nguyen/autoware.universe that referenced this pull request Jun 29, 2023
…ection (autowarefoundation#3950)

* fix: launch arguments

Signed-off-by: Shinnosuke Hirakawa <shinnosuke.hirakawa@tier4.jp>

* chore: revert arg

---------

Signed-off-by: Shinnosuke Hirakawa <shinnosuke.hirakawa@tier4.jp>
badai-nguyen pushed a commit to badai-nguyen/autoware.universe that referenced this pull request Jul 7, 2023
…ection (autowarefoundation#3950)

* fix: launch arguments

Signed-off-by: Shinnosuke Hirakawa <shinnosuke.hirakawa@tier4.jp>

* chore: revert arg

---------

Signed-off-by: Shinnosuke Hirakawa <shinnosuke.hirakawa@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:launch Launch files, scripts and initialization tools. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants