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(avoidance): don't reset registered shift lines if the base offset is not zero #3971

Merged
merged 2 commits into from
Jun 14, 2023

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Jun 14, 2023

Description

Don't reset registered shift linew if the base offset is NOT zero.
Otherwise, the current path will be updated suddenly like this.

Screencast.from.2023.06.13.17.14.43.webm

[TIER IV INTERNAL LINK]

Tests performed

Effects on system behavior

Not applicable.

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 Jun 14, 2023
…an zero

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@satoshi-ota satoshi-ota force-pushed the fix/avoid-new-shift branch from 716f8dd to 488720e Compare June 14, 2023 05:03
…ft lines

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@satoshi-ota satoshi-ota force-pushed the fix/avoid-new-shift branch from 488720e to 1de6825 Compare June 14, 2023 05:09
@codecov
Copy link

codecov bot commented Jun 14, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (57c958f) 14.41% compared to head (1de6825) 14.41%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3971   +/-   ##
=======================================
  Coverage   14.41%   14.41%           
=======================================
  Files        1456     1456           
  Lines      102660   102658    -2     
  Branches    29728    29731    +3     
=======================================
  Hits        14795    14795           
+ Misses      71705    71703    -2     
  Partials    16160    16160           
Flag Coverage Δ *Carryforward flag
differential 12.84% <0.00%> (?)
total 14.41% <ø> (+<0.01%) ⬆️ Carriedforward from 57c958f

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

Impacted Files Coverage Δ
..._localizer/include/ekf_localizer/ekf_localizer.hpp 0.00% <ø> (ø)
localization/ekf_localizer/src/ekf_localizer.cpp 0.00% <ø> (ø)
...lanner/scene_module/avoidance/avoidance_module.hpp 0.00% <0.00%> (ø)
...er/src/scene_module/avoidance/avoidance_module.cpp 4.07% <0.00%> (+<0.01%) ⬆️

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

Copy link
Contributor

@shmpwk shmpwk 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 merged commit 5f77c77 into autowarefoundation:main Jun 14, 2023
@satoshi-ota satoshi-ota deleted the fix/avoid-new-shift branch June 14, 2023 08:15
satoshi-ota added a commit to tier4/autoware.universe that referenced this pull request Jun 14, 2023
… is not zero (autowarefoundation#3971)

* fix(avoidance): break if the shift line start longitudinal is less than zero

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(avoidance): check base offset before resetting of registered shift lines

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
tkimura4 pushed a commit to tier4/autoware.universe that referenced this pull request Jun 14, 2023
… is not zero (autowarefoundation#3971) (#579)

* fix(avoidance): break if the shift line start longitudinal is less than zero



* feat(avoidance): check base offset before resetting of registered shift lines



---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1222-takeshi pushed a commit to tier4/autoware.universe that referenced this pull request Jun 20, 2023
… is not zero (autowarefoundation#3971)

* fix(avoidance): break if the shift line start longitudinal is less than zero

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(avoidance): check base offset before resetting of registered shift lines

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
satoshi-ota added a commit to satoshi-ota/autoware.universe that referenced this pull request Jun 20, 2023
… is not zero (autowarefoundation#3971)

* fix(avoidance): break if the shift line start longitudinal is less than zero

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* feat(avoidance): check base offset before resetting of registered shift lines

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

---------

Signed-off-by: satoshi-ota <satoshi.ota928@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