-
Notifications
You must be signed in to change notification settings - Fork 672
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(avoidance): output feasible avoidance path #4145
feat(avoidance): output feasible avoidance path #4145
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #4145 +/- ##
==========================================
- Coverage 15.23% 15.23% -0.01%
==========================================
Files 1469 1469
Lines 101781 101805 +24
Branches 31396 31401 +5
==========================================
+ Hits 15505 15507 +2
- Misses 69414 69436 +22
Partials 16862 16862
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
dc20990
to
04e2473
Compare
fb6564a
to
598e0f5
Compare
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
598e0f5
to
41f065f
Compare
double PathShifter::calcFeasibleVelocityFromJerk( | ||
const double lateral, const double jerk, const double distance) | ||
const double lateral, const double jerk, const double longitudinal) |
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.
not related this PR but suggetion for variable name also for the function of calcLateralDistFromJerk
double PathShifter::calcFeasibleVelocityFromJerk( | |
const double lateral, const double jerk, const double distance) | |
const double lateral, const double jerk, const double longitudinal) | |
double PathShifter::calcFeasibleVelocityFromJerk( | |
const double lateral_deviation const double longitudinal_deviation, const double maximum_jerk) |
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.
Let's discuss proper name in other PR 👍
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
Description
Currently, avoidance module outputs avoidance path only when there is the sufficient longitudinal distance. But this limitation maybe cause stuck because the ego stopped at obstacle stop position in worst case.
In this PR, I improve the logic so that it outputs feasible shift path if the longitudinal distance between ego and object is NOT enough to shift target lateral length.
simplescreenrecorder-2023-07-10_19.23.07.mp4
Tests performed
Effects on system behavior
Improve avoidance behavior
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.