-
Notifications
You must be signed in to change notification settings - Fork 683
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(freespace_planner): fix motion_velocity_smoother error while parking #6713
Conversation
023cfb3
to
28612c6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6713 +/- ##
==========================================
- Coverage 14.99% 14.94% -0.06%
==========================================
Files 1972 1939 -33
Lines 136468 133678 -2790
Branches 42300 39757 -2543
==========================================
- Hits 20470 19979 -491
+ Misses 93248 91456 -1792
+ Partials 22750 22243 -507
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
579bda0
to
67527e5
Compare
Could you assign somebody to review this PR? |
…one point in a new parking cycle Signed-off-by: AhmedEbrahim <ahmed.a.d.ebrahim@gmail.com> fix(freespace_planner): prevent publishing stop trajectory with only one point in a new parking cycle Signed-off-by: Ahmed Ebrahim <ahmed.ebrahim@leodrive.ai>
…han or equal 1 after first cycle - fixing unit test issue. Signed-off-by: AhmedEbrahim <ahmed.a.d.ebrahim@gmail.com>
67527e5
to
01bfb5a
Compare
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.
Sorry to be late, and thank you for your contribution!
010965b
into
autowarefoundation:main
…ing (autowarefoundation#6713) * fix(freespace_planner): prevent publishing stop trajectory with only one point in a new parking cycle --------- Signed-off-by: Ahmed Ebrahim <ahmed.ebrahim@leodrive.ai> Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…ing (autowarefoundation#6713) * fix(freespace_planner): prevent publishing stop trajectory with only one point in a new parking cycle --------- Signed-off-by: Ahmed Ebrahim <ahmed.ebrahim@leodrive.ai>
Description
fixes #6379
Related links
This PR is one of group of PRs that aim to fix Autoware logging system to achieve the goal of reducing excessive error and warning logs on Autoware launch.
Part of:
Tests performed
Notes for reviewers
Root Cause
freespace_planner
publishes a stop trajectory with 1 point, that is happening only in first parking cycle (that is why the error is not throttling and occurring only once)motion_velocity_smoother
subscribes to this trajectory and doescheckData()
on it.motion_velocity_smoother
logs the mentioned error and discards the trajectory.Proposed Solution
is_new_parking_cycle_
which is set bytrue
with every new route planned for parking.freespace_planner
to publish stop trajectory.freespace_planner
can generate stop trajectory before re-planning whenever needed.Interface changes
N.A
Effects on system behavior
The error mentioned in #6379 is no longer occuring.
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.