|
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.
|