1#ifndef __HeadingPIDController_H
2#define __HeadingPIDController_H
22 virtual void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool bIsMajorTimeStep);
24 const double* Torque(
const double T,
const double *
const X);
25 const double* AngleDiff(
const double T,
const double *
const X);
27 #ifdef FH_VISUALIZATION
29 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator){}
32 virtual void RenderUpdate(
const double T,
const double*
const X){}
44 double HeadingDifference(
double from,
double to);
Definition: HeadingPIDController.h:19
ISignalPort * m_InCurrentYawRate
Current position.
Definition: HeadingPIDController.h:39
ISignalPort * m_InDesiredYawRate
Desired position.
Definition: HeadingPIDController.h:41
virtual void OdeFcn(const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
returns object derivatives as a function of time, states and input ports
ISignalPort * m_InCurrentHeading
Current position.
Definition: HeadingPIDController.h:38
ISignalPort * m_InDesiredHeading
Desired position.
Definition: HeadingPIDController.h:40
int m_IErrorIntegral
The relative index of the StatePositionErrorSum state in the state array.
Definition: HeadingPIDController.h:42
HeadingPIDController(const std::string &simObjectName, ISimObjectCreator *const creator)
reads parameters, registers states, input/output ports and shared resources
Simple waypoint object.
Definition: CableAttach.h:16