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

fix(behavior_velocity_planner): do not consider stop_line_margin when a stop line is defined at map in crosswalk module #1978

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

tkimura4
Copy link
Contributor

@tkimura4 tkimura4 commented Sep 28, 2022

Signed-off-by: tomoya.kimura tomoya.kimura@tier4.jp

Description

In crosswalk module, the parameter stop_line_distance should be considered only when the explicit stop_line is not defined in lanelet.
(
It is described in the parameter description

stop_line_distance: 3.5 # [m] make stop line away from crosswalk when no explicit stop line exists

)

But, in the current implementation, stop_line_distance is always considered, and the position of stop lines in crosswalk and walkway module are misaligned.
image

I fixed it.
image

Related links

Tests performed

Notes for reviewers

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.

… a stop line is defined at map in crosswalk module

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
@tkimura4 tkimura4 changed the title fix(behavior_velocity_planner): do not consider stop_line_margin when… fix(behavior_velocity_planner): do not consider stop_line_margin when a stop line is defined at map in crosswalk module Sep 28, 2022
@codecov
Copy link

codecov bot commented Sep 28, 2022

Codecov Report

Base: 10.28% // Head: 10.25% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (f570e23) compared to base (30e968e).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1978      +/-   ##
==========================================
- Coverage   10.28%   10.25%   -0.03%     
==========================================
  Files        1158     1158              
  Lines       82151    82327     +176     
  Branches    19120    19260     +140     
==========================================
  Hits         8446     8446              
- Misses      64564    64735     +171     
- Partials     9141     9146       +5     
Flag Coverage Δ *Carryforward flag
differential 4.24% <0.00%> (?)
total 10.26% <0.00%> (ø) Carriedforward from 30e968e

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

Impacted Files Coverage Δ
...ner/src/scene_module/crosswalk/scene_crosswalk.cpp 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tkimura4 tkimura4 merged commit 49d15a3 into autowarefoundation:main Sep 28, 2022
@tkimura4 tkimura4 deleted the fix/crosswalk_margin branch September 28, 2022 11:52
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Sep 29, 2022
… a stop line is defined at map in crosswalk module (autowarefoundation#1978)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 3, 2022
… a stop line is defined at map in crosswalk module (autowarefoundation#1978)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 3, 2022
… a stop line is defined at map in crosswalk module (autowarefoundation#1978)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 19, 2022
… a stop line is defined at map in crosswalk module (autowarefoundation#1978)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants