MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::InverseKineticsJoint Class Reference
Inheritance diagram for MBSim::InverseKineticsJoint:
MBSim::Joint MBSim::LinkMechanics MBSim::Link MBSim::Element

List of all members.

Public Member Functions

 InverseKineticsJoint (const std::string &name)
virtual void updateb (double t)
void calcbSize ()
 calculates size of rfactors
void setBody (RigidBody *body_)
- Public Member Functions inherited from MBSim::Joint
 Joint (const std::string &name)
 constructor
virtual ~Joint ()
 destructor
virtual void updatewb (double t, int i=0)
virtual void updateW (double t, int i=0)
virtual void updateh (double t, int i=0)
virtual void updateg (double t)
virtual void updategd (double t)
virtual void updateJacobians (double t, int j=0)
virtual void updatexd (double t)
virtual void updatedx (double t, double dt)
virtual void calcxSize ()
virtual void init (InitStage stage)
 plots time series header
virtual void calclaSize (int j)
 calculates size of contact force parameters
virtual void calcgSize (int j)
 calculates size of relative distances
virtual void calcgdSize (int j)
 calculates size of relative velocities
virtual void calcrFactorSize (int j)
 calculates size of rfactors
virtual bool isSetValued () const
virtual bool isActive () const
virtual bool gActiveChanged ()
virtual void solveImpactsFixpointSingle (double dt)
 solve contact equations of motion with single step fixed point scheme on velocity level
virtual void solveConstraintsFixpointSingle ()
 solve contact equations of motion with single step fixed point scheme on acceleration level
virtual void solveImpactsGaussSeidel (double dt)
 solve contact equations of motion with Gauss-Seidel scheme on velocity level
virtual void solveConstraintsGaussSeidel ()
 solve contact equations of motion with Gauss-Seidel scheme on acceleration level
virtual void solveImpactsRootFinding (double dt)
 solve contact equations of motion with Newton scheme on velocity level
virtual void solveConstraintsRootFinding ()
 solve contact equations of motion with Newton scheme on acceleration level
virtual void jacobianConstraints ()
 computes JACOBIAN and mass action matrix of nonlinear contact equations on acceleration level
virtual void jacobianImpacts ()
 computes JACOBIAN and mass action matrix of nonlinear contact equations on velocity level
virtual void updaterFactors ()
 updates rfactor relaxation for contact equations
virtual void checkImpactsForTermination (double dt)
 verify underlying force laws on velocity level concerning given tolerances
virtual void checkConstraintsForTermination ()
 verify underlying force laws on acceleration level concerning given tolerances
virtual void plot (double t, double dt=1)
 plots time dependent data
virtual void connect (Frame *frame1, Frame *frame2)
 second frame to connect
void setForceLaw (GeneralizedForceLaw *rc)
void setMomentLaw (GeneralizedForceLaw *rc)
void setImpactForceLaw (GeneralizedImpactLaw *rc)
void setImpactMomentLaw (GeneralizedImpactLaw *rc)
void setForceDirection (const fmatvec::Mat &fd)
void setMomentDirection (const fmatvec::Mat &md)
virtual void initializeUsingXML (TiXmlElement *element)
- Public Member Functions inherited from MBSim::Element
 Element (const std::string &name)
 constructor
virtual ~Element ()
 destructor
virtual void initDataInterfaceBase (DynamicSystemSolver *parentds)
 TODO.
virtual void setDynamicSystemSolver (DynamicSystemSolver *sys)
virtual void plotAtSpecialEvent (double t, double dt=1)
 plots time dependent data at special events
const std::string & getName () const
const std::string getShortName () const
void setName (const std::string &str)
DynamicSystemSolver * getDynamicSystemSolver ()
virtual void createPlotGroup ()
 creates the plotGroup for H5-output
H5::Group * getPlotGroup ()
virtual void setPlotFeature (PlotFeature pf, PlotFeatureStatus value)
 Set a plot feature.
void setPlotFeatureForChildren (PlotFeature pf, PlotFeatureStatus value)
 Set a plot feature for the children of this object.
void setPlotFeatureRecursive (PlotFeature pf, PlotFeatureStatus value)
 Set a plot feature for this object and the children of this object.
PlotFeatureStatus getPlotFeature (PlotFeature pf)
PlotFeatureStatus getPlotFeatureForChildren (PlotFeature pf)
template<class T >
T * getByPath (std::string path)
 a general element access
virtual Element * getParent ()
virtual const Element * getParent () const
virtual void setParent (Element *parent_)
std::string getPath (char pathDelim='.')

Protected Attributes

RigidBody * body
- Protected Attributes inherited from MBSim::Joint
fmatvec::Index IT
 indices of forces and torques
fmatvec::Index IR
fmatvec::Mat forceDir
 local force and moment direction
fmatvec::Mat momentDir
fmatvec::Mat Wf
 global force and moment direction
fmatvec::Mat Wm
fmatvec::Mat JT
 translational JACOBIAN (not empty for e.g.
fmatvec::Vec WrP0P1
 difference vector of position, velocity and angular velocity
fmatvec::Vec WvP0P1
fmatvec::Vec WomP0P1
GeneralizedForceLaw * ffl
 constitutive laws on acceleration and velocity level for forces and torques
GeneralizedForceLaw * fml
GeneralizedImpactLaw * fifl
GeneralizedImpactLaw * fiml
fmatvec::Vec gdn
 relative velocity and acceleration after an impact for event driven scheme summarizing all possible contacts
fmatvec::Vec gdd
Frame C
 own frame located in second partner with same orientation as first partner
- Protected Attributes inherited from MBSim::Element
Element * parent
std::string name
 name of element
DynamicSystemSolver * ds
 dynamic system
H5::VectorSerie< double > * plotVectorSerie
 time series
std::vector< double > plotVector
 one entry of time series
std::vector< std::string > plotColumns
 columns of time series
H5::Group * plotGroup
 associated plot group

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