SpatialMomentum SpatialMomentum::operator+(const SpatialMomentum& other) const { #ifdef IDYNTREE_DONT_USE_SEMANTICS return efficient6dSum(*this,other); #else return compose(*this,(other)); #endif }
Twist Twist::operator+(const Twist& other) const { #ifdef IDYNTREE_DONT_USE_SEMANTICS return efficient6dSum(*this,other); #else return compose(*this,(other)); #endif }