View Single Post
  #1   Spotlight this post!  
Unread 08-03-2015, 19:47
xNovax's Avatar
xNovax xNovax is offline
Registered User
AKA: Aaron
FRC #3710 (Cyber Falcons)
Team Role: Programmer
 
Join Date: Oct 2014
Rookie Year: 2013
Location: Kingston, Ontario
Posts: 11
xNovax is an unknown quantity at this point
[Help] Problems with Encoders and PID Control

I have run into an issue with an encoder on my teams robot, the encoder was working fine at the beginning of the day but as the day went on the encoder stopped working. Now we cannot get any encoders to work on the robot. Here is what we have tried: Replace the encoder with a new one, change the wire connection to the encoder, changing the DIO port for the encoder, triple checking our code, testing the DIO ports with a limit switch(successful) and power cycling the robot and our drive station.

I have become stumped with what is causing the issue. My mentors seem to think that it is something to do with software but I have checked the code multiple times.

Here is our code: https://github.com/Cyberfalcons/robot2015

Here is the class where the encoder is being used: https://github.com/Cyberfalcons/robo...nElevator.java

Any help is greatly appreciated!