iCub-main
Public Member Functions | List of all members
PidFilter Class Reference

#include <pidfilter.h>

Public Member Functions

 PidFilter (void)
 
 PidFilter (double kp, double kd=0, double ki=0, double u=0.0)
 
 PidFilter (const PidFilter &f)
 
void operator= (const PidFilter &f)
 
virtual ~PidFilter (void)
 
void setKs (double kp, double kd=0.0, double ki=0.0, double u_max=0.0)
 
void reset (double error=0.0)
 
double pid (double error)
 
double getProportional (void) const
 
double getDerivative (void) const
 
double getIntegrative (void) const
 

Detailed Description

Definition at line 33 of file pidfilter.h.

Constructor & Destructor Documentation

◆ PidFilter() [1/3]

PidFilter::PidFilter ( void  )

Definition at line 33 of file pidfilter.cpp.

◆ PidFilter() [2/3]

PidFilter::PidFilter ( double  kp,
double  kd = 0,
double  ki = 0,
double  u = 0.0 
)

Definition at line 44 of file pidfilter.cpp.

◆ PidFilter() [3/3]

PidFilter::PidFilter ( const PidFilter f)

Definition at line 59 of file pidfilter.cpp.

◆ ~PidFilter()

PidFilter::~PidFilter ( void  )
virtual

Definition at line 55 of file pidfilter.cpp.

Member Function Documentation

◆ getDerivative()

double PidFilter::getDerivative ( void  ) const
inline

Definition at line 109 of file pidfilter.h.

◆ getIntegrative()

double PidFilter::getIntegrative ( void  ) const
inline

Definition at line 110 of file pidfilter.h.

◆ getProportional()

double PidFilter::getProportional ( void  ) const
inline

Definition at line 108 of file pidfilter.h.

◆ operator=()

void PidFilter::operator= ( const PidFilter f)

Definition at line 70 of file pidfilter.cpp.

◆ pid()

double PidFilter::pid ( double  error)
inline

Definition at line 74 of file pidfilter.h.

◆ reset()

void PidFilter::reset ( double  error = 0.0)
inline

Definition at line 67 of file pidfilter.h.

◆ setKs()

void PidFilter::setKs ( double  kp,
double  kd = 0.0,
double  ki = 0.0,
double  u_max = 0.0 
)
inline

Definition at line 57 of file pidfilter.h.


The documentation for this class was generated from the following files: