|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Controller
Generic feedback-based controller interface.
Method Summary | |
---|---|
float |
control(float target,
float sample)
Calculates the controller output given a target and current sample of the controlled variable. |
Method Detail |
---|
float control(float target, float sample)
Invoke this method at a regular interval to calculate updates to the controller output.
target
- target value of the sampled quantitysample
- value of most recent sample
|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |