|
Nebula
|
Public Member Functions | |
| Quaternion | Update (double dt) |
| Perform one step/loop/update of the PID controller. | |
| Quaternion | AdvanceToTime (double curTime) |
| Advance to curTime, and perform N steps based on stepSize. | |
Public Attributes | |
| double | time = 0.0 |
| The time at which the state is currently in. | |
| double | stepSize = 0.001 |
| float | gain = -1.0f |
| Quaternion | goal |
| Quaternion | state |
| float | lastError = 0.0f |
|
inline |
Advance to curTime, and perform N steps based on stepSize.
|
inline |
Perform one step/loop/update of the PID controller.
| float PQuatFeedbackLoop.gain = -1.0f |
| Quaternion PQuatFeedbackLoop.goal |
| float PQuatFeedbackLoop.lastError = 0.0f |
| Quaternion PQuatFeedbackLoop.state |
| double PQuatFeedbackLoop.stepSize = 0.001 |
| double PQuatFeedbackLoop.time = 0.0 |
The time at which the state is currently in.
You generally don't have to change this. If you need to feed delta time into the system, instead change the stepSize before calling Update.