robocup_knowledge
robotics_testlabs/challenge_wakemeup.py
Go to the documentation of this file.
1 # Tunable params
2 find_person = { # This needs to be updated according to the environment
3  'within_range' : 2.0,
4  'under_z' : 0.3,
5  'min_chull_area' : 0.06,
6  'min_exist_prob' : 0.6
7 }
8 
9 alarm_wait_time = 5
10 alarm_duration = 60
11 
12 get_newspaper_timeout = 3 # This needs to be updated for robocup maybe
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 order_confirmation_limit = 3
21 
22 initial_pose = "initial_pose"
23 
24 # Knowledge
25 bed = 'bed' # This needs to be updated according to the environment
26 matress_height = 0.70 #TODO: Set matress height or even better: get from models
27 
28 bed_nav_goal = {
29  'near' : bed,
30  'in' : 'bedroom',
31  'lookat' : 'bed',
32  'at_bedside' : bed,
33 }
34 
35 default_milk = "fresh milk"
36 default_cereal = "coconut_cereals"
37 default_fruit = "apple"
38 
39 kitchen_nav_goal = { # This needs to be updated according to the environment
40  "in_front_of":"cabinet",
41  "in" : "kitchen",
42  "lookat" : "cabinet"
43 }
44 
45 generic_items = [ "milk", "cereal", "fruit" ]
46 allowed_fruits = [ "apple" ]
47 
48 milk_shelf = "cabinet" # This needs to be updated according to the environment
49 cereal_shelf = "cabinet" # This needs to be updated according to the environment
50 fruit_shelf = "cabinet" # This needs to be updated according to the environment
51 
52 table_nav_goal = {
53  "in": "kitchen",
54  "near": "kitchen_table",
55  "in_front_of": "dinnertable",
56  "lookat" : "dinnertable"
57 }
58 
59 item_nav_goal = { # This needs to be updated according to the environment
60  "in" : "kitchen",
61  "near_milk" : milk_shelf,
62  "lookat_milk" : milk_shelf,
63  "near_cereal" : cereal_shelf,
64  "lookat_cereal" : cereal_shelf,
65  "near_fruit" : fruit_shelf,
66  "lookat_fruit" : fruit_shelf
67 }
68 
69 # milk_nav_goal = { # This needs to be updated according to the environment
70 # "in" : "kitchen",
71 # "near" : milk_shelf,
72 # "lookat" : milk_shelf
73 # }
74 
75 # cereal_nav_goal = { # This needs to be updated according to the environment
76 # "in" : "kitchen",
77 # "near" : cereal_shelf,
78 # "lookat" : cereal_shelf
79 # }
80 
81 # fruit_nav_goal = { # This needs to be updated according to the environment
82 # "in" : "kitchen",
83 # "near" : fruit_shelf,
84 # "lookat" : fruit_shelf
85 # }
86 
87 kitchen_door = "kitchen_door" # Only needed if we can open a door
88 
89 # Number of times it asks for the door to be opened and replans to the kitchen
90 check_door_attempts = 1
91 
92 dinner_table = "dinner_table"
93 
94