MOOS 0.2375
Public Member Functions | Protected Attributes
CPitchZPID Class Reference

#include <PitchZPID.h>

Inheritance diagram for CPitchZPID:
Inheritance graph
[legend]
Collaboration diagram for CPitchZPID:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 43 of file PitchZPID.h.


Constructor & Destructor Documentation

CPitchZPID::CPitchZPID ( )

Definition at line 41 of file PitchZPID.cpp.

CPitchZPID::~CPitchZPID ( ) [virtual]

Definition at line 55 of file PitchZPID.cpp.


Member Function Documentation

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.

bool CPitchZPID::SetAsDepthController ( bool  bIsDepth)

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.

bool CPitchZPID::SetReversing ( bool  bReverse)

Definition at line 132 of file PitchZPID.cpp.


Member Data Documentation

true if we are actually controlling depth

Definition at line 71 of file PitchZPID.h.

Definition at line 72 of file PitchZPID.h.

double CPitchZPID::m_dfPitchDesired [protected]

Definition at line 73 of file PitchZPID.h.

Definition at line 67 of file PitchZPID.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines