robocup_knowledge
Variables
challenge_restaurant Namespace Reference

Variables

 a = Api("", None)
 
 candies
 
 common = knowledge_loader.load_knowledge("common")
 
list drinks = [ o["name"] for o in common.objects if o["category"] == "drink" ]
 
 food
 
list foods = [ o["name"] for o in common.objects if o["category"] == "food" ]
 
 fruits
 
dictionary guiding_choices = {"location" : ["one", "two", "three"], "side" : ["left", "right", "front"], "continue" : ["continue"]}
 
string guiding_spec = "(<location> <side>|<continue>)"
 
int kitchen_radius = 2
 
 name
 
string navigation_position_constraint_operator = "x^2 + y^2 < 0.7^2"
 
 order_choices
 
string order_grammar
 
string order_spec = "(<beverage>|<food1> and [(a|an)] <food2>)"
 
dictionary professional_guiding_choices = {"location" : ["one", "two", "three"]}
 
string professional_guiding_spec = "([This is ][table ]<location>)"
 
 result = a.query("blaat", order_grammar, "O")
 
 snacks
 

Variable Documentation

◆ a

challenge_restaurant.a = Api("", None)

Definition at line 33 of file impuls/challenge_restaurant.py.

◆ candies

challenge_restaurant.candies

Definition at line 28 of file rwc2019/challenge_restaurant.py.

◆ common

challenge_restaurant.common = knowledge_loader.load_knowledge("common")

Definition at line 5 of file impuls/challenge_restaurant.py.

◆ drinks

list challenge_restaurant.drinks = [ o["name"] for o in common.objects if o["category"] == "drink" ]

Definition at line 22 of file reo2016/challenge_restaurant.py.

◆ food

challenge_restaurant.food

Definition at line 30 of file rwc2019/challenge_restaurant.py.

◆ foods

list challenge_restaurant.foods = [ o["name"] for o in common.objects if o["category"] == "food" ]

Definition at line 23 of file reo2016/challenge_restaurant.py.

◆ fruits

challenge_restaurant.fruits

Definition at line 31 of file rwc2019/challenge_restaurant.py.

◆ guiding_choices

dictionary challenge_restaurant.guiding_choices = {"location" : ["one", "two", "three"], "side" : ["left", "right", "front"], "continue" : ["continue"]}

Definition at line 8 of file reo2016/challenge_restaurant.py.

◆ guiding_spec

string challenge_restaurant.guiding_spec = "(<location> <side>|<continue>)"

Definition at line 5 of file reo2016/challenge_restaurant.py.

◆ kitchen_radius

int challenge_restaurant.kitchen_radius = 2

Definition at line 16 of file reo2016/challenge_restaurant.py.

◆ name

challenge_restaurant.name

Definition at line 18 of file rpo2023/challenge_restaurant.py.

◆ navigation_position_constraint_operator

challenge_restaurant.navigation_position_constraint_operator = "x^2 + y^2 < 0.7^2"

Definition at line 10 of file rgo2015/challenge_restaurant.py.

◆ order_choices

challenge_restaurant.order_choices

Definition at line 20 of file rwc2015/challenge_restaurant.py.

◆ order_grammar

string challenge_restaurant.order_grammar
Initial value:
1 = """
2 O[P] -> ORDER[P] | can i have a ORDER[P] | i would like ORDER[P] | can i get ORDER[P] | could i have ORDER[P] | may i get ORDER[P] | bring me ORDER[P]
3 ORDER[OO] -> COMBO[OO] | BEVERAGE[OO]
4 BEVERAGE[{"beverage": B}] -> BEV[B]
5 BEVERAGE[{"beverage": B}] -> DET BEV[B]
6 COMBO[{"food1": F1, "food2": F2}] -> FOOD[F1] and FOOD[F2] | FOOD[F1] with FOOD[F2]
7 COMBO[{"food1": F1, "food2": F2}] -> DET FOOD[F1] and FOOD[F2] | DET FOOD[F1] with FOOD[F2]
8 COMBO[{"food1": F1, "food2": F2}] -> FOOD[F1] and DET FOOD[F2] | FOOD[F1] with DET FOOD[F2]
9 COMBO[{"food1": F1, "food2": F2}] -> DET FOOD[F1] and DET FOOD[F2] | DET FOOD[F1] with DET FOOD[F2]
10 DET -> a | an
11 """

Definition at line 7 of file impuls/challenge_restaurant.py.

◆ order_spec

string challenge_restaurant.order_spec = "(<beverage>|<food1> and [(a|an)] <food2>)"

Definition at line 19 of file reo2016/challenge_restaurant.py.

◆ professional_guiding_choices

dictionary challenge_restaurant.professional_guiding_choices = {"location" : ["one", "two", "three"]}

Definition at line 14 of file reo2016/challenge_restaurant.py.

◆ professional_guiding_spec

string challenge_restaurant.professional_guiding_spec = "([This is ][table ]<location>)"

Definition at line 11 of file reo2016/challenge_restaurant.py.

◆ result

challenge_restaurant.result = a.query("blaat", order_grammar, "O")

Definition at line 36 of file impuls/challenge_restaurant.py.

◆ snacks

challenge_restaurant.snacks

Definition at line 32 of file rwc2019/challenge_restaurant.py.