DeepBlueRobotics / lib199

Code that we reuse in different projects/years.
Other
2 stars 0 forks source link

Deprecate `CachedSparkMax` #47

Closed CoolSpy3 closed 1 year ago

CoolSpy3 commented 1 year ago

Fixes #46. This deprecates CachedSparkMax because Rev's implementation is better (see issue). This should be tested before merging to make sure that CAN usage doesn't spike. (It might be a good idea to make sure to use some getEncoder calls in periodic loops to stress test the change). CachedSparkMax should be deleted in an upcoming major release.