1#ifndef __PIDController_H
2#define __PIDController_H
20 PIDController(
const std::string& simObjectName, ISimObjectCreator*
const creator);
21 virtual void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool bIsMajorTimeStep);
23 #ifdef FH_VISUALIZATION
25 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator){}
28 virtual void RenderUpdate(
const double T,
const double*
const X){}
32 const double*
Out(
const double T,
const double *
const X);
35 double m_ControlValue;
36 ISignalPort* m_InCurrent;
Definition: PIDController.h:18
ISignalPort * m_InCurrentRate
Current position.
Definition: PIDController.h:37
int m_IErrorIntegral
Desired position.
Definition: PIDController.h:40
double m_LastTime
used in numerical differentiation
Definition: PIDController.h:44
double m_CurrentNumericalDerivative
The relative index of the StatePositionErrorSum state in the state array.
Definition: PIDController.h:42
const double * Out(const double T, const double *const X)
returns object derivatives as a function of time, states and input ports
ISignalPort * m_InDesired
Current position.
Definition: PIDController.h:38
virtual void OdeFcn(const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
reads parameters, registers states, input/output ports and shared resources
ISignalPort * m_InDesiredRate
Desired position.
Definition: PIDController.h:39
Simple waypoint object.
Definition: CableAttach.h:16