35 msgs::Joint::Type result = msgs::Joint::REVOLUTE;
36 if (_str ==
"revolute")
38 result = msgs::Joint::REVOLUTE;
40 else if (_str ==
"revolute2")
42 result = msgs::Joint::REVOLUTE2;
44 else if (_str ==
"prismatic")
46 result = msgs::Joint::PRISMATIC;
48 else if (_str ==
"universal")
50 result = msgs::Joint::UNIVERSAL;
52 else if (_str ==
"ball")
54 result = msgs::Joint::BALL;
56 else if (_str ==
"screw")
58 result = msgs::Joint::SCREW;
60 else if (_str ==
"gearbox")
62 result = msgs::Joint::GEARBOX;
64 else if (_str ==
"fixed")
66 result = msgs::Joint::FIXED;
68 else if (_str ==
"continuous")
70 result = msgs::Joint::CONTINUOUS;
76 <<
"], returning msgs::Joint::REVOLUTE"