91 float m_fltDelayBufferInterval;
136 virtual void AddGain(std::string strXml);
137 virtual void SetOriginID(std::string strXml);
138 virtual void SetDestinationID(std::string strXml);
140 virtual void SetDelayBufferSize();
142 virtual bool NeedsRobotSynch();
144 virtual void ApplyExternalNodeInput(
int iTargetDataType,
float fltNextVal);
152 virtual std::string SourceModule();
153 virtual void SourceModule(std::string strName);
155 virtual std::string SourceID();
156 virtual void SourceID(std::string strID);
158 virtual std::string SourceDataType();
159 virtual void SourceDataType(std::string strType);
161 virtual Node *SourceNode();
163 virtual std::string TargetModule();
164 virtual void TargetModule(std::string strName);
166 virtual std::string TargetID();
167 virtual void TargetID(std::string strID);
169 virtual std::string TargetDataType();
170 virtual void TargetDataType(std::string strType);
172 virtual Node *TargetNode();
174 virtual Gain *GetGain();
175 virtual void SetGain(Gain *lpGain);
177 virtual bool ConnectedToPhysics();
182 virtual float DelayBufferInterval();
183 virtual void DelayBufferInterval(
float fltVal);
185 virtual void DetachAdaptersFromSimulation();
187 virtual float RobotIOScale();
188 virtual void RobotIOScale(
float fltVal);
190 virtual bool SynchWithRobot();
191 virtual void SynchWithRobot(
bool bVal);
193 virtual float SynchUpdateInterval();
194 virtual void SynchUpdateInterval(
float fltVal);
196 virtual float SynchUpdateStartInterval();
197 virtual void SynchUpdateStartInterval(
float fltVal);
199 virtual float InitIODisableDuration();
200 virtual void InitIODisableDuration(
float fltVal);
202 virtual void Initialize();
203 virtual void TimeStepModified();
204 virtual void ResetSimulation();
205 virtual void AddExternalNodeInput(
int iTargetDataType,
float fltInput);
206 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
207 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
208 virtual float *GetDataPointer(
const std::string &strDataType);
209 virtual void StepSimulation();
210 virtual void Load(CStdXml &oXml);
Gain * m_lpGain
Pointer to the Gain that will be used to convert the source value into the target value...
Root namespace for the base simulation library for AnimatLab.
std::string m_strSourceModule
Name of the source NeuralModule.
float m_fltUpdatedValue
Set to 1 each time the adapter was updated and 0 otherwise. Use to chart when the adpater was updated...
float m_fltCalculatedVal
This is the value that will was calculated for this adpater. If you are using a delay buffer this may...
CStdCircularArray< float > m_aryDelayBuffer
std::string m_strSourceDataType
DateType of the source variable that will be converted. This is retrieved using the GetDataPointer me...
std::string m_strTargetDataType
Node * m_lpSourceNode
Pointer to the source node.
std::string m_strTargetModule
Name of the target NeuralModule.
std::string m_strSourceID
GUID ID of the source node.
std::string m_strTargetID
GUID ID of the target node.
Node * m_lpTargetNode
Pointer to the target node.
int m_iSynchTarget
The target count for synching.
bool m_bConnectedToPhysics
int m_iSynchUpdateStartInterval
The number of ticks between the first call to update for this adapter till the next update time...
float * m_lpSourceData
Pointer to the source data varaible.
int m_iSynchCount
Keeps track of the last time we did a synch for the robot.
Base class for body parts and neural network nodes.
float m_fltSynchUpdateInterval
This is how often we need to update this particular adapter.
float m_fltInitIODisableDuration
float m_fltNextVal
This is the value that will be passed into the adpters target.
int m_iTargetDataType
The m_strTargetDataType string is converted to an integer for use within the simulation loop to maxim...
float m_fltSynchUpdateStartInterval
int m_iSynchUpdateInterval
The number of ticks between each call to update for this adapter till the next update time...