The encoders i am trying are:
- E4P-360-236-D-H-T-3
- E4P-250-250-D-D-D-B
I seem to be having a software issue when it comes to encoders listed above. I have a series of problems that occur when debugging.
1. The values from the encoder are increasing or decreasing based on whether the robot is enabled or not
2. The values from the encoder are all 0
3. The values of the encoder continuously decrease but stop decreasing when the motors are spinning
My team has ruled out any wiring issues.
We are programming in C++ via Windriver. All software is up to date. We are using the encoder class the the WPILib. I start the encoder in the robot init. Reset it upon entering tel-op. I retrieve the values via GetRaw(), Get(), GetDistance(), and GetDirection
Please let me know if anyone has had this problem and/or knows of a solution. Thanks!