diff --git a/psConfig/tasks/carrymyluggage/carrymyluggage.conf b/psConfig/tasks/carrymyluggage/carrymyluggage.conf new file mode 100644 index 0000000000000000000000000000000000000000..f8f0282bad57e6521f069bf5a573d9c310ef56ac --- /dev/null +++ b/psConfig/tasks/carrymyluggage/carrymyluggage.conf @@ -0,0 +1,34 @@ +[main] +startdb=45; +uttdb=53; +silence=800; +timeout=8; +openDeviceDirectly=yes; +alsadevice=sysdefault; + + + +[pocketsphinxinstance] +name=command; +dict=../../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../../psGrammar/tasks/carrymyluggage/commands.jsgf; +rostopic=/speechrec/psa/carrymyluggage; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=confirm; +dict=../../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../../psGrammar/confirm/confirm.jsgf; +rostopic=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=stop; +dict=../../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../../psGrammar/confirm/stop.jsgf; +rostopic=/speechrec/psa/stop; +bestpath=no; +autoload=yes; + diff --git a/psGrammar/tasks/carrymyluggage/commands.jsgf b/psGrammar/tasks/carrymyluggage/commands.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..4a24dd7b3f5961da3c22c9871bee3f9a98af11ed --- /dev/null +++ b/psGrammar/tasks/carrymyluggage/commands.jsgf @@ -0,0 +1,16 @@ +#JSGF V1.0; +grammar ToBI_carrymyluggage; + +public <statement> = <command>; + +<robot> = (tobi | robot | tiago); + +<command> = [<robot>] ( <followMe> | <arrived> | <goAhead> ) [<robot>]; + +<goAhead> = ( go ahead ); + +<followMe> = ((follow | come with ) me [to the <place>]); + +<arrived> = ((stop [(here | following me)]) | (wait here) | (we arrived [ at the <place>]) ); + +<place> = ( car );