-
Notifications
You must be signed in to change notification settings - Fork 676
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): refactor PullOverPlannseBase to instantiate only valid path #8983
refactor(goal_planner): refactor PullOverPlannseBase to instantiate only valid path #8983
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
acd3045
to
3f75765
Compare
Signed-off-by: Mamoru Sobue <[email protected]>
partial_paths, path_shifter.getShiftLines().front().start, | ||
path_shifter.getShiftLines().front().end); | ||
pull_over_path.pairs_terminal_velocity_and_accel.push_back(std::make_pair(pull_over_velocity, 0)); | ||
auto pull_over_path_opt = PullOverPath::create( |
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.
auto pull_over_path_opt = PullOverPath::create( | |
const auto pull_over_path_opt = PullOverPath::create( |
auto pull_over_path_opt = PullOverPath::create( | ||
getPlannerType(), goal_id, id, partial_paths, current_pose, goal_pose, | ||
pairs_terminal_velocity_and_accel); | ||
if (!pull_over_path_opt) { | ||
return {}; | ||
} | ||
auto & pull_over_path = pull_over_path_opt.value(); |
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.
auto pull_over_path_opt = PullOverPath::create( | |
getPlannerType(), goal_id, id, partial_paths, current_pose, goal_pose, | |
pairs_terminal_velocity_and_accel); | |
if (!pull_over_path_opt) { | |
return {}; | |
} | |
auto & pull_over_path = pull_over_path_opt.value(); | |
const auto pull_over_path_opt = PullOverPath::create( | |
getPlannerType(), goal_id, id, partial_paths, current_pose, goal_pose, | |
pairs_terminal_velocity_and_accel); | |
if (!pull_over_path_opt) { | |
return {}; | |
} | |
const auto & pull_over_path = pull_over_path_opt.value(); |
...behavior_path_planner/autoware_behavior_path_goal_planner_module/src/goal_planner_module.cpp
Outdated
Show resolved
Hide resolved
...behavior_path_planner/autoware_behavior_path_goal_planner_module/src/goal_planner_module.cpp
Show resolved
Hide resolved
auto pull_over_path_opt = PullOverPath::create( | ||
getPlannerType(), goal_id, id, planner_.getPaths(), planner_.getStartPose(), | ||
planner_.getArcEndPose(), planner_.getPairsTerminalVelocityAndAccel()); | ||
if (!pull_over_path_opt) { | ||
return {}; | ||
} | ||
auto & pull_over_path = pull_over_path_opt.value(); |
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.
auto pull_over_path_opt = PullOverPath::create( | |
getPlannerType(), goal_id, id, planner_.getPaths(), planner_.getStartPose(), | |
planner_.getArcEndPose(), planner_.getPairsTerminalVelocityAndAccel()); | |
if (!pull_over_path_opt) { | |
return {}; | |
} | |
auto & pull_over_path = pull_over_path_opt.value(); | |
const auto pull_over_path_opt = PullOverPath::create( | |
getPlannerType(), goal_id, id, planner_.getPaths(), planner_.getStartPose(), | |
planner_.getArcEndPose(), planner_.getPairsTerminalVelocityAndAccel()); | |
if (!pull_over_path_opt) { | |
return {}; | |
} | |
const auto & pull_over_path = pull_over_path_opt.value(); |
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.
(nits): return pull_over_path_opt.value();
Signed-off-by: Mamoru Sobue <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8983 +/- ##
==========================================
- Coverage 26.05% 26.03% -0.03%
==========================================
Files 1315 1320 +5
Lines 98503 98593 +90
Branches 40113 40142 +29
==========================================
Hits 25668 25668
- Misses 70117 70194 +77
- Partials 2718 2731 +13
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…nly valid path (autowarefoundation#8983) Signed-off-by: Mamoru Sobue <[email protected]> Signed-off-by: prakash-kannaiah <[email protected]>
Description
Related links
Parent Issue:
How was this PR tested?
https://evaluation.tier4.jp/evaluation/reports/babee270-4645-50a2-bbe0-a971956166f7?project_id=prd_jt
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.