|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.org.toot.control.AbstractLaw
uk.org.toot.control.LinearLaw
public class LinearLaw
A linear control law.
Constructor Summary | |
---|---|
LinearLaw(float min,
float max,
java.lang.String units)
|
Method Summary | |
---|---|
int |
intValue(float v)
return the integer value for user value valid integers are 0 .. |
float |
userValue(int v)
return the user value for the integer value valid integers are 0 .. |
Methods inherited from class uk.org.toot.control.AbstractLaw |
---|
getMaximum, getMinimum, getResolution, getUnits |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinearLaw(float min, float max, java.lang.String units)
Method Detail |
---|
public int intValue(float v)
ControlLaw
public float userValue(int v)
ControlLaw
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |