MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
invdyn.cc File Reference
#include "mbconfig.h"
#include "invdyn.h"
Include dependency graph for invdyn.cc:

Go to the source code of this file.

Functions

const char * invdyn2str (InverseDynamics::Order iOrder)
 

Function Documentation

const char* invdyn2str ( InverseDynamics::Order  iOrder)

Definition at line 36 of file invdyn.cc.

References InverseDynamics::ACCELERATION, InverseDynamics::INVERSE_DYNAMICS, InverseDynamics::POSITION, InverseDynamics::UNDEFINED, and InverseDynamics::VELOCITY.

Referenced by TotalJoint::AssRes(), Elem::AssRes(), TotalForce::AssRes(), and Joint::Update().

37 {
38  switch (iOrder) {
40  return "undefined";
41 
43  return "inverse dynamics";
44 
46  return "position";
47 
49  return "velocity";
50 
52  return "acceleration";
53  }
54 
55  return "unknown";
56 }