robocup_knowledge
reo2016/challenge_restaurant.py
Go to the documentation of this file.
1 from robocup_knowledge import knowledge_loader
2 common = knowledge_loader.load_knowledge("common")
3 
4 # Do not alter the keys please :)
5 guiding_spec = "(<location> <side>|<continue>)"
6 
7 # Do not alter keys or side values
8 guiding_choices = {"location" : ["one", "two", "three"], "side" : ["left", "right", "front"], "continue" : ["continue"]}
9 
10 # Do not alter the keys please :)
11 professional_guiding_spec = "([This is ][table ]<location>)"
12 
13 # Do not alter keys or side values
14 professional_guiding_choices = {"location" : ["one", "two", "three"]}
15 
16 kitchen_radius = 2
17 
18 # Do not alter the keys please :)
19 order_spec = "(<beverage>|<food1> and [(a|an)] <food2>)"
20 
21 # Do not alter keys or side values
22 drinks = [ o["name"] for o in common.objects if o["category"] == "drink" ]
23 foods = [ o["name"] for o in common.objects if o["category"] == "food" ]
24 order_choices = {"beverage": drinks, "food1": foods, "food2": foods }