52 m_getProcessVariable = getProcessVariable;
53 m_setManipulatedVariable = setManipulatedVariable;
66 std::function<agx::Real(const agx::TimeStamp&)> m_getProcessVariable;
67 std::function<void(agx::Real)> m_setManipulatedVariable;
Plant(std::function< agx::Real(const agx::TimeStamp &)> getProcessVariable, std::function< void(agx::Real)>setManipulatedVariable)
Create a plant.
The Plant (aka the Physical System) is added to the ControllHandler in the Control System...
Derive from this class to implement a listener for simulation step events.
virtual agx::Real getProcessVariable(const agx::TimeStamp &time)
#define AGX_DECLARE_POINTER_TYPES(type)
Base class providing referencing counted objects.
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
This is a PID handler that collects the Plant measured Process Variable (PV) and execute PID update()...
A simple base class for a controller with a set point and an out signal.
virtual void setManipulatedVariable(agx::Real manipulatedVariable)
Set the Manipulated Variable(MV) controlling the Plant, also known as Control Variable.