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_crosswalk_module): clean up the code of stop line calculation #4284

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented Jul 14, 2023

Description

  • refactor the main function of modifyPathVelocity so that the calculation procedure can be easily understood.

Tests performed

Effects on system behavior

Nothing

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:planning Route planning, decision-making, and navigation. (auto-assigned) label Jul 14, 2023
@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

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

Comparison is base (77a7616) 14.18% compared to head (faf6ed6) 15.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4284      +/-   ##
==========================================
+ Coverage   14.18%   15.19%   +1.00%     
==========================================
  Files        1599     1491     -108     
  Lines      110058   102793    -7265     
  Branches    31551    31557       +6     
==========================================
  Hits        15615    15615              
+ Misses      77483    70218    -7265     
  Partials    16960    16960              
Flag Coverage Δ *Carryforward flag
differential 11.43% <0.00%> (?)
total 15.20% <ø> (+1.01%) ⬆️ Carriedforward from 77a7616

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

Impacted Files Coverage Δ
planning/behavior_path_planner/src/utils/utils.cpp 16.47% <ø> (ø)
..._velocity_crosswalk_module/src/scene_crosswalk.cpp 0.00% <0.00%> (ø)
..._velocity_crosswalk_module/src/scene_crosswalk.hpp 0.00% <ø> (ø)
...ng/behavior_velocity_crosswalk_module/src/util.hpp 0.00% <ø> (ø)

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

@takayuki5168 takayuki5168 force-pushed the refactor/crosswalk-stop-line-calculation branch from 7fbb27b to fece2c7 Compare July 18, 2023 02:42
@takayuki5168 takayuki5168 changed the title Refactor/crosswalk stop line calculation refactor(behavior_velocity_crosswalk_module): clean up the code of stop line calculation Jul 18, 2023
@takayuki5168 takayuki5168 force-pushed the refactor/crosswalk-stop-line-calculation branch from fece2c7 to 59a7ca5 Compare July 18, 2023 04:58
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@takayuki5168 takayuki5168 merged commit 4e1cd2c into autowarefoundation:main Jul 19, 2023
@takayuki5168 takayuki5168 deleted the refactor/crosswalk-stop-line-calculation branch July 19, 2023 00:02
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request Jul 19, 2023
…op line calculation (autowarefoundation#4284)

* refactor crosswalk stop line calculation

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request Aug 9, 2023
…op line calculation (autowarefoundation#4284)

* refactor crosswalk stop line calculation

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants