19 #ifndef __ICUBCLIENT_SUBSYSTEM_RECOG_H__ 20 #define __ICUBCLIENT_SUBSYSTEM_RECOG_H__ 22 #define SUBSYSTEM_RECOG "recog" 83 yarp::os::Bottle
recogFromGrammarLoop(std::string sInput,
int iLoop = 50,
bool keepEarsEnabled =
false,
bool keepEarsDisabledAfterRecog =
false);
yarp::os::Bottle recogFromGrammarLoop(std::string sInput, int iLoop=50, bool keepEarsEnabled=false, bool keepEarsDisabledAfterRecog=false)
From one grxml grammar, return the first non-empty sentence recognized can last for several timeout (...
bool interruptSpeechRecognizer()
Interrupt the speech recognizer.
Abstract class to handle sub-systems of the icub-client.
yarp::os::RpcClient ears_port
Port to /ears/rpc.
Abstract subSystem for speech recognizer.
SubSystem_Recog(const std::string &masterName)
Default constructor.
yarp::os::Bottle recogFromGrammar(std::string &sInput)
From one grxml grammar, return the sentence recognized for one timeout This is not supported...
virtual void Close()
Clean up resources.
void enableEars(bool on)
Send a command to ears whether it should listen to the speechRecognizer.
void waitForEars()
Send a command to ears that it should stop listening to the speechRecognizer, and wait until it hands...