robocup_knowledge
rwc2015/challenge_wakemeup.py
Go to the documentation of this file.
1 # Tunable params
2 find_person = {
3  'within_range' : 2.0,
4  'under_z' : 0.5,
5  'min_chull_area' : 0.06,
6  'min_exist_prob' : 0.6
7 }
8 
9 alarm_wait_time = 5
10 alarm_duration = 50
11 
12 get_newspaper_timeout = 5
13 give_newspaper_timeout = 30
14 wakeup_light_color = [1, 1, 1]
15 
16 handover_joint_config = "sensed_handover"
17 
18 sensor_range = 2.0
19 
20 # Knowledge
21 order_confirmation_limit = 3
22 
23 initial_pose = "initial_pose_door_A"
24 
25 bed = 'bed'
26 matress_height = 0.51
27 
28 bed_nav_goal = {
29  'near' : bed,
30  'at_bedside' : bed,
31  'in' : 'bedroom', # Maybe define a bedside to get a good vantage point and position for handing over the newspaper
32  'lookat' : bed
33 }
34 
35 default_milk = "pure_milk"
36 default_cereal = "coconut_cereals"
37 default_fruit = "apple"
38 
39 
40 # TODO: in front of?
41 kitchen_nav_goal = {
42  # "in_front_of":"kitchentable", # This may not be necessary?
43  "in" : "kitchen",
44  "lookat" : "kitchen"
45 }
46 
47 # This also defines the order in which to pick the items!!!
48 generic_items = [ "milk", "fruit", "cereal"]
49 # TODO: Pour Cereal
50 
51 milk_shelf = "kitchentable"
52 cereal_shelf = "kitchencounter"
53 fruit_shelf = "kitchencounter"
54 
55 table_nav_goal = {
56  "in": "livingroom",
57  "in_front_of": "dinnertable",
58  "lookat": "dinnertable"
59 }
60 
61 item_nav_goal = { # This needs to be updated according to the environment
62  "in" : "kitchen",
63  "in_front_of_milk" : milk_shelf,
64  "lookat_milk" : milk_shelf,
65  "in_front_of_cereal" : cereal_shelf,
66  "lookat_cereal" : cereal_shelf,
67  "in_front_of_fruit" : fruit_shelf,
68  "lookat_fruit" : fruit_shelf
69 }
70 
71 dinner_table = "dinnertable"