Skip to content
Snippets Groups Projects
Commit a75628c3 authored by Leroy John Rügemer's avatar Leroy John Rügemer
Browse files

demoDynamic command merge

parent a1beed52
No related branches found
No related tags found
No related merge requests found
#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
......@@ -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]);
#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);
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