Placement Command::getPlacement (void) { std::string x = "X"; std::string y = "Y"; std::string z = "Z"; std::string a = "A"; std::string b = "B"; std::string c = "C"; double xval = 0.0; double yval = 0.0; double zval = 0.0; double aval = 0.0; double bval = 0.0; double cval = 0.0; if (Parameters.count(x)) xval = Parameters[x]; if (Parameters.count(y)) yval = Parameters[y]; if (Parameters.count(z)) zval = Parameters[z]; if (Parameters.count(a)) aval = Parameters[a]; if (Parameters.count(b)) bval = Parameters[b]; if (Parameters.count(c)) cval = Parameters[c]; Vector3d vec(xval,yval,zval); Rotation rot; rot.setYawPitchRoll(aval,bval,cval); Placement plac(vec,rot); return plac; }