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

refactor(image_projection_based_fusion): convert input topic names to ROS parameters #4247

Conversation

ismetatabay
Copy link
Member

@ismetatabay ismetatabay commented Jul 11, 2023

Description

This PR prepares the image_projection_based_fusion node to read input topics from ROS parameters. (This refactoring needed because if we move the all node parameters into a param.yaml file, we cannot read "input_rois_number" in .xml launch file. So, we cannot set remap topics in .xml launch file.)

Related links

#4250

Tests performed

This PR tested on real vehicle and everything works as expected

Notes for reviewers

Interface changes

The fusion node input topic names described as ROS 2 parameter, and it topics migrates from perception.launch.xml and camera_lidar_based_fusion.launch.xml.

Effects on system behavior

None

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

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

@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Jul 11, 2023
@ismetatabay ismetatabay changed the title reaf refactor(image_projection_based_fusion): convert input topic names to ROS parameter Jul 11, 2023
@ismetatabay ismetatabay marked this pull request as draft July 11, 2023 15:34
@ismetatabay ismetatabay force-pushed the refactor/image-projection-based-fusion branch from df9bcb3 to 40dd9c4 Compare July 11, 2023 16:09
@ismetatabay ismetatabay self-assigned this Jul 11, 2023
@ismetatabay ismetatabay force-pushed the refactor/image-projection-based-fusion branch 2 times, most recently from b807011 to e9ed75f Compare July 11, 2023 17:14
@ismetatabay ismetatabay changed the title refactor(image_projection_based_fusion): convert input topic names to ROS parameter refactor(image_projection_based_fusion): convert input topic names to ROS parameters Jul 12, 2023
@ismetatabay ismetatabay marked this pull request as ready for review July 12, 2023 08:19
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

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

Comparison is base (a28bb2a) 15.07% compared to head (5a0cc3a) 15.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4247      +/-   ##
==========================================
+ Coverage   15.07%   15.29%   +0.22%     
==========================================
  Files        1508     1489      -19     
  Lines      103678   101811    -1867     
  Branches    31647    31081     -566     
==========================================
- Hits        15625    15577      -48     
+ Misses      71046    69371    -1675     
+ Partials    17007    16863     -144     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 15.30% <ø> (+0.23%) ⬆️ Carriedforward from ed4f4f2

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

Impacted Files Coverage Δ
...ion/image_projection_based_fusion/src/debugger.cpp 0.00% <0.00%> (ø)
.../image_projection_based_fusion/src/fusion_node.cpp 0.00% <0.00%> (ø)
...ity_intersection_module/src/scene_intersection.cpp 0.00% <ø> (ø)

... and 91 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.

@ismetatabay ismetatabay force-pushed the refactor/image-projection-based-fusion branch from 04de7e2 to 5f13af5 Compare July 12, 2023 08:50
ismetatabay and others added 3 commits July 12, 2023 11:50
Signed-off-by: ismetatabay <ismet@leodrive.ai>
Signed-off-by: ismetatabay <ismet@leodrive.ai>
Signed-off-by: ismetatabay <ismet@leodrive.ai>
@ismetatabay ismetatabay force-pushed the refactor/image-projection-based-fusion branch from 5f13af5 to e2c2e88 Compare July 12, 2023 08:50
@ismetatabay ismetatabay marked this pull request as draft July 17, 2023 15:18
@ismetatabay ismetatabay marked this pull request as ready for review July 17, 2023 15:22
@yukke42
Copy link
Contributor

yukke42 commented Jul 20, 2023

@ismetatabay Cloud you check roi_detected_object_fusion.launch.xml and pointpainting_fusion.launch.xml?

image

@ismetatabay ismetatabay force-pushed the refactor/image-projection-based-fusion branch from 8e3e919 to ed4f4f2 Compare July 20, 2023 07:57
@ismetatabay
Copy link
Member Author

@yukke42 Hi thanks for your review 👍 , I updated roi_detected_object_fusion.launch.xml and pointpainting_fusion.launch.xml.

Copy link
Contributor

@yukke42 yukke42 left a comment

Choose a reason for hiding this comment

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

LGTM

@ismetatabay ismetatabay merged commit fc5ec80 into autowarefoundation:main Jul 20, 2023
@ismetatabay ismetatabay deleted the refactor/image-projection-based-fusion branch July 20, 2023 14:14
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Jul 24, 2023
… ROS parameters (autowarefoundation#4247)

* init commit

Signed-off-by: ismetatabay <ismet@leodrive.ai>

* style(pre-commit): autofix

Signed-off-by: ismetatabay <ismet@leodrive.ai>

* update pointpainting and roi_detected_object_fusion_launch

Signed-off-by: ismetatabay <ismet@leodrive.ai>

* correct argument and param definitions

Signed-off-by: ismetatabay <ismet@leodrive.ai>

---------

Signed-off-by: ismetatabay <ismet@leodrive.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants