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): check new modified goal in the node side #4295

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Jul 17, 2023

Description

After setting a modified goal in the goal planner, if the module is deleted in the same cycle by the planner_manager, the modified goal may not be published.

e.g) tier4 internal scenario

This happens when the start planner and goal planner are triggered in the first cycle when the goal is close to ego.
To solve this problem, I added a check in node to see if the modified goal has been published.

Related links

Tests performed

psim

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 Jul 17, 2023
@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (f6b14ec) 14.18% compared to head (1deb568) 14.18%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4295   +/-   ##
=======================================
  Coverage   14.18%   14.18%           
=======================================
  Files        1599     1599           
  Lines      110050   110049    -1     
  Branches    31539    31538    -1     
=======================================
  Hits        15612    15612           
+ Misses      77486    77485    -1     
  Partials    16952    16952           
Flag Coverage Δ *Carryforward flag
differential 13.59% <0.00%> (?)
total 14.18% <ø> (+<0.01%) ⬆️ Carriedforward from f6b14ec

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

Impacted Files Coverage Δ
...or_path_planner/src/behavior_path_planner_node.cpp 26.86% <0.00%> (ø)
.../scene_module/goal_planner/goal_planner_module.cpp 6.06% <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.

@kosuke55 kosuke55 merged commit 76c61de into main Jul 17, 2023
27 of 30 checks passed
@kosuke55 kosuke55 deleted the fix/publish_modified_goal branch July 17, 2023 04:56
kosuke55 added a commit that referenced this pull request Jul 17, 2023
kosuke55 added a commit to tier4/autoware.universe that referenced this pull request Jul 20, 2023
kyoichi-sugahara pushed a commit to tier4/autoware.universe that referenced this pull request Aug 28, 2023
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