mbsimcontrol  4.0.0
Public Member Functions | Protected Attributes | Private Attributes
MBSimControl::Actuator Class Reference

predefines load between two frames with additional possibility of rotation More...

#include <actuator.h>

List of all members.

Public Member Functions

 Actuator (const std::string &name="")
 constructor
virtual ~Actuator ()
 destructor
virtual void updateh (double t, int j=0)
virtual void updateg (double t)
virtual void updategd (double t)
virtual void init (InitStage stage)
virtual void calclaSize (int)
virtual bool isActive () const
virtual bool gActiveChanged ()
virtual bool isSingleValued () const
void setKOSY (int id)
void setSignal (Signal *signal_)
void connect (MBSim::Frame *frame1, MBSim::Frame *frame2)
void setForceDirection (const fmatvec::Mat &fd)
void setMomentDirection (const fmatvec::Mat &md)
void initializeUsingXML (xercesc::DOMElement *element)

Protected Attributes

fmatvec::Index IT
 indices of forces and moments
fmatvec::Index IR
fmatvec::Mat3xV forceDir
 local force and moment direction
fmatvec::Mat3xV momentDir
Signal * signal
 force / moment norm function
int KOSYID
 frame index for rotating forces
MBSim::Frame * refFrame
 frame of reference the force is defined in
MBSim::Frame C
 own frame located in second partner with same orientation as first partner

Private Attributes

std::string saved_inputSignal
std::string saved_ref1
std::string saved_ref2

Detailed Description

predefines load between two frames with additional possibility of rotation

Author:
Martin Foerg
Date:
2009-04-06 LinkMechanics added (Thorsten Schindler)
2009-07-16 splitted link / object right hand side (Thorsten Schindler)
Todo:

remove setUserfunction TODO

visualisation TODO


Constructor & Destructor Documentation

MBSimControl::Actuator::Actuator ( const std::string &  name = "")

constructor

Parameters:
name

Member Function Documentation

void MBSimControl::Actuator::connect ( MBSim::Frame *  frame1,
MBSim::Frame *  frame2 
)
Parameters:
firstframe to connect
secondframe to connect
void MBSimControl::Actuator::setForceDirection ( const fmatvec::Mat &  fd)
Parameters:
localforce direction
void MBSimControl::Actuator::setMomentDirection ( const fmatvec::Mat &  md)
Parameters:
localmoment direction

The documentation for this class was generated from the following file: