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): rework param #6289

Conversation

badai-nguyen
Copy link
Contributor

Description

Related Link

TIER IV INTERNAL LINK

Tests performed

  • Confirmed each Nodes executable after moving params

Not applicable.

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.

@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Feb 1, 2024
@badai-nguyen badai-nguyen marked this pull request as ready for review February 2, 2024 03:40
@badai-nguyen badai-nguyen removed the request for review from yukke42 February 20, 2024 09:34
@Shin-kyoto Shin-kyoto self-requested a review February 20, 2024 09:49
Copy link
Contributor

@Shin-kyoto Shin-kyoto left a comment

Choose a reason for hiding this comment

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

@badai-nguyen

Please add these params to https://github.com/autowarefoundation/autoware.universe/blob/main/perception/image_projection_based_fusion/config/pointpainting.param.yaml, too

    # fusion interface common params
    debug_mode: false
    image_buffer_size: 15
    filter_scope_min_x: -100.0
    filter_scope_min_y: -100.0
    filter_scope_min_z: -100.0
    filter_scope_max_x: 100.0
    filter_scope_max_y: 100.0
    filter_scope_max_z: 100.0

That is because pointpainting uses roi_sync_param in

<arg name="sync_param_path" default="$(find-pkg-share image_projection_based_fusion)/config/roi_sync.param.yaml"/>

I checked this PR with evaluator, and I got the error below.

[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'pointpainting' of type 'image_projection_based_fusion::PointPaintingFusionNode' in container 'pointcloud_container': Component constructor threw an exception: Statically typed parameter 'filter_scope_min_x' must be initialized.

And please run the evaluator on the condition that "perception_mode" is "camera_lidar_fusion" and "lidar_detection_model" is "pointpainting", and paste the link to the result of evaluator.
This example will be helpful for you.

@kminoda
Copy link
Contributor

kminoda commented Feb 22, 2024

@badai-nguyen In addition to above, please make sure to update the parameter file in Evaluator: https://evaluation.tier4.jp/evaluation/mlpackages/5b56c824-de65-406e-b12f-d7271589cc70?project_id=zWhWRzei , communicate with System Integration team to make sure that the ML model to be deployed accordingly.

@miursh miursh self-assigned this Feb 22, 2024
@miursh miursh added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 22, 2024
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.08%. Comparing base (9dcf81e) to head (496d409).
Report is 8 commits behind head on main.

Current head 496d409 differs from pull request most recent head 928a216

Please upload reports for the commit 928a216 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6289      +/-   ##
==========================================
- Coverage   15.60%   15.08%   -0.53%     
==========================================
  Files        1983     1826     -157     
  Lines      137675   126409   -11266     
  Branches    44571    38188    -6383     
==========================================
- Hits        21490    19073    -2417     
+ Misses      92747    85943    -6804     
+ Partials    23438    21393    -2045     
Flag Coverage Δ *Carryforward flag
differential 0.00% <ø> (?)
total 15.11% <ø> (-0.50%) ⬇️ Carriedforward from d73d0f6

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@badai-nguyen
Copy link
Contributor Author

Since the policy of pointpainting/centerpoint param management is under reviewing so I will change to draft this PR and update and re-open it after the new policy is reflected.
cc @Shin-kyoto

@badai-nguyen badai-nguyen marked this pull request as draft February 26, 2024 05:13
Copy link

stale bot commented Apr 26, 2024

This pull request has been automatically marked as stale because it has not had recent activity.

@stale stale bot added the status:stale Inactive or outdated issues. (auto-assigned) label Apr 26, 2024
@badai-nguyen badai-nguyen force-pushed the refactor/image_projection_based_fusion branch from 496d409 to 8ec2aac Compare May 30, 2024 08:52
@badai-nguyen badai-nguyen marked this pull request as ready for review May 30, 2024 09:02
@stale stale bot removed the status:stale Inactive or outdated issues. (auto-assigned) label May 30, 2024
Copy link
Contributor

@Shin-kyoto Shin-kyoto left a comment

Choose a reason for hiding this comment

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

LGTM
I did NOT run autoware with this PR. I checked the code only. Please check this PR runs correctly.

@miursh
Copy link
Contributor

miursh commented May 30, 2024

@badai-nguyen
Don't we also need to change the schema file at https://github.com/autowarefoundation/autoware.universe/blob/main/perception/image_projection_based_fusion/schema/roi_sync.schema.json ?

Signed-off-by: badai-nguyen <[email protected]>
@badai-nguyen
Copy link
Contributor Author

@miursh
Copy link
Contributor

miursh commented May 30, 2024

@badai-nguyen
How about this line ?

Signed-off-by: badai-nguyen <[email protected]>
@badai-nguyen
Copy link
Contributor Author

@badai-nguyen How about this line ?

@miursh I'm sorry, I missed that one. I fixed at 928a216

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.

Thanks!

@badai-nguyen badai-nguyen merged commit 8335096 into autowarefoundation:main May 31, 2024
22 checks passed
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
a-maumau pushed a commit to a-maumau/autoware.universe that referenced this pull request Jun 7, 2024
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) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants