33 MoveToLocationTask::SubClassRegistry
40 std::string locationName;
41 if (in.isargsSet() && in.getargs().size() > 0)
43 locationName = in.getargs().at(0)->entityName;
45 else if (in.isLandmarkNameSet())
47 locationName = in.getLandmarkName();
51 throw LocalException() <<
"You need to set either LandmarkName or args";
57 if (in.getSendLocationToTTS() && in.getTextReply().count(locationName))
59 std::string
const textReply = in.getTextReply().at(locationName);
60 getTextToSpeech()->reportText(textReply);
63 catch (std::exception
const& ex)
68 local.settargetLandmark(locationName);