-
Notifications
You must be signed in to change notification settings - Fork 617
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
[wpimath] Add setters for Feedforward gains #7784
Conversation
b4d7439
to
ff7ebd9
Compare
Why is your system's feedforward gains changing over time? |
It isn't. This allows tuning gains over NT without being locked into Sendable. |
Then we should document that these functions should only be used for online gain tuning. Any other use is incorrect. |
wpimath/src/main/native/include/frc/controller/SimpleMotorFeedforward.h
Outdated
Show resolved
Hide resolved
The PID controller setters don't have this? |
52ad9be
to
d254f2a
Compare
Signed-off-by: Jade Turner <[email protected]>
d254f2a
to
148d766
Compare
We should add it then. Feedback gain scheduling is a symptom of poorly modeling your system, given that most FRC systems are linear. |
I think we can merge this as-is and debate the comment side of things later? |
Would be nice if this makes it into the next release, I PRd this after needing these functions for a tuning impl |
No description provided.