-
Notifications
You must be signed in to change notification settings - Fork 682
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): set correct reference path #4809
fix(goal_planner): set correct reference path #4809
Conversation
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@@ -35,7 +35,7 @@ BehaviorModuleOutput DefaultFixedGoalPlanner::plan( | |||
const PathWithLaneId smoothed_path = | |||
modifyPathForSmoothGoalConnection(*(output.path), planner_data); | |||
output.path = std::make_shared<PathWithLaneId>(smoothed_path); | |||
output.reference_path = std::make_shared<PathWithLaneId>(smoothed_path); | |||
output.reference_path = getPreviousModuleOutput().reference_path; |
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.
@kosuke55 Here it is.
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.
thanks!!
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #4809 +/- ##
=======================================
Coverage 15.09% 15.10%
=======================================
Files 1571 1571
Lines 108231 108176 -55
Branches 33231 33201 -30
=======================================
Hits 16342 16342
+ Misses 74070 74015 -55
Partials 17819 17819
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Description
🤖 Generated by Copilot at a9de1aa
Fix a bug in the goal planner module that caused lane deviation, and modify the output of the default fixed goal planner to use a consistent reference path. These changes improve the path planning stability and robustness.
Tests performed
Effects on system behavior
Not applicable.
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.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.