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(detection_by_tracker): rework parameters #4989

Conversation

yuntianyi-chen
Copy link
Contributor

@yuntianyi-chen yuntianyi-chen commented Sep 14, 2023

Description

Refactor the ROS Node configuration layout for the detection_by_tracker package according to the guideline.

  • Create the schema and parameter files.
  • Remove the default values from the source code to avoid duplication.
  • Update the README.md file as to how to launch the node.

Related links

None

Tests performed

The refactored node was successfully built and tested by launching this node individually.

Notes for reviewers

There is no description of the parameters in the README.md. So I inferred it to my understanding.

Interface changes

  • Create a configuration file perception/detection_by_tracker/config/detection_by_tracker_node.param.yaml.
  • Parameter values are now required to be passed to the node when launched.

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.

…e according to the new ROS node config guideline.

update the parameter information in the README.md

Signed-off-by: yuntianyi-chen <[email protected]>
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) labels Sep 14, 2023
Copy link
Contributor

@yukkysaito yukkysaito left a comment

Choose a reason for hiding this comment

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

Please wait a moment so that we can reach an agreement with the architect on this policy.
cc @mitsudome-r @xmfcx

Signed-off-by: yuntianyi-chen <[email protected]>
Copy link

stale bot commented Nov 21, 2023

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 Nov 21, 2023
@YoshiRi
Copy link
Contributor

YoshiRi commented Nov 24, 2023

There is related update: #5473.

@stale stale bot removed the status:stale Inactive or outdated issues. (auto-assigned) label Nov 24, 2023
@mitsudome-r
Copy link
Member

@yukkysaito
Yes, we have agreed to move on with JSON schema in Open AD Kit WG.

Copy link
Contributor

@yukkysaito yukkysaito left a comment

Choose a reason for hiding this comment

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

LGTM

@satoshi-ota
Copy link
Contributor

@yuntianyi-chen Could you resolve conflicts?

Merge branch 'main' of https://github.com/autowarefoundation/autoware.universe into refactor-ros-config-detection_by_tracker

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

@yuntianyi-chen Could you resolve conflicts?

Resolved!

@satoshi-ota
Copy link
Contributor

@yuntianyi-chen Can you fix json-schema error?
image

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

@yuntianyi-chen Can you fix json-schema error? image

I've updated the config param file to try to solve it.

@satoshi-ota satoshi-ota added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 29, 2023
@kminoda kminoda enabled auto-merge (squash) November 29, 2023 23:26
Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (765a596) 15.32% compared to head (c886404) 0.00%.
Report is 97 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #4989       +/-   ##
==========================================
- Coverage   15.32%   0.00%   -15.33%     
==========================================
  Files        1721       4     -1717     
  Lines      118559     237   -118322     
  Branches    37995       0    -37995     
==========================================
- Hits        18169       0    -18169     
+ Misses      79657     237    -79420     
+ Partials    20733       0    -20733     
Flag Coverage Δ
differential 0.00% <ø> (?)
total ?

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

@kminoda kminoda merged commit 9444f0c into autowarefoundation:main Nov 29, 2023
danielsanchezaran pushed a commit to tier4/autoware.universe that referenced this pull request Dec 15, 2023
…#4989)

* refactor the configuration files of the node detection_by_tracker_node according to the new ROS node config guideline.

update the parameter information in the README.md

Signed-off-by: yuntianyi-chen <[email protected]>

* style(pre-commit): autofix

* revert copyright info

Signed-off-by: yuntianyi-chen <[email protected]>

* style(pre-commit): autofix

* update config file

Signed-off-by: yuntianyi-chen <[email protected]>

---------

Signed-off-by: yuntianyi-chen <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Satoshi OTA <[email protected]>
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) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants