-
Notifications
You must be signed in to change notification settings - Fork 668
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(pid_longitudinal_controller): better slope compensation #5095
fix(pid_longitudinal_controller): better slope compensation #5095
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #5095 +/- ##
==========================================
- Coverage 15.02% 15.00% -0.02%
==========================================
Files 1608 1608
Lines 111740 111712 -28
Branches 34645 34641 -4
==========================================
- Hits 16788 16762 -26
- Misses 76244 76248 +4
+ Partials 18708 18702 -6
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
3019ad8
to
02c0c52
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.
LGTM.
Note: we need a trajectory even after the goal point for a few meters to get the slope information. This should be implemented in the goal planner, I guess?
…foundation#5095) Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…foundation#5095) Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Description
Depends on #5090
In the case where the slope angle is positive before the goal and negative after the goal as shown in the figure, the current slope compensation works in the opposite direction.
Tests performed
psim
Effects on system behavior
Better slope compensation when arriving at the goal.
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.