diff --git a/psGrammar/demos/demoDynamic.jsgf b/psGrammar/demos/demoDynamic.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..d7ba2e7f5faee445f9e541cd0cd17b90894f2272 --- /dev/null +++ b/psGrammar/demos/demoDynamic.jsgf @@ -0,0 +1,30 @@ +#JSGF V1.0; +grammar commands; + +public <command> = [<robot>] ( <save> | <wave> | <who> | <goTo> | <followMe> | <followHand> | <gravity> | <exit> | <trash> | <search>); + +<robot> = (tobi | robot | tiago); + +<save> = (save location); +<wave> = (wait for me); +<who> = (who are you); +<goTo> = (go to location); +<followHand> = (come with me) | (give me your hand); +<gravity> = (gravity compensation) | (show me your gripper) | (switch to gravity mode); +<exit> = (exit); + +<followMe> = (follow me); +<handover> = handover; + +<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); + +<see> = (tell me what you see); +<demo> = (end the (demonstration | demo)); +<grasp> = ((grasp | give ) [me] ( an | the ) object); + +<trash> = ([please] ((take out the trash) | (take out the garbage))); +<search> = ([please] search for [a] [waving] person); \ No newline at end of file diff --git a/psGrammar/demos/learning.jsgf b/psGrammar/demos/learning.jsgf index c2b75dcd35d12322119ca5dae3c332b8db00f5a9..97c579239f712a0f1211a2400671cc74351b37fe 100644 --- a/psGrammar/demos/learning.jsgf +++ b/psGrammar/demos/learning.jsgf @@ -7,7 +7,7 @@ public <command> = [tobi] (<save> | <stop> ); <save> = <pre> <NP_location>; <pre> = ([please] save) | (here is) | memorize; -<location> = (table <numberOfTable>) | (shelf) | (bar); +<location> = (table <numberOfTable>) | (shelf) | (bar) | (bin); <numberOfTable> = (one | two | three | four | five | six | seven | eight | nine); <stop> = stop | (wait [here]); diff --git a/psGrammar/tasks/dynamicdemo2019.jsgf b/psGrammar/tasks/dynamicdemo2019.jsgf deleted file mode 100644 index 7046da4863f044904650d23d28fba95401df6d14..0000000000000000000000000000000000000000 --- a/psGrammar/tasks/dynamicdemo2019.jsgf +++ /dev/null @@ -1,13 +0,0 @@ -#JSGF V1.0; -grammar dynamic; -public <string> = [<robot>] (<command>); - -<robot> = ((tobi) | (robot) | (tiago)); - -<command> = ( <introduce> | <trash> | <search>); - -<introduce> = (introduce yourself); - -<trash> = ([please] ((take out the trash) | (take out the garbage))); - -<search> = ([please] search for [a] [waving] person);