Implementation of PID regulator, the object should be constructed and populated with pid<T>::conf structure with configuration values (p,i,d coeficients, min/max output vals).
More...
#include <pid.h>
template<typename TimeType>
struct emlabcpp::pid< TimeType >
Implementation of PID regulator, the object should be constructed and populated with pid<T>::conf structure with configuration values (p,i,d coeficients, min/max output vals).
The object contains all relevantstate data and should be called regularly.
based on http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/
◆ config
template<typename TimeType >
◆ time_type
template<typename TimeType >
◆ pid()
template<typename TimeType >
◆ cfg
template<typename TimeType >
◆ i_sum
template<typename TimeType >
◆ last_measured
template<typename TimeType >
◆ last_time
template<typename TimeType >
◆ output
template<typename TimeType >
The documentation for this struct was generated from the following file: