12#ifndef VirtualCurrentDir_H
13#define VirtualCurrentDir_H
16#include "sfh/constants.h"
27 void OdeFcn(
const double dT,
const double*
const adX,
double*
const adXDot,
const bool bIsMajorTimeStep){}
29 const double * Output(
const double T,
const double *
const X);
31#ifdef FH_VISUALIZATION
33 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator){}
36 virtual void RenderUpdate(
const double T,
const double*
const X){}
47 ISignalPort *m_InForce;
Definition: VirtualCurrentDir.h:20
double m_RefDir
Minimum force.
Definition: VirtualCurrentDir.h:42
ISignalPort * m_InRef
Input directions.
Definition: VirtualCurrentDir.h:46
VirtualCurrentDir(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.
double m_MaxRelDir
Reference direction.
Definition: VirtualCurrentDir.h:43
void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
Definition: VirtualCurrentDir.h:27
double m_MinimumForce[2]
The width of the input port.
Definition: VirtualCurrentDir.h:41
std::unique_ptr< double[]> m_Directions
Maximum change to the reference direction.
Definition: VirtualCurrentDir.h:44