PidVector3 encapsulates PID control for 3D vectors.
More...
|
Vector3 | output (Vector3 target, Vector3 actual) |
| Pid control from actual to target. Call in Update (not FixedUpdate), uses Time.deltaTime More...
|
|
void | CopySettings (Pid pid) |
| Copies the settings from param to this instance More...
|
|
PidVector3 encapsulates PID control for 3D vectors.
Definition at line 54 of file Pid.cs.
void PidVector3.CopySettings |
( |
Pid |
pid | ) |
|
Copies the settings from param to this instance
- Parameters
-
Definition at line 79 of file Pid.cs.
Vector3 PidVector3.output |
( |
Vector3 |
target, |
|
|
Vector3 |
actual |
|
) |
| |
Pid control from actual to target. Call in Update (not FixedUpdate), uses Time.deltaTime
- Parameters
-
target | Target. |
actual | Actual. |
Definition at line 67 of file Pid.cs.
68 error = target - actual;
Vector3 PidVector3.derivative |
|
getprivate set |
Vector3 PidVector3.integral |
|
getprivate set |
Vector3 PidVector3.previous_error |
|
getprivate set |
The documentation for this class was generated from the following file:
- Assets/botnavsim/Scripts/Robots/Pid.cs