Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   TalonSRX Speed Control (http://www.chiefdelphi.com/forums/showthread.php?t=143726)

wsh32 12-02-2016 23:18

TalonSRX Speed Control
 
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

Re: TalonSRX Speed Control
 
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

Re: TalonSRX Speed Control
 
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

Re: TalonSRX Speed Control
 
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

Re: TalonSRX Speed Control
 
Quote:

Originally Posted by wsh32 (Post 1539462)
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.


All times are GMT -5. The time now is 00:41.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi