Log in

View Full Version : TalonSRX Speed Control


wsh32
12-02-2016, 23:18
My team is having trouble using the TalonSRX in speed control mode. The source code and self test log can we are using/getting can be found here: https://github.com/nerdherd/TalonSRX

My understanding of this is that the encoder velocity is not being fed into the control loop...and for some reason the Talon believes that the error is 409 (we tried other speeds too and the error is 409 no matter what).

Any tips?

gerthworm
13-02-2016, 08:32
One thing to try- Check the firmware version on the SRX. Latest is 2.0. We were using an srx similarly and had issues when that was out of date.

CHenry18
16-02-2016, 19:56
Hello,
Can I just use one TalonSRX and then use three Talons SR and not mess up the drive?
If I can, can I be able to send and receive code on the one talon SRX using the encoder?
Thanks,
CHenry18

p.s. Labview user

tedlasai
16-02-2016, 20:04
I would like to inform you that certain versions of the Talons have hardware defects and don't get a B channel from the encoder. Talon SRX has these hardware models posted on their site. If your encoders do have hardware defects then change the input from "digital quadrature" to "A Rising" and try again.

Hope this helps
Sai

ozrien
16-02-2016, 23:03
My team is having trouble using the TalonSRX in speed control mode. The source code and self test log can we are using/getting can be found here: https://github.com/nerdherd/TalonSRX

My understanding of this is that the encoder velocity is not being fed into the control loop...and for some reason the Talon believes that the error is 409 (we tried other speeds too and the error is 409 no matter what).

Any tips?

Please read "section 16.31 My Closed-Loop is not working? Now what?" in the software reference manual.