Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ArmModel Class Reference

#include <armmodel.h>

Inheritance diagram for ArmModel:

PhysicalModel Advancable csimClass List of all members.

Detailed Description

Test class of physical model, for an arm. WITHOUT DELAY!!

Public Member Functions

Public Attributes

Protected Attributes

Private Member Functions

Private Attributes

Friends


Constructor & Destructor Documentation

ArmModel::ArmModel  ) 
 

Constructs a new arm model.

ArmModel::~ArmModel void   )  [virtual]
 

Frees the memory.


Member Function Documentation

int ArmModel::loadData bool  onlyReset  )  [private]
 

Loads the data from a .mat file. Returns 0 for success, -1 otherwise.

void ArmModel::reset  )  [virtual]
 

Resets the information stored within the model.

Reimplemented from PhysicalModel.

int ArmModel::transform double **  I,
double *  O
[virtual]
 

Transforms the current inputs to new output values.

Parameters:
I Array of pointers to input values from the readouts.
O Array of output values.
Returns:
-1 if an error occured, 1 for success.

Implements PhysicalModel.

int ArmModel::updateInternal  )  [virtual]
 

This function is called after parameters are updated.

Reimplemented from PhysicalModel.


Member Data Documentation

double ArmModel::mintheta1
 

Baseline parameter for theta1.

These parameters can be set with a csim('set',...) command.