1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 08:28:36 -05:00
sdrangel/sdrbase/dsp/pidcontroller.cpp

18 lines
209 B
C++
Raw Normal View History

#include "pidcontroller.h"
PIDController::PIDController() :
m_p(0.0),
m_i(0.0),
m_d(0.0),
m_int(0.0),
m_diff(0.0)
{
}
void PIDController::setup(Real p, Real i, Real d)
{
m_p = p;
m_i = i;
m_d = d;
}