-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Lateral torque controller: use current desired curvature for PI error #36125
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
Closed
Closed
Changes from 36 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
224ea93
use current desired curvature for error instead of plan indexed with …
felsager 4fea166
fix typo
felsager cf0aa85
correct function call
felsager f55fb02
test should accomodate change
felsager 8582b92
only give raw desired curvature to torque controlled platforms
felsager 33f9aad
raw desired curvature as input to all controllers
felsager e841e9c
update ref
felsager 57687aa
.
felsager faa3d02
keep it clean
felsager 592fb97
keep it clean
felsager cc66562
keep it clean
felsager 762f012
desired lat accel buffer
felsager 44319b7
update ref
felsager cafa6b9
use deque and add type annotation for confusing variables
felsager 9d9f94c
use deque and add type annotation for confusing variables
felsager d5a522b
don't use expected lat accel for friction
felsager 639afc8
update ref
felsager acf3863
use current expected curvature for low speed factor
felsager 106b3b6
type lat_delay
felsager f8c2a7d
types in different pr and index from end of array
felsager 69b3ea1
try half delay
felsager 997cfed
try zero delay
felsager 2688663
full lag for testing
felsager 843295d
tweak torqued
felsager fb93974
only use expected error for pid
felsager ffadc70
only use expected error for pid
felsager 2fa7e51
only use expected error for pid
felsager e517c4d
correct low speed compensation
felsager d18423b
use expected error for the integrator
felsager 176d5fa
activate derivative action
felsager c1cf773
derivative to compensate large changes
felsager 603fb8a
no kd for now
felsager 3541931
updated opendbc with branch
felsager 32ea793
initialize pid with derivative coefficient
felsager fd14a2d
set k_d properly
felsager 8cbb481
use expected error
felsager e00931a
reference derivative feedforward
felsager 6f81ce7
improve pid naming convention and use dt for controls
felsager 1ca982c
only use measurement derivative for derivative compensation
felsager 2b1e5ab
negative meas rate instead of err rate
felsager 0375886
friction based on expected jerk
felsager d97fd3b
friction based on expected jerk use tanh
felsager 0729235
ff friction
felsager File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Submodule opendbc_repo
updated
72 files
Submodule panda
updated
8 files
| +18 −0 | board/boards/cuatro.h | |
| +20 −1 | board/can.h | |
| +1 −1 | board/drivers/led.h | |
| +1 −1 | board/drivers/spi.h | |
| +0 −10 | board/main.c | |
| +23 −2 | board/stm32h7/sound.h | |
| +1 −1 | setup.sh | |
| +2 −1 | tests/hitl/7_internal.py |
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| afcab1abb62b9d5678342956cced4712f44e909e | ||
| 4e2926cc457a057980633163eabe062e421e9ff6 |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.