-
Notifications
You must be signed in to change notification settings - Fork 691
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): secure lateral distance for path planning with corresponding to the centrifugal force #5196
Conversation
Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
…module" can handle the ego_polygons Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
fix the handling miss of sign of value Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5196 +/- ##
==========================================
+ Coverage 14.77% 14.80% +0.02%
==========================================
Files 1636 1636
Lines 113635 114884 +1249
Branches 34932 35830 +898
==========================================
+ Hits 16793 17005 +212
- Misses 78001 78868 +867
- Partials 18841 19011 +170
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
...path_planner/include/behavior_path_planner/scene_module/goal_planner/goal_planner_module.hpp
Outdated
Show resolved
Hide resolved
planning/behavior_path_planner/src/utils/path_safety_checker/safety_check.cpp
Outdated
Show resolved
Hide resolved
planning/behavior_path_planner/src/utils/path_safety_checker/safety_check.cpp
Outdated
Show resolved
Hide resolved
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!! LGTM
Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
Thank you Takeuchi-san. |
const auto ego_polygons_expanded = | ||
utils::path_safety_checker::generatePolygonsWithStoppingAndInertialMargin( | ||
path, base_link2front, base_link2rear, vehicle_width, parameters_->maximum_deceleration, | ||
parameters_->object_recognition_collision_check_max_extra_stopping_margin); | ||
debug_data_.ego_polygons_expanded = ego_polygons_expanded; | ||
|
||
return utils::path_safety_checker::checkCollisionWithMargin( | ||
ego_polygons_expanded, pull_over_lane_stop_objects, | ||
parameters_->object_recognition_collision_check_margin); |
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 noticed the size of polygon visualized and used for the collision check is different.
…rresponding to the centrifugal force (autowarefoundation#5196) * add feature to plan the path with considering latral overshoot Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp> * separate a function in "safety_check" in order to that "goal_planner_module" can handle the ego_polygons Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp> * add visualization codes fix the handling miss of sign of value Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp> * refactor codes based on comments in the PR Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp> --------- Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
Description
goal_planner module secure lateral distance for its path planning with corresponding to the centrifugal force
Tests performed
Psim test was performed as figures bellow.
Raw values in the new functions seems to appropriate.
Screencast from 10-03-2023 02:47:20 PM.webm

Effects on system behavior
The approaching paths become to secure lateral distance.
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.