New and better PID framework for using SmartMotion PID with a CanSparkMax#27
New and better PID framework for using SmartMotion PID with a CanSparkMax#27
Conversation
|
@JayAgra could the linter automatically make corrections? |
|
|
there are several instances of code that are noted as being untested (and some as potentially dangerous) since checking code into MaroonFramework implies that it's going to persist for years to come, we generally want to have higher confidence in its reliability. having to-do's in code like this doesn't necessarily block it from being merged, but do you have a plan to revisit this code soon to resolve these issues? |
fixed |
f327383 to
21b05d0
Compare
|
the lint failure is expected. @TTVMixmix00 - this branch needs to be rebased to get the latest linter config. |
| } | ||
|
|
||
| if (comboOfTimesInsideDeadzone >= 6) { | ||
| theState = PIDState.ANTIGRAV; |
There was a problem hiding this comment.
we need a flag to disable antigrav if its not needed
also, I realized Brake mode is missing
There was a problem hiding this comment.
I think you did not push your changes
There was a problem hiding this comment.
initial bringup of RevA robot
Basically this code takes the rough code that we made during the season and makes it into a class that we are able to instantiate versions of so that new PID code doesn't have to be that hard to follow (or for lack of a better word, bad).
This change is