-
Notifications
You must be signed in to change notification settings - Fork 691
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(motion_velocity_smoother): reverse velocity handling #1465
fix(motion_velocity_smoother): reverse velocity handling #1465
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1465 +/- ##
==========================================
- Coverage 10.29% 10.27% -0.03%
==========================================
Files 1119 1119
Lines 77647 77816 +169
Branches 17876 17876
==========================================
Hits 7997 7997
- Misses 62155 62324 +169
Partials 7495 7495
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
…motion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
da389f7
to
da714f7
Compare
thanks very much. It also works fine with pull_out. fix_smoother_back-2022-07-29_19.53.13.mp4 |
* fix(motion_velocity_smoother): negative velocity handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add reverse velocity handling for debug trajectories, and fix initialmotion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
* fix(motion_velocity_smoother): negative velocity handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add reverse velocity handling for debug trajectories, and fix initialmotion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
* fix(motion_velocity_smoother): negative velocity handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add reverse velocity handling for debug trajectories, and fix initialmotion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
* fix(motion_velocity_smoother): negative velocity handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add reverse velocity handling for debug trajectories, and fix initialmotion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
…ndation#1465) * fix(motion_velocity_smoother): negative velocity handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add reverse velocity handling for debug trajectories, and fix initialmotion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
* fix(motion_velocity_smoother): negative velocity handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add reverse velocity handling for debug trajectories, and fix initialmotion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
* fix(motion_velocity_smoother): negative velocity handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add reverse velocity handling for debug trajectories, and fix initialmotion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
* fix(motion_velocity_smoother): negative velocity handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add reverse velocity handling for debug trajectories, and fix initialmotion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
…ckward driving (#18) * feat(obstacle_cruise_planner): deal with backward driving (autowarefoundation#1334) * feat(obstacle_cruise_planner): deal with backward driving Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * minor change Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * use isDrivingForward in motion_utils Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * refactor(motion_velocity_smoother): clean up code (autowarefoundation#1464) Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix(motion_velocity_smoother): reverse velocity handling (autowarefoundation#1465) * fix(motion_velocity_smoother): negative velocity handling Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * add reverse velocity handling for debug trajectories, and fix initialmotion calculation Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
…r_0.29 fix(goal_planner): fix lane departure check not working correctly due to uninitialized variable
Description
Fixed the negative velocity handling.
The correct process must be
Before this PR:
where, the negative velocity was not considered in the process 1 and 3.
The old process causes unintentional sudden stop or low speed for backward motion.
Additionaly, the
calcInitialMotion()
function was fixed.before:
after:
which was critical to driving at a slow speed.
Related links
Tests performed
Run in the parking scenario (or something that requires backward motion) and check if it runs correctly.
Notes for reviewers
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.