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): reset current route lanelet in manual drive #7505

Merged

Conversation

maxime-clem
Copy link
Contributor

Description

This PR fixes a bug where the current route lanelet was not properly reset when driving manually.

The previous condition used planner_manager_->hasApprovedModules() which would be true when the goal or dynamic obstacle avoidance modules were running.
The new condition uses planner_manager_->hasNonAlwaysExecutableApprovedModules() which ignores the goal and dynamic obstacle avoidance modules.

Tests performed

Psim and made sure that a previously failing scenario is now passing.

Effects on system behavior

Not applicable.

Interface changes

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 17, 2024
@takayuki5168 takayuki5168 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jun 17, 2024
@maxime-clem maxime-clem enabled auto-merge (squash) June 17, 2024 05:55
@maxime-clem maxime-clem merged commit 6398f9b into autowarefoundation:main Jun 17, 2024
34 of 35 checks passed
@maxime-clem maxime-clem deleted the fix/bpp-manual-control branch June 17, 2024 07:03
simon-eisenmann-driveblocks pushed a commit to simon-eisenmann-driveblocks/autoware.universe that referenced this pull request Jun 26, 2024
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 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