예제 #1
0
SpatialMomentum SpatialMomentum::operator+(const SpatialMomentum& other) const
{
#ifdef IDYNTREE_DONT_USE_SEMANTICS
    return efficient6dSum(*this,other);
#else
    return compose(*this,(other));
#endif
}
예제 #2
0
파일: Twist.cpp 프로젝트: PerryZh/idyntree
Twist Twist::operator+(const Twist& other) const
{
#ifdef IDYNTREE_DONT_USE_SEMANTICS
    return efficient6dSum(*this,other);
#else
    return compose(*this,(other));
#endif
}