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

Add nonterminals to cupro demo grammars

parent 93fb2ac6
No related branches found
No related tags found
No related merge requests found
#JSGF V1.0; #JSGF V1.0;
grammar commands; grammar commands;
public <command> = [<robot>] ( <followMe> | <ordering> | <learn> | <rec> | <count> | <explain> | <listen> | <hand> | <see> | <save> | <who> | <gripper> | <demo> | <grasp>); public <command> = [<robot>] ( <followMe> | <ordering> | <learn> | <rec> | <count> | <explain> | <listen> | <hand> | <see> | <save> | <who> | <gripper> | <demo> | <grasp> | <kitchenDrawer> | <cleanup> | <setTable> );
<robot> = (tiago | robot | tobi); <robot> = (tiago | robot | tobi);
...@@ -19,3 +19,6 @@ public <command> = [<robot>] ( <followMe> | <ordering> | <learn> | <rec> | <coun ...@@ -19,3 +19,6 @@ public <command> = [<robot>] ( <followMe> | <ordering> | <learn> | <rec> | <coun
<gripper> = (show me your gripper); <gripper> = (show me your gripper);
<demo> = (end the (demonstration | demo)); <demo> = (end the (demonstration | demo));
<grasp> = ((grasp | give ) [me] ( an | the ) object); <grasp> = ((grasp | give ) [me] ( an | the ) object);
<kitchenDrawer> = (tell me about the kitchen);
<cleanup> = (clean up the table);
<setTable> = (set the table);
#JSGF V1.0; #JSGF V1.0;
grammar commands; grammar commands;
public <command> = [<robot>] ( <demo> | <save> | <place> | <introduction>); public <command> = [<robot>] ( <demo> | <save> | <place> | <introduction> | <setTable>);
<robot> = (robot | tiago | tobi); <robot> = (robot | tiago | tobi);
...@@ -9,3 +9,7 @@ public <command> = [<robot>] ( <demo> | <save> | <place> | <introduction>); ...@@ -9,3 +9,7 @@ public <command> = [<robot>] ( <demo> | <save> | <place> | <introduction>);
<save> = (save location); <save> = (save location);
<place> = (go to); <place> = (go to);
<introduction> = (introduce yourself); <introduction> = (introduce yourself);
<setTable> = (set the table for <guestNumber>);
<guestNumber> = (one guest) | (two guests);
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