Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <OutputPID.h>
Definition at line 6 of file OutputPID.h.
Public Member Functions | |
OutputPID () | |
Constructor. | |
OutputPID (const float p[3]) | |
Constructor, allows non-explicit conversion. | |
OutputPID (const float p[3], float w) | |
Constructor. | |
OutputPID (const float p, const float i, const float d, float w) | |
Constructor. | |
OutputPID (const OutputPID &a, const OutputPID &b, float w) | |
Constructor, see set(a,b,w). | |
void | set (const float p[3], float w=1) |
sets the value to v and weight to w | |
void | set (const float p, const float i, const float d, float w=1) |
sets the value to v and weight to w | |
void | set (const OutputPID &a, const OutputPID &b, float w) |
sets the value to a weighted average of a and b (higher w, more a) | |
void | unset () |
sets value and weight to 0 | |
Public Attributes | |
float | pid [3] |
pid value of the output | |
float | weight |
weight to be used in averaging, 0 to "fall through" | |
Protected Member Functions | |
void | set_pid (const float p[3]) |
void | set_pid (const float p, const float i, const float d) |
|
Constructor.
Definition at line 8 of file OutputPID.h. |
|
Constructor, allows non-explicit conversion.
Definition at line 9 of file OutputPID.h. |
|
Constructor.
Definition at line 10 of file OutputPID.h. |
|
Constructor.
Definition at line 11 of file OutputPID.h. |
|
Constructor, see set(a,b,w).
Definition at line 12 of file OutputPID.h. |
|
sets the value to a weighted average of a and b (higher w, more a)
Definition at line 18 of file OutputPID.h. |
|
sets the value to v and weight to w
Definition at line 15 of file OutputPID.h. |
|
sets the value to v and weight to w
Definition at line 14 of file OutputPID.h. Referenced by OutputPID(). |
|
< handy utility function Definition at line 35 of file OutputPID.h. |
|
< handy utility function Definition at line 30 of file OutputPID.h. Referenced by OutputPID(), and set(). |
|
sets value and weight to 0
Definition at line 24 of file OutputPID.h. |
|
pid value of the output
Definition at line 26 of file OutputPID.h. Referenced by OutputPID(), set(), set_pid(), PIDMC::setAllPowerLevel(), PIDMC::setJointPowerLevel(), MotionManager::setOutput(), and PIDMC::setRangePowerLevel(). |
|
weight to be used in averaging, 0 to "fall through"
Definition at line 27 of file OutputPID.h. Referenced by OutputPID(), set(), PIDMC::setAllPowerLevel(), PIDMC::setJointPowerLevel(), PIDMC::setRangePowerLevel(), and unset(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:19 2004 by Doxygen 1.3.4 |