-
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(obstacle_avoidance_planner): apply dynamic path length to fixed trajectory in eb #2357
fix(obstacle_avoidance_planner): apply dynamic path length to fixed trajectory in eb #2357
Conversation
…rajectory in eb Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Codecov ReportBase: 10.48% // Head: 10.47% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2357 +/- ##
==========================================
- Coverage 10.48% 10.47% -0.01%
==========================================
Files 1248 1256 +8
Lines 91255 91750 +495
Branches 21014 20790 -224
==========================================
+ Hits 9565 9611 +46
- Misses 71503 71981 +478
+ Partials 10187 10158 -29
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@kosuke55 Now this is ready for review. I just added a flag to enable this function. |
const auto interpolated_points_end_seg_idx = motion_utils::findNearestSegmentIndex( | ||
interpolated_poses, path.points.back().pose, 3.0, 0.785); |
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.
Is it ok to use this function?
this findNearestSegmentIndex with threshould will be replaced with your function for overlapping?
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.
For ego nearest search, we can assume that the nearest point should be the first nearest one since the path length before the ego pose is short enough.
Other than that, we cannot assume that the nearest search should be the first nearest one.
Therefore, in this case, it's okay not to use findfistNearestIndex
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.
ok, understood thanks!
works fine! thanks very much! |
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…rajectory in eb (autowarefoundation#2357) * fix(obstacle_avoidance_planner): apply dynamic path length to fixed trajectory in eb Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add flag to enable clipping fixed trajectory Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add maintainer Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…rajectory in eb (autowarefoundation#2357) * fix(obstacle_avoidance_planner): apply dynamic path length to fixed trajectory in eb Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add flag to enable clipping fixed trajectory Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add maintainer Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…rajectory in eb (autowarefoundation#2357) * fix(obstacle_avoidance_planner): apply dynamic path length to fixed trajectory in eb Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add flag to enable clipping fixed trajectory Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add maintainer Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…rajectory in eb (autowarefoundation#2357) * fix(obstacle_avoidance_planner): apply dynamic path length to fixed trajectory in eb Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add flag to enable clipping fixed trajectory Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add maintainer Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…rajectory in eb (autowarefoundation#2357) * fix(obstacle_avoidance_planner): apply dynamic path length to fixed trajectory in eb Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add flag to enable clipping fixed trajectory Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add maintainer Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…rajectory in eb (autowarefoundation#2357) * fix(obstacle_avoidance_planner): apply dynamic path length to fixed trajectory in eb Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add flag to enable clipping fixed trajectory Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add maintainer Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…rajectory in eb (autowarefoundation#2357) * fix(obstacle_avoidance_planner): apply dynamic path length to fixed trajectory in eb Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add flag to enable clipping fixed trajectory Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * add maintainer Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: Takayuki Murooka takayuki5168@gmail.com
Description
TIER IV internal link
https://tier4.atlassian.net/browse/T4PB-23427
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.