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): set correct reference path #4809

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Aug 30, 2023

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.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

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;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kosuke55 Here it is.

Copy link
Contributor

@kosuke55 kosuke55 left a comment

Choose a reason for hiding this comment

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

thanks!!

@satoshi-ota satoshi-ota added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 30, 2023
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (33e2956) 15.09% compared to head (a9de1aa) 15.10%.
Report is 5 commits behind head on main.

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           
Flag Coverage Δ *Carryforward flag
differential 13.10% <0.00%> (?)
total 15.10% <ø> (+<0.01%) ⬆️ Carriedforward from 33e2956

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

Files Changed Coverage Δ
...ion/crosswalk_traffic_light_estimator/src/node.cpp 0.00% <ø> (ø)
.../scene_module/goal_planner/goal_planner_module.cpp 6.49% <0.00%> (-0.02%) ⬇️
.../utils/goal_planner/default_fixed_goal_planner.cpp 0.00% <0.00%> (ø)
...g/behavior_velocity_crosswalk_module/src/debug.cpp 0.00% <ø> (ø)
..._velocity_crosswalk_module/src/scene_crosswalk.cpp 0.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@satoshi-ota satoshi-ota merged commit 058680d into autowarefoundation:main Aug 30, 2023
@satoshi-ota satoshi-ota deleted the fix/goal-planner branch August 30, 2023 14:12
takayuki5168 pushed a commit to tier4/autoware.universe that referenced this pull request Nov 27, 2023
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
TetsuKawa pushed a commit to tier4/autoware.universe that referenced this pull request Dec 8, 2023
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
takayuki5168 pushed a commit to tier4/autoware.universe that referenced this pull request Dec 25, 2023
Signed-off-by: satoshi-ota <satoshi.ota928@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) 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