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

feat(goal_planner): keep margin against objects as possible #5569

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Nov 13, 2023

Description

feat(goal_planner): keep margin against objects as possible

before

image

image

gol_planner_suresure-2023-11-13_17.34.25.mp4

after

image

gol_planner_suresure-2023-11-13_22.55.33.mp4

Related links

tier4 internal ticket
https://tier4.atlassian.net/browse/RT1-4131

Tests performed

psim

evaluator_description: feat/keep_distance
2023/11/13 https://evaluation.tier4.jp/evaluation/reports/828fceb1-3f15-56bd-b598-2d0be9c3e9ea/?project_id=prd_jt

evaluator_description: feat/keep_distance
2023/11/16 https://evaluation.tier4.jp/evaluation/reports/3feacb18-f7d5-505c-bde4-4d50c98d36f0/?project_id=prd_jt

Notes for reviewers

none

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.

@kosuke55 kosuke55 changed the title Feat/keep distance feat(goal_planner): keep margin against objects as possible Nov 13, 2023
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Nov 13, 2023
@kosuke55 kosuke55 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 13, 2023
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

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

Comparison is base (765a596) 15.32% compared to head (5c5173b) 15.32%.
Report is 10 commits behind head on main.

Files Patch % Lines
.../scene_module/goal_planner/goal_planner_module.cpp 1.73% 112 Missing and 1 partial ⚠️
.../scene_module/goal_planner/goal_planner_module.hpp 15.78% 15 Missing and 1 partial ⚠️
...rivable_area_expansion/drivable_area_expansion.cpp 40.00% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5569   +/-   ##
=======================================
  Coverage   15.32%   15.32%           
=======================================
  Files        1721     1721           
  Lines      118559   118534   -25     
  Branches    37995    38017   +22     
=======================================
- Hits        18169    18168    -1     
+ Misses      79657    79627   -30     
- Partials    20733    20739    +6     
Flag Coverage Δ *Carryforward flag
differential 12.66% <5.03%> (?)
total 15.33% <33.33%> (+0.01%) ⬆️ Carriedforward from bbe5225

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

@kosuke55 kosuke55 marked this pull request as draft November 14, 2023 01:53
@kosuke55 kosuke55 marked this pull request as ready for review November 15, 2023 11:37
@@ -1329,7 +1400,30 @@ bool GoalPlannerModule::checkCollision(const PathWithLaneId & path) const
obj_polygons.push_back(tier4_autoware_utils::toPolygon2d(object));
}

std::vector<Polygon2d> ego_polygons_expanded;
/* Expand ego collision check polygon
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

@@ -53,6 +53,7 @@ struct PullOverPath
Pose end_pose{};
std::vector<Pose> debug_poses{};
size_t goal_id{};
size_t id{};
Copy link
Contributor

Choose a reason for hiding this comment

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

id for path_candidates?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

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!

@kosuke55 kosuke55 merged commit dec0896 into main Nov 16, 2023
28 of 31 checks passed
@kosuke55 kosuke55 deleted the feat/keep_distance branch November 16, 2023 14:59
@kosuke55
Copy link
Contributor Author

the actual diff is dec0896

takayuki5168 pushed a commit to tier4/autoware.universe that referenced this pull request Nov 22, 2023
…foundation#5569)

* refactor(goal_planner): add prev_data instead of status

Signed-off-by: kosuke55 <[email protected]>

* feat(goal_planner): keep margin against objects as possible

Signed-off-by: kosuke55 <[email protected]>

---------

Signed-off-by: kosuke55 <[email protected]>
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