38 m_controllable(controllable)
40 assert(controllable != NULL);
52 throw std::runtime_error (
"Timestep must be positive.");
62 throw std::runtime_error (
"Timestep must be positive.");
virtual ~tgBasicController()
tgControllable * m_controllable
virtual void setControlInput(double input)=0
Definition of the tgControllable abstract base class.
virtual void setNewSetPoint(double newSetPoint)
virtual void control(double dt)
virtual void control(double dt, double setPoint, double sensorData=0)
tgBasicController(tgControllable *controllable, double setPoint=0.0)
Definition of the tgBasicController base class.