View Single Post
  #3   Spotlight this post!  
Unread 09-03-2016, 09:47
sagrossm sagrossm is offline
Registered User
AKA: Sam
FRC #5712 (Hemlock's Gray Matter)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2016
Location: Hemlock, MI
Posts: 13
sagrossm is a name known to allsagrossm is a name known to allsagrossm is a name known to allsagrossm is a name known to allsagrossm is a name known to allsagrossm is a name known to all
Re: How to program Talon SRX Encoders?

If you are trying to use an encoder for a motor connected to a talon, you should just be able to receive values from the encoder through the motor object. For instance if you have an encoder on "winch" you should be able to use

winch.getEncPosition() or winch.getEncVelocity()

to get values from the encoder. Also you must use CANTalon and not just Talon to get values from the encoders.
Reply With Quote