We are trying to run the Talon SRX with position control loop using a CTR magnetic encoder as the feedback device. However when we run the loop then selected encoder is not updating with new values in the web interface but just stays at 0 despite the fact that the magnetic encoder shown just below it on the web interface is working(see picture to get what I mean). I am not sure if we are just not calling out the encoder properly in our code but I have attached attached the subsystem we are using in our code to pivot the arm into one of three positions.
Any help would be greatly appreciated! Thanks in advance.