MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::LinearRegularizedStribeckFriction Class Reference

function describing a linear regularized relationship between the input relative velocity and the output for Stribeck friction More...

#include <function.h>

Inheritance diagram for MBSim::LinearRegularizedStribeckFriction:
MBSim::Function2< fmatvec::Vec, fmatvec::Vec, double > MBSim::Function

List of all members.

Public Member Functions

 LinearRegularizedStribeckFriction ()
 constructor
 LinearRegularizedStribeckFriction (Function1< double, double > *fmu_, double gdLim_=0.01)
 constructor
virtual fmatvec::Vec operator() (const fmatvec::Vec &gd, const double &laN, const void *=NULL)
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
 initialize function with XML code
void setFrictionFunction (Function1< double, double > *fmu_)
void setMarginalVelocity (double gdLim_)

Protected Attributes

Function1< double, double > * fmu
 friction coefficient function
double gdLim
 border with respect to the relative velocity for the linear regularized increase of the friction force

Detailed Description

function describing a linear regularized relationship between the input relative velocity and the output for Stribeck friction

Author:
Martin Foerg
Date:
2009-08-31 some comments (Thorsten Schindler)
2010-01-09 beauty correction (Thorsten Schindler)
Todo:
put in function_library TODO

Constructor & Destructor Documentation

MBSim::LinearRegularizedStribeckFriction::LinearRegularizedStribeckFriction ( Function1< double, double > *  fmu_,
double  gdLim_ = 0.01 
) [inline]

constructor

Parameters:
functionfor friction coefficient depending on norm of relative velocity
borderwith respect to the relative velocity for the linear regularized increase of the friction force

Member Function Documentation

virtual void MBSim::LinearRegularizedStribeckFriction::initializeUsingXML ( MBXMLUtils::TiXmlElement *  element) [virtual]

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Function2< fmatvec::Vec, fmatvec::Vec, double >.

virtual fmatvec::Vec MBSim::LinearRegularizedStribeckFriction::operator() ( const fmatvec::Vec &  p1,
const double &  p2,
const void *  = NULL 
) [virtual]
Returns:
return value of function
Parameters:
argumentof function
optionalparameter class

Implements MBSim::Function2< fmatvec::Vec, fmatvec::Vec, double >.


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