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_path_planner): fix offset sign expanding side shift drivable area #2196

Conversation

maxime-clem
Copy link
Contributor

@maxime-clem maxime-clem commented Nov 2, 2022

Description

Function lanelet::utils::getExpandedLanelets, used to expand a lanelet, expects positive left/right offsets.
The code of the side shift module calculates a negative value.
This PR sets its sign to be positive instead.

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.

@maxime-clem maxime-clem added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Nov 2, 2022
@maxime-clem maxime-clem self-assigned this Nov 2, 2022
@maxime-clem maxime-clem force-pushed the fix-behavior_path_planner-expand_drivable_area-sign branch from b46dc02 to c5a28ef Compare November 2, 2022 05:17
@codecov
Copy link

codecov bot commented Nov 2, 2022

Codecov Report

Base: 11.09% // Head: 11.09% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (1a0b7a1) compared to base (333044b).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2196      +/-   ##
==========================================
- Coverage   11.09%   11.09%   -0.01%     
==========================================
  Files        1202     1202              
  Lines       86170    86171       +1     
  Branches    20680    20680              
==========================================
  Hits         9558     9558              
- Misses      66661    66662       +1     
  Partials     9951     9951              
Flag Coverage Δ *Carryforward flag
differential 3.58% <0.00%> (?)
total 11.06% <0.00%> (ø) Carriedforward from 333044b

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

Impacted Files Coverage Δ
.../src/scene_module/side_shift/side_shift_module.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.

@maxime-clem maxime-clem force-pushed the fix-behavior_path_planner-expand_drivable_area-sign branch from c5a28ef to d437e2c Compare November 2, 2022 06:34
@maxime-clem maxime-clem changed the title fix(behavior_path_planner): fix sign of right offset when expanding drivable area fix(behavior_path_planner): fix offset sign expanding side shift drivable area Nov 2, 2022
…rivable area

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
@kyoichi-sugahara
Copy link
Contributor

drivable area is created successfully
Screenshot from 2022-11-04 19-51-05

Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@takayuki5168 takayuki5168 left a comment

Choose a reason for hiding this comment

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

LGTM

@maxime-clem maxime-clem merged commit 52a0525 into autowarefoundation:main Nov 6, 2022
@maxime-clem maxime-clem deleted the fix-behavior_path_planner-expand_drivable_area-sign branch November 6, 2022 06:16
HansRobo pushed a commit to HansRobo/autoware.universe that referenced this pull request Dec 16, 2022
…able area (autowarefoundation#2196)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
YoshiRi pushed a commit to YoshiRi/autoware.universe that referenced this pull request Jan 11, 2023
…able area (autowarefoundation#2196)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: yoshiri <yoshiyoshidetteiu@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.

3 participants