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(behavior_velocity_planner): rework parameters #5263

Conversation

yuntianyi-chen
Copy link
Contributor

@yuntianyi-chen yuntianyi-chen commented Oct 11, 2023

Description

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

  • Create the schema file.
  • Refactor the parameter file.
  • Remove the default values from the source code to avoid duplication.

Related links

None

Tests performed

Output an error when launching this node individually since this launch file is dependent on other nodes.

Notes for reviewers

None

Interface changes

  • Create one configuration file planning/behavior_velocity_planner/schema/behavior_velocity_planner.schema.json
  • 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.

@satoshi-ota
Copy link
Contributor

@yuntianyi-chen Thanks for your contribution. Unfortunatelly, it seems that this PR has conflicts. Could you fix it at first? After that I'll review this asap.

yuntianyi-chen and others added 5 commits November 22, 2023 19:02
Signed-off-by: yuntianyi-chen <[email protected]>
Signed-off-by: yuntianyi-chen <[email protected]>
…b.com:yuntianyi-chen/autoware.universe into refactor-ros-config-behavior_velocity_planner
@yuntianyi-chen
Copy link
Contributor Author

@yuntianyi-chen Thanks for your contribution. Unfortunatelly, it seems that this PR has conflicts. Could you fix it at first? After that I'll review this asap.

I've resolved the conflicts. Please review them!

@satoshi-ota satoshi-ota added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 23, 2023
Copy link
Contributor

@satoshi-ota satoshi-ota 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 satoshi-ota enabled auto-merge (squash) November 23, 2023 23:35
Copy link

codecov bot commented Nov 24, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (765a596) 15.32% compared to head (fbe364f) 27.91%.
Report is 47 commits behind head on main.

Files Patch % Lines
planning/behavior_velocity_planner/src/node.cpp 0.00% 0 Missing and 5 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5263       +/-   ##
===========================================
+ Coverage   15.32%   27.91%   +12.58%     
===========================================
  Files        1721        3     -1718     
  Lines      118559      326   -118233     
  Branches    37995      185    -37810     
===========================================
- Hits        18169       91    -18078     
+ Misses      79657       83    -79574     
+ Partials    20733      152    -20581     
Flag Coverage Δ
differential 27.91% <0.00%> (?)
total ?

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

@satoshi-ota satoshi-ota merged commit 852f9ca into autowarefoundation:main Nov 24, 2023
30 of 33 checks passed
danielsanchezaran pushed a commit to tier4/autoware.universe that referenced this pull request Dec 15, 2023
…ation#5263)

* refactor node behavior_velocity_planner

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

* delete some statements in launch file

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

* Modify the launch file

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

* style(pre-commit): autofix

* update launch file

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

* style(pre-commit): autofix

---------

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:planning Route planning, decision-making, and navigation. (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.

3 participants