modm API documentation
modm::Pid< T, ScaleFactor >::Parameter Struct Reference

Parameter for a PID calculation. More...

#include <modm/math/filter/pid.hpp>

Public Member Functions

 Parameter (const float &kp=0, const float &ki=0, const float &kd=0, const T &maxErrorSum=0, const T &maxOutput=0)
 
void setKp (float kp)
 
void setKi (float ki)
 
void setKd (float kd)
 
void setMaxErrorSum (float maxErrorSum)
 

Friends

class Pid
 

Detailed Description

template<typename T, unsigned int ScaleFactor = 1>
struct modm::Pid< T, ScaleFactor >::Parameter

Parameter for a PID calculation.

Constructor & Destructor Documentation

template<typename T , unsigned int ScaleFactor = 1>
modm::Pid< T, ScaleFactor >::Parameter::Parameter ( const float &  kp = 0,
const float &  ki = 0,
const float &  kd = 0,
const T &  maxErrorSum = 0,
const T &  maxOutput = 0 
)

The documentation for this struct was generated from the following file: