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(goal_planner): search closest lanelet without constraints if closest lanelet is not found with constraints #3561

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Apr 27, 2023

Description

Currently, the goal_planner return nullptr when it fails closest lanelet searching with constraints. This causes segmentation fault in post process on new manager.

In this PR, the module searches closest lanelet without constraints if closest lanelet is not found with constraints.

Tests performed

Psim

Effects on system behavior

Psim

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.

…est lanelet is not found with constraints

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Apr 27, 2023
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

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

Comparison is base (e7f8c12) 14.07% compared to head (21676cb) 14.10%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3561      +/-   ##
==========================================
+ Coverage   14.07%   14.10%   +0.02%     
==========================================
  Files        1398     1398              
  Lines       97963    97965       +2     
  Branches    29085    29087       +2     
==========================================
+ Hits        13789    13817      +28     
+ Misses      69501    69453      -48     
- Partials    14673    14695      +22     
Flag Coverage Δ *Carryforward flag
differential 15.58% <0.00%> (?)
total 14.07% <ø> (+<0.01%) ⬆️ Carriedforward from e7f8c12

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

Impacted Files Coverage Δ
.../utils/goal_planner/default_fixed_goal_planner.cpp 64.28% <0.00%> (+33.51%) ⬆️

... and 1 file 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.

Copy link
Contributor

@kosuke55 kosuke55 left a comment

Choose a reason for hiding this comment

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

thanks! lgtm

@kosuke55 kosuke55 merged commit 4d9fcf5 into autowarefoundation:main Apr 27, 2023
@satoshi-ota satoshi-ota deleted the fix/goal-planner branch April 27, 2023 09:36
satoshi-ota added a commit to tier4/autoware.universe that referenced this pull request May 6, 2023
…est lanelet is not found with constraints (autowarefoundation#3561)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Mingyu1991 pushed a commit to Mingyu1991/autoware.universe that referenced this pull request Jun 26, 2023
…est lanelet is not found with constraints (autowarefoundation#3561)

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Mingyu Li <mingyu.li@tier4.jp>
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