View Single Post
  #1   Spotlight this post!  
Unread 02-22-2016, 11:44 PM
Phil De Jong Phil De Jong is offline
Registered User
FRC #5078
 
Join Date: Feb 2016
Location: Calgary
Posts: 2
Phil De Jong is an unknown quantity at this point
Help with Talon SRX - CTR magnetic encoder issue

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.
Attached Thumbnails
Click image for larger version

Name:	talon output.png
Views:	91
Size:	176.1 KB
ID:	20158  Click image for larger version

Name:	code.png
Views:	35
Size:	218.2 KB
ID:	20159  
Reply With Quote