wpilibj Encoder class deprecates methods required by implemented interface #6781
Unanswered
spacey-sooty
asked this question in
General
Replies: 2 comments
-
The Encoder methods were marked deprecated in #4205, but I can't find a record for why beyond the deprecation warning. It was probably related to the Counter rewrite Thad did. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The Javadoc claims that you should use other methods instead; I assume the deprecation was done to ensure teams would be aware they shouldn't use those methods. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The CounterBase interface requires a getPeriod and setMaxPeriod method which the wpilib encoder class has, but deprecates. What is the motivation behind this? Is it a flaw in the design of CounterBase or Encoder?
Beta Was this translation helpful? Give feedback.
All reactions