Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Feed Forward Gain Question for Talon SRX? (http://www.chiefdelphi.com/forums/showthread.php?t=143773)

Tparbotmail 13-02-2016 13:42

Feed Forward Gain Question for Talon SRX?
 
We are using E4T Quadrature Encoders with a CPR of 360. The SRX Software guide states on page 109.

17.2.1. API requirements and Native Units for Unit Scaling
Native Units Per Mechanical Rotation (also the resolution)

Quadrature Encoder 4 X CPR

ConfigEncoderCodesPerRev() <= The Java API documentation implies this should be set to CPR = 360

The doc kind of implies that ConfigEncoderCodesPerRev() should be set to 4 x CPR (or 360 in our case)

Also then when calculating F-Gain what do you use 360 or 1440

is F-Gain = (.5 x 1023) / 1440
or
is F-Gain = (.5 x 1023) / 360

So two questions
what is the proper value for the denominator in F-Gain calc?
What do we plug in for ConfigEncoderCodesPerRev() ? (360 or 1440)


All times are GMT -5. The time now is 08:38.

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