-
Notifications
You must be signed in to change notification settings - Fork 650
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(start_planner): apply offset colission check section #5982
feat(start_planner): apply offset colission check section #5982
Conversation
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
50ee603
to
3708271
Compare
PredictedObjects StartPlannerModule::filterStopObjectsInShoulderLanes( | ||
const lanelet::ConstLanelets & shoulder_lanes, const geometry_msgs::msg::Point & current_point, | ||
const double velocity_threshold, const double object_check_forward_distance, | ||
const double object_check_backward_distance) const |
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.
pull out lanes will be road lanes not just shoulder lanes.
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.
so, better to change function and args name
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.
changed in 365b4f9
return motion_utils::findNearestIndex( | ||
combined_path.points, collision_check_end_pose->position); | ||
} else { | ||
return combined_path.points.size() - 1; |
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.
return combined_path.points.size() - 1; | |
return 0; |
is reasonable?
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.
or nullopt?
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.
changed in 6839191
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
planning/behavior_path_start_planner_module/src/start_planner_module.cpp
Outdated
Show resolved
Hide resolved
…module.cpp Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
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.
LGTM!!
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5982 +/- ##
==========================================
- Coverage 15.24% 15.24% -0.01%
==========================================
Files 1750 1750
Lines 120675 120681 +6
Branches 36715 36715
==========================================
Hits 18394 18394
- Misses 81640 81646 +6
Partials 20641 20641
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
dd1579e
into
autowarefoundation:main
…undation#5982) refactor collision check in GeometricPullOut::plan() Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
…undation#5982) refactor collision check in GeometricPullOut::plan() Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
…undation#5982) refactor collision check in GeometricPullOut::plan() Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
…undation#5982) refactor collision check in GeometricPullOut::plan() Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
Description
this PR should be merged first
offset the collision check section based on shift end pose.
collision check against static objects are executed in the collision check section.
ignore section's lenght is controlled by parameter of
collision_check_distance_from_end
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.