-
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
fix(obstacle_avoidance_planner, interpolation): improve slerp and fix yaw #1687
Conversation
Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp>
@angry-crab Do you know why there is large calculation cost difference between before and after? Both you set skip_optimization false? |
common/interpolation/include/interpolation/spline_interpolation.hpp
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## main #1687 +/- ##
==========================================
+ Coverage 10.39% 10.40% +0.01%
==========================================
Files 1218 1218
Lines 87391 87547 +156
Branches 20228 20251 +23
==========================================
+ Hits 9082 9108 +26
- Misses 68856 68980 +124
- Partials 9453 9459 +6
*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. |
It has nothing to do with |
Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp>
Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp>
@angry-crab @takayuki5168 The StepPolygon of obstacle_stop_planner is shown as below: |
@angry-crab @takayuki5168 The code uses too much loop. |
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
… yaw (autowarefoundation#1687) * merge slerp of x y yaw Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * ci(pre-commit): autofix * move and rename new slerp Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * add include file Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
… yaw (autowarefoundation#1687) * merge slerp of x y yaw Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * ci(pre-commit): autofix * move and rename new slerp Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * add include file Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
… yaw (autowarefoundation#1687) * merge slerp of x y yaw Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * ci(pre-commit): autofix * move and rename new slerp Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * add include file Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
… yaw (autowarefoundation#1687) * merge slerp of x y yaw Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * ci(pre-commit): autofix * move and rename new slerp Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * add include file Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
… yaw (autowarefoundation#1687) * merge slerp of x y yaw Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * ci(pre-commit): autofix * move and rename new slerp Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> * add include file Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Xinyu Wang xinyu.wang@tier4.jp
Description
#1499 Fix yaw interpolation and improve performance.
Since the current yaw interpolation is not stable, I just switched to the implementation of
fillYawInTrajectoryPoint
.This PR also somehow fixes #966 by correcting yaw afterwards.
Before
After
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.