-
Notifications
You must be signed in to change notification settings - Fork 611
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
[wpilib] Tunable Values API #7100
Conversation
This PR modifies commands. Please open a corresponding PR in Python Commands and include a link to this PR. |
I accidentally branched off of my tracer branch, ignore the commit history above |
My team has had a similar thing, backed by the persistent Our API makes it super easy to "lock" properties so they can no longer be tunable when you are done tuning. |
Persistent values are better left to the |
Another goal is to prevent primitive boxing, that's why the tunable value classes don't share a common parent with a generic for the value type or something. |
This allows users to more easily fetch values that have been edited from a dashboard. This is important for quickly iterating. If people think a
hasChanged
method would be a good idea I can add it. If this API is liked I will implement a cpp equivalent.