10 #ifndef _OCRACONTROL_CONTROL_ENUM_H_ 11 #define _OCRACONTROL_CONTROL_ENUM_H_ 41 return (fixedPosition&0x1) + ((fixedPosition>>1)&0x1) + ((fixedPosition>>2)&0x1)
42 +(fixedOrientation&0x1) + ((fixedOrientation>>1)&0x1) + ((fixedOrientation>>2)&0x1);
70 std::cout <<
"[WARNING] (cartesianDofFromString): Couldn't find a match for: " << tmpString << std::endl;
77 std::string tmpString;
87 default: {tmpString =
"NONE";}
break;
94 #endif //_OCRACONTROL_CONTROL_ENUM_H_
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
std::string cartesianDofToString(const ECartesianDof dofEnum)
ECartesianDof cartesianDofFromString(const std::string &dofString)
int computeDimensionFor(ECartesianDof fixedPosition, ECartesianDof fixedOrientation)
Computes the number of directions specified by two ECartesianDof enums.
std::string convertToUpperCase(const std::string &originalString)