DART  6.7.3
GenericJoint.hpp File Reference

Go to the source code of this file.

Namespaces

 dart
 
 dart::dynamics
 

Macros

#define GenericJoint_REPORT_DIM_MISMATCH(func, arg)
 
#define GenericJoint_REPORT_OUT_OF_RANGE(func, index)
 
#define GenericJoint_REPORT_UNSUPPORTED_ACTUATOR(func)
 
#define GenericJoint_SET_IF_DIFFERENT(mField, value)
 

Macro Definition Documentation

◆ GenericJoint_REPORT_DIM_MISMATCH

#define GenericJoint_REPORT_DIM_MISMATCH (   func,
  arg 
)
Value:
{\
dterr << "[GenericJoint::" #func "] Mismatch beteween size of "\
<< #arg " [" << arg .size() << "] and the number of "\
<< "DOFs [" << getNumDofs() << "] for Joint named ["\
<< this->getName() << "].\n";\
assert(false);\
}

◆ GenericJoint_REPORT_OUT_OF_RANGE

#define GenericJoint_REPORT_OUT_OF_RANGE (   func,
  index 
)
Value:
{\
dterr << "[GenericJoint::" << #func << "] The index [" << index\
<< "] is out of range for Joint named [" << this->getName()\
<< "] which has " << this->getNumDofs() << " DOFs.\n";\
assert(false);\
}
std::size_t index
Definition: SkelParser.cpp:1617

◆ GenericJoint_REPORT_UNSUPPORTED_ACTUATOR

#define GenericJoint_REPORT_UNSUPPORTED_ACTUATOR (   func)
Value:
{\
dterr << "[GenericJoint::" # func "] Unsupported actuator type ("\
<< Joint::mAspectProperties.mActuatorType << ") for Joint ["\
<< this->getName() << "].\n";\
assert(false);\
}

◆ GenericJoint_SET_IF_DIFFERENT

#define GenericJoint_SET_IF_DIFFERENT (   mField,
  value 
)
Value:
if( value == Base::mAspectProperties. mField )\
return;\
Base::mAspectProperties. mField = value;\
Joint::incrementVersion();