Skip to content
Snippets Groups Projects
Commit 5bd7ef6a authored by Tiago 47c's avatar Tiago 47c
Browse files

demo

parent d7deb5f9
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,13 @@ rsbscope=/speechrec/psa/confirm; ...@@ -13,6 +13,13 @@ rsbscope=/speechrec/psa/confirm;
bestpath=no; bestpath=no;
autoload=yes; autoload=yes;
[pocketsphinxinstance]
name=stop;
rsbscope=/speechrec/psa/stop;
jsgf=../../psGrammar/confirm/stop.jsgf;
bestpath=no;
autoload=yes;
[pocketsphinxinstance] [pocketsphinxinstance]
name=commands; name=commands;
rsbscope=/speechrec/psa/commands; rsbscope=/speechrec/psa/commands;
...@@ -21,8 +28,22 @@ bestpath=no; ...@@ -21,8 +28,22 @@ bestpath=no;
autoload=yes; autoload=yes;
[pocketsphinxinstance] [pocketsphinxinstance]
name=commands; name=objects;
rsbscope=/speechrec/psa/actions; rsbscope=/speechrec/psa/objects;
jsgf=../../psGrammar/demos/demoErsti/actions.jsgf; jsgf=../../psGrammar/demos/demoErsti/objects.jsgf;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=learning;
rsbscope=/speechrec/psa/learning;
jsgf=../../psGrammar/demos/learning.jsgf;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=listen;
rsbscope=/speechrec/psa/listen;
jsgf=../../psGrammar/demos/listen.jsgf;
bestpath=no; bestpath=no;
autoload=yes; autoload=yes;
#JSGF V1.0; #JSGF V1.0;
grammar commands; grammar commands;
public <command> = [<robot>] ( <followMe> | <stop> | <ordering> | <learn> | <rec> | <count> | <explain> | <goto> | <hand> | <see> | <save> | <who> | <gripper> | <demo> | <grasp> | <kitchenDrawer> | <cleanup> | <setTable> | <lookAt> ); public <command> = [<robot>] ( <introduce> | <save> | <wait> | <goTo> | <followMe> | <followHand> | <gravity> | <exit> | <lookAt> | <trash> | <drop> | <nothing> | <search> | <describe> | <difference> | <take> | <give> | <count> | <explain> );
<robot> = (tiago | robot | tobi); <robot> = (tobi | robot | tiago);
<introduce> = (introduce yourself) | (who are you);
<followMe> = (follow me);
<stop> = (stop);
<ordering> = (start taking orders) | (take my order);
<learn> = (learn a person);
<rec> = (recognize me);
<count> = (count the people);
<explain> = (what can you do) | (explain your skills);
<goto> = (go to location);
<hand> = (wait for waving);
<see> = (tell me what you see);
<save> = (save location); <save> = (save location);
<who> = (who are you); <wait> = (wait for me);
<gripper> = (show me your gripper); <goTo> = (go to location);
<demo> = (end the (demonstration | demo));
<grasp> = ((grasp | give ) [me] ( an | the ) object); <followMe> = (follow me);
<kitchenDrawer> = (tell me about the kitchen); <followHand> = (come with me);
<cleanup> = (clean up the table);
<setTable> = (set the table); <gravity> = (gravity compensation) | (show me your gripper) | (switch to gravity mode);
<exit> = (end the (demonstration | demo))
<lookAt> = (look at camera one | look at the camera); <lookAt> = (look at camera one | look at the camera);
<trash> = (((take out the trash) | (take out the garbage)));
<drop> = (((throw it away)));
<nothing> = (do nothing);
<search> = ( search for [a] [waving] person);
<describe> = (tell me what you see);
<difference> = (spot the difference);
<take> = (handover);
<give> = (((give it to me) | (give me the object)));
<count> = (count the people);
<explain> = (what can you do) | (explain your skills);
\ No newline at end of file
#JSGF V1.0;
grammar ToBI_object;
public <statement> = [<verb>] [<article>] <objects> [please];
<objects> = <object>;
<object> = <grab_object>;
<grab_object> = <cleaning_class> | <food_class> | <other_class> | anything;
<cleaning_class> = cloth | soap | sponge;
<food_class> = salt | apple | pringles | cereals | cornflakes | peas | (coconut milk);
<other_class> = trash | garbage ;
<verb> = (bring me) | bring | carry | retrieve | fetch | get | remember | memorize;
<article> = the | an | some | a | this;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment