29 using namespace PlatformGroup;
34 static std::map<std::string, Vector3> StringToDirection =
36 {
"forward",
Vector3(0.0, 1.0, 0.0)},
37 {
"left",
Vector3(-1.0, 0.0, 0)},
38 {
"right",
Vector3(1.0, 0.0, 0)},
48 auto dirIter = StringToDirection.find(in.getDirection());
49 if (dirIter != StringToDirection.end())
52 local.setRelativePose(Eigen::Vector3f(dir.
toEigen() * in.getMillimeterPerStep()*in.getStepCount()));
56 ARMARX_WARNING << in.getDirection() <<
" is not a valid direction. Valid directions are: foreward, left, right, back";