MOOS 0.2375
|
#include <PitchZPID.h>
Public Member Functions | |
virtual bool | SetGoal (double dfGoal) |
virtual bool | SetLogPath (std::string &sPath) |
bool | SetLimits (double dfMaxPitch, double dfMaxElevator, double dfPitchIntegralLimit, double dfElevatorIntegralLimit) |
virtual bool | SetGains (double dfZToPitchKp, double dfZToPitchKd, double dfZToPitchKi, double dfPitchKp, double dfPitchKd, double dfPitchKi) |
bool | SetReversing (bool bReverse) |
bool | Run (double dfError, double dfErrorTime, double &dfOut, double dfPitch, double dfPitchTime) |
CPitchZPID () | |
virtual | ~CPitchZPID () |
bool | SetAsDepthController (bool bIsDepth) |
call this function if we are controlling depth with this controller | |
double | GetPitchDesired () |
Protected Attributes | |
CScalarPID | m_PitchPID |
bool | m_bIsDepth |
true if we are actually controlling depth | |
bool | m_bReversing |
double | m_dfPitchDesired |
Definition at line 43 of file PitchZPID.h.
CPitchZPID::CPitchZPID | ( | ) |
Definition at line 41 of file PitchZPID.cpp.
CPitchZPID::~CPitchZPID | ( | ) | [virtual] |
Definition at line 55 of file PitchZPID.cpp.
double CPitchZPID::GetPitchDesired | ( | ) | [inline] |
Definition at line 67 of file PitchZPID.h.
bool CPitchZPID::Run | ( | double | dfError, |
double | dfErrorTime, | ||
double & | dfOut, | ||
double | dfPitch, | ||
double | dfPitchTime | ||
) |
Definition at line 61 of file PitchZPID.cpp.
call this function if we are controlling depth with this controller
Definition at line 126 of file PitchZPID.cpp.
bool CPitchZPID::SetGains | ( | double | dfZToPitchKp, |
double | dfZToPitchKd, | ||
double | dfZToPitchKi, | ||
double | dfPitchKp, | ||
double | dfPitchKd, | ||
double | dfPitchKi | ||
) | [virtual] |
Definition at line 146 of file PitchZPID.cpp.
bool CPitchZPID::SetGoal | ( | double | dfGoal | ) | [virtual] |
Reimplemented from CScalarPID.
Definition at line 183 of file PitchZPID.cpp.
bool CPitchZPID::SetLimits | ( | double | dfMaxPitch, |
double | dfMaxElevator, | ||
double | dfPitchIntegralLimit, | ||
double | dfElevatorIntegralLimit | ||
) |
Definition at line 172 of file PitchZPID.cpp.
bool CPitchZPID::SetLogPath | ( | std::string & | sPath | ) | [virtual] |
Reimplemented from CScalarPID.
Definition at line 138 of file PitchZPID.cpp.
Definition at line 132 of file PitchZPID.cpp.
bool CPitchZPID::m_bIsDepth [protected] |
true if we are actually controlling depth
Definition at line 71 of file PitchZPID.h.
bool CPitchZPID::m_bReversing [protected] |
Definition at line 72 of file PitchZPID.h.
double CPitchZPID::m_dfPitchDesired [protected] |
Definition at line 73 of file PitchZPID.h.
CScalarPID CPitchZPID::m_PitchPID [protected] |
Definition at line 67 of file PitchZPID.h.