|
BowlerKernel
|
Public Member Functions | |
| double | compute (double currentState, double target, double seconds) |
Definition at line 3 of file IClosedLoopController.java.
| double com.neuronrobotics.sdk.common.IClosedLoopController.compute | ( | double | currentState, |
| double | target, | ||
| double | seconds | ||
| ) |
This is an interface for a single axis generic closed loop controller Linear PID controllers are the simplest form, but any other form of control could be implemented that opperates on this interface
| currentState | the value that reperesents the curent state of the linear system |
| target | the desired target state of the control system |
| seconds | the amount of time this computation should calculate the velocity for. |
Referenced by com.neuronrobotics.bowlerstudio.physics.HingeCSGPhysicsManager.update(), and com.neuronrobotics.bowlerstudio.physics.WheelCSGPhysicsManager.update().