37 std::string locationName;
38 if (in.isargsSet() && in.getargs().size() > 0)
40 locationName = in.getargs().at(0)->entityName;
42 else if (in.isLandmarkNameSet())
44 locationName = in.getLandmarkName();
48 throw LocalException() <<
"You need to set either LandmarkName or args";
54 if (in.getSendLocationToTTS() && in.getTextReply().count(locationName))
56 std::string
const textReply = in.getTextReply().at(locationName);
57 getTextToSpeech()->reportText(textReply);
60 catch (std::exception
const& ex)
65 local.settargetLandmark(locationName);