-
Notifications
You must be signed in to change notification settings - Fork 664
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
feat(goal_planner): move goal_candidates from ThreadSafeData to GoalPlannerData #9292
feat(goal_planner): move goal_candidates from ThreadSafeData to GoalPlannerData #9292
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
@@ -1369,7 +1374,7 @@ BehaviorModuleOutput GoalPlannerModule::planPullOverAsOutput( | |||
thread_safe_data_.clearPullOverPath(); | |||
|
|||
// update goal candidates | |||
auto goal_candidates = thread_safe_data_.get_goal_candidates(); | |||
auto goal_candidates = goal_candidates_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no goal_candidates_
member variable in the module?
goal_planner_data_
has goal_candidates
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added goal_candidates_
member to GoalPlannerModule
…lannerData Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
8322a6c
to
af9bd9d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9292 +/- ##
==========================================
- Coverage 29.29% 29.28% -0.02%
==========================================
Files 1334 1337 +3
Lines 102798 102854 +56
Branches 39985 39981 -4
==========================================
Hits 30119 30119
- Misses 69811 69866 +55
- Partials 2868 2869 +1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
internal disucussion:
|
Description
depends #9270 ,the diff is below
tier4/autoware.universe@tier4:autoware.universe:refactor/goal-candidate...refactor/goal-candidate2
once goal_candidates are generated at main thread, they remain at the same positions, and only safety information is updated, keeping the same number. so GoalPlannerModule owns the goal_candidate and set it once to GoalPlannerData.
Related links
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.