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

refactor(goal_planner): refactoring plan flow and add post process #5554

Merged
merged 6 commits into from
Nov 14, 2023

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Nov 10, 2023

Description

refactoring plan flow

  /* 
   * state transitions and plan functions used in each state
   *
   * +--------------------------+
   * | RUNNING                  |
   * | plnaPullOverAsCandidate()|
   * +------------+-------------+
   *              | hasDecidedPath()
   *  2           v
   * +--------------------------+
   * | WAITING_APPROVAL         |
   * | planPullOverAsCandidate()|
   * +------------+-------------+
   *              | isActivated()
   *  3           v
   * +--------------------------+
   * | RUNNING                  |
   * | planPullOverAsOutput()   |
   * +--------------------------+
   */

Related links

before this PR merge

Tests performed

psim

evaluator_description: refactor/goal_planner_plan
2023/11/10 https://evaluation.tier4.jp/evaluation/reports/4030409f-6c74-543f-b949-30d8fcaec093/?project_id=prd_jt

evaluator_description: refactor/goal_planner_plan
2023/11/13 https://evaluation.tier4.jp/evaluation/reports/89a8ffc6-8b02-52b8-a77d-3f66c1fc04be/?project_id=prd_jt

evaluator_description: refactor/goal_planner_plan
2023/11/14 https://evaluation.tier4.jp/evaluation/reports/32b6bef1-9217-5383-ab16-0f84297be6c5/?project_id=prd_jt

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 Nov 10, 2023
@kosuke55 kosuke55 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 11, 2023
Copy link

codecov bot commented Nov 11, 2023

Codecov Report

Attention: 147 lines in your changes are missing coverage. Please review.

Comparison is base (ea12d77) 15.25% compared to head (a035d57) 15.26%.
Report is 3 commits behind head on main.

Files Patch % Lines
.../scene_module/goal_planner/goal_planner_module.cpp 0.00% 140 Missing ⚠️
.../scene_module/goal_planner/goal_planner_module.hpp 40.00% 3 Missing ⚠️
.../src/scene_module/side_shift/side_shift_module.cpp 0.00% 1 Missing and 2 partials ⚠️
...nner/scene_module/side_shift/side_shift_module.hpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5554   +/-   ##
=======================================
  Coverage   15.25%   15.26%           
=======================================
  Files        1717     1717           
  Lines      118382   118322   -60     
  Branches    37910    37875   -35     
=======================================
- Hits        18061    18056    -5     
+ Misses      79668    79617   -51     
+ Partials    20653    20649    -4     
Flag Coverage Δ *Carryforward flag
differential 12.69% <1.34%> (?)
total 15.27% <ø> (+0.02%) ⬆️ Carriedforward from ea12d77

*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.

@kyoichi-sugahara
Copy link
Contributor

@kosuke55
can you add TODO(someone) for writing flow of the module in order not to forget?

Running
planPullOverAsCandidate()
↓hasDecidedePath()
WAITING_APPROVAL
planPullOverAsCandidate()
↓ isActivated()
Running
planPullOverAsOutput()

@kyoichi-sugahara
Copy link
Contributor

@kosuke55
could you resolve conflicts?

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

do not decel when searching

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

rename planPullOver

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@kyoichi-sugahara
Copy link
Contributor

thanks!!!!

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@kosuke55
Copy link
Contributor Author

added flow in 20259e2

Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@kosuke55 kosuke55 merged commit b52d323 into main Nov 14, 2023
23 of 25 checks passed
@kosuke55 kosuke55 deleted the refactor/goal_planner_plan branch November 14, 2023 09:48
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Nov 14, 2023
…utowarefoundation#5554)

* refactor(goal_planner): refactoring plan flow and add post process

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

do not decel when searching

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

rename planPullOver

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

* add plan flow

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

* add reason of early return

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

* typo

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

* fix path_candidate_

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

* pub path candidate after approval

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

---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: karishma <karishma@interpl.ai>
santosh-sanku pushed a commit to Interplai/autoware.universe that referenced this pull request Nov 14, 2023
…utowarefoundation#5554)

* refactor(goal_planner): refactoring plan flow and add post process

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

do not decel when searching

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

rename planPullOver

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

* add plan flow

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

* add reason of early return

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

* typo

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

* fix path_candidate_

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

* pub path candidate after approval

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

---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: santosh-interplai <santosh@interpl.ai>
santosh-sanku pushed a commit to Interplai/autoware.universe that referenced this pull request Nov 14, 2023
…utowarefoundation#5554)

* refactor(goal_planner): refactoring plan flow and add post process

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

do not decel when searching

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

rename planPullOver

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

* add plan flow

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

* add reason of early return

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

* typo

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

* fix path_candidate_

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

* pub path candidate after approval

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

---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: santosh-interplai <santosh@interpl.ai>
takayuki5168 pushed a commit to tier4/autoware.universe that referenced this pull request Nov 22, 2023
…utowarefoundation#5554)

* refactor(goal_planner): refactoring plan flow and add post process

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

do not decel when searching

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

rename planPullOver

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

* add plan flow

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

* add reason of early return

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

* typo

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

* fix path_candidate_

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

* pub path candidate after approval

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

---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.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) tag: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