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(mission_planner): find the first common interval naively for main/mrm reroute check #6504

Merged

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Feb 28, 2024

Description

when the rerouting happened between main/mrm, the safety check logic tries to find the common interval between the two. the previous logic worked only when the common interval beginning matches the beginning of either route.
So if the common interval is in the middle of each route, it fails to find "100 200 300" as shown in below.

original: 10 11 100 200 300 1000 
route  :  1  2  100 200 300 1000

In this PR the beginning of common interval is obtained in naive way.

Related links

https://tier4.atlassian.net/browse/RT1-5332

Tests performed

RT1-5332-2024-02-28_13.46.44.mp4

Notes for reviewers

Interface changes

none

Effects on system behavior

none

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.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Feb 28, 2024
@soblin soblin marked this pull request as ready for review February 28, 2024 05:40
@soblin soblin force-pushed the fix/mission_planner/reroute-safety-check branch from 84d7736 to 06eb3d3 Compare February 28, 2024 10:36
@soblin soblin force-pushed the fix/mission_planner/reroute-safety-check branch from 06eb3d3 to bee9936 Compare February 28, 2024 10:57
@soblin soblin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 29, 2024
@soblin soblin enabled auto-merge (squash) February 29, 2024 04:31
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.

LGTM!

Copy link

codecov bot commented Feb 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 61 lines in your changes are missing coverage. Please review.

Project coverage is 14.64%. Comparing base (b86a00d) to head (46c2cf5).
Report is 28 commits behind head on main.

Files Patch % Lines
...on_planner/src/mission_planner/mission_planner.cpp 0.00% 61 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6504      +/-   ##
==========================================
- Coverage   14.64%   14.64%   -0.01%     
==========================================
  Files        1899     1899              
  Lines      130282   130303      +21     
  Branches    38311    38311              
==========================================
  Hits        19083    19083              
- Misses      89784    89805      +21     
  Partials    21415    21415              
Flag Coverage Δ *Carryforward flag
differential 12.73% <0.00%> (?)
total 14.65% <ø> (+<0.01%) ⬆️ Carriedforward from b86a00d

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@soblin soblin merged commit 2d065fc into autowarefoundation:main Feb 29, 2024
27 of 31 checks passed
@soblin soblin deleted the fix/mission_planner/reroute-safety-check branch February 29, 2024 08:47
soblin added a commit to tier4/autoware.universe that referenced this pull request Feb 29, 2024
HansRobo pushed a commit that referenced this pull request Mar 12, 2024
…/mrm reroute check (#6504)

Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Kotaro Yoshimoto <[email protected]>
kaigohirao pushed a commit to kaigohirao/autoware.universe that referenced this pull request Mar 22, 2024
mkuri added a commit to tier4/autoware.universe that referenced this pull request Apr 4, 2024
fix(mission_planner): find the first common interval naively for main/mrm reroute check (autowarefoundation#6504)
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
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) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants