Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Talon SRX Encoder Type? Closed Loop Problems (http://www.chiefdelphi.com/forums/showthread.php?t=133413)

Chris_Elston 23-01-2015 19:45

Talon SRX Encoder Type? Closed Loop Problems
 
Reading in the CrossRoad manuals, it references using a 360 CPR encoder for the hardware requirement for the Talon SRX. We have a 1000 CPR US Digital Encoder. We don't see a way to change the encoder type or (2x,4x) sampling in the Talon SRX. Did we over look something?

Also, is there a sample of Labview somewhere that shows a Talon SRX in closed loop position mode? We are not able to get a close loop mode on the Talon working yet, which might be related to our feedback sensor type and configuration at a hardware level.

James Kuszmaul 23-01-2015 19:58

Re: Talon SRX Encoder Type? Closed Loop Problems
 
I'm presuming that you found this reference here in section 17.1? It just uses a 360CPR encoder as an example.

There is no specific CPR specification for the Talon SRX--neither the talon nor the wpilib CANTalon class care about the counts per revolution of the encoder; all positions are expressed in terms of numbers of counts, so so long as you don't move your encoder so fast that the talon can't count, you should be fine (unless you are doing something particularly odd, this won't be an issue).

I can't find any other references to a 360 count per revolution encoder in the Talon SRX documentation available through vex, but if you are seeing something else, please reference it.

ozrien 23-01-2015 19:59

Re: Talon SRX Encoder Type? Closed Loop Problems
 
Quote:

360 CPR encoder for the hardware requirement for the Talon SRX
Where does it say that? There is no practical limit on CPR. Latest User guide says 80million divided by your peak RPM is the limit.

ozrien 23-01-2015 20:01

Re: Talon SRX Encoder Type? Closed Loop Problems
 
Also the Talon is always in 4x mode (read Section 21.8 in software reference manual)

Chris_Elston 23-01-2015 23:02

Re: Talon SRX Encoder Type? Closed Loop Problems
 
@James yes that was the section we found. It does use the words "example". I think after tinkering with it alittle more tonight, me and my lead student figure it out. We have moved on to "tuning" now. Thanks everyone.


All times are GMT -5. The time now is 01:52.

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