|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjaron.autopilot.Stabilization
public class Stabilization
The Stabilization
class provides a PID controller algorithm.
Nested Class Summary | |
---|---|
static class |
Stabilization.PID
The PID class provides the PID gains and holds the current
state of the PID controller. |
Constructor Summary | |
---|---|
Stabilization()
|
Method Summary | |
---|---|
static double |
updatePID(Stabilization.PID pid,
double error)
Updates the PID controller according to the settings and the states that are provided via the pid parameter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Stabilization()
Method Detail |
---|
public static double updatePID(Stabilization.PID pid, double error)
pid
- PID settings and current PID stateerror
- the difference between the target value and the current value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |