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): fix publishing new modified goal #4302

Merged
merged 2 commits into from
Jul 18, 2023

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Jul 17, 2023

Description

If checking new modfied goal we need to use not uuid in the node but id of GoalCandidate in goal planner.
But id can not be got in the node side, so use the distance between current and previous modified goal.

Related links

Tests performed

psim, tier4 internal scenario
https://evaluation.tier4.jp/evaluation/reports/5418fd51-a30c-5dcb-b620-f43fcb092d8c?project_id=prd_jt

1553/1588 -> 1570/1588

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.

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@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 18, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (361fbaf) 14.18% compared to head (7c35ac0) 14.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4302      +/-   ##
==========================================
- Coverage   14.18%   14.18%   -0.01%     
==========================================
  Files        1599     1599              
  Lines      110044   110397     +353     
  Branches    31537    31808     +271     
==========================================
+ Hits        15608    15655      +47     
- Misses      77482    77751     +269     
- Partials    16954    16991      +37     
Flag Coverage Δ *Carryforward flag
differential 13.63% <0.00%> (?)
total 14.18% <ø> (+<0.01%) ⬆️ Carriedforward from 361fbaf

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

Impacted Files Coverage Δ
.../scene_module/goal_planner/goal_planner_module.hpp 20.00% <ø> (ø)
...or_path_planner/src/behavior_path_planner_node.cpp 26.81% <0.00%> (-0.06%) ⬇️
.../scene_module/goal_planner/goal_planner_module.cpp 6.08% <ø> (+<0.01%) ⬆️

... and 6 files 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.

@kosuke55 kosuke55 merged commit 77a7616 into main Jul 18, 2023
@kosuke55 kosuke55 deleted the fix/modified_goal_publishing branch July 18, 2023 02:34
kosuke55 added a commit to tier4/autoware.universe that referenced this pull request Jul 20, 2023
…on#4302)

* fix(goal_planner): fix publishing new modified goal

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

* style(pre-commit): autofix

---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.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.

2 participants