Repository navigation
feat(pid_long): apply slope compensation for stopped acc - #12007
Merged
yuki-takagi-66 merged 1 commit intoFeb 25, 2026
Merged
yuki-takagi-66 merged 1 commit into
yuki-takagi-66 merged 1 commit into
Conversation
|
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
yuki-takagi-66
marked this pull request as ready for review
January 30, 2026 04:32
yuki-takagi-66
requested review from
TakaHoribe,
soblin and
takayuki5168
as code owners
January 30, 2026 04:32
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12007 +/- ##
==========================================
+ Coverage 18.13% 19.13% +0.99%
==========================================
Files 1839 1865 +26
Lines 126417 127456 +1039
Branches 44329 46752 +2423
==========================================
+ Hits 22922 24383 +1461
- Misses 84399 85189 +790
+ Partials 19096 17884 -1212
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
yuki-takagi-66
force-pushed
the
takagi/pid/apply-slope-comensation-for-stopped-state
branch
from
February 2, 2026 10:41
7be17ef to
70f9787
Compare
kyoichi-sugahara
approved these changes
Feb 20, 2026
Signed-off-by: yuki-takagi-66 <yuki.takagi@tier4.jp>
yuki-takagi-66
force-pushed
the
takagi/pid/apply-slope-comensation-for-stopped-state
branch
from
February 20, 2026 06:37
70f9787 to
b59a514
Compare
yuki-takagi-66
merged commit Feb 25, 2026
9eec3a4
into
autowarefoundation:main
43 of 44 checks passed
yuki-takagi-66
deleted the
takagi/pid/apply-slope-comensation-for-stopped-state
branch
February 25, 2026 08:05
mkquda
pushed a commit
to tier4/autoware_universe
that referenced
this pull request
Mar 16, 2026
…ndation#12007) add slope compensation for stopped acc Signed-off-by: yuki-takagi-66 <yuki.takagi@tier4.jp>
mkquda
pushed a commit
to tier4/autoware_universe
that referenced
this pull request
Apr 22, 2026
…ndation#12007) add slope compensation for stopped acc Signed-off-by: yuki-takagi-66 <yuki.takagi@tier4.jp>
This was referenced May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Currently, stopped_acc does not take road slope into account. Therefore, it is necessary to set a value strong enough to hold the vehicle on the steepest expected slope.
This change adds deceleration value equivalent to the absolute value of the slope to the braking command. This allows for reliable stopping even if stopped_acc is set to a lower value (e.g., a value comparable to the slope).
Related links
How was this PR tested?
psim
Before: Uphill slope 10% with stopped_acc: 0.4
https://github.com/user-attachments/assets/8f85f115-03d5-49dc-b624-ed1d85d55195
After: Uphill slope 10% with stopped_acc: 0.4
https://github.com/user-attachments/assets/196bc272-2f3d-409f-9024-d90971f3ffff
Uphill slope 10% with stopped_acc: 3.4

Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.