robocup_knowledge
rwc2015/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 navigation_position_constraint_operator = "x^2 + y^2 < 0.7^2"
11 
12 kitchen_radius = 2
13 
14 # Do not alter the keys please :)
15 order_spec = "(<beverage>|<food1> and [(a|an)] <food2>)"
16 
17 # Do not alter keys or side values
18 drinks = [ o["name"] for o in common.objects if o["category"] == "drinks" ]
19 foods = [ o["name"] for o in common.objects if o["category"] == "food" ]
20 order_choices = {"beverage": drinks, "food1": foods, "food2": foods }