robocup_knowledge
rwc2016_common/challenge_manipulation.py
Go to the documentation of this file.
1 import copy
2 
3 # Common knowledge
4 from robocup_knowledge import knowledge_loader
5 common = knowledge_loader.load_knowledge("common")
6 
7 # Entity where the shelves are part of
8 cabinet_slam = "bookcase_noback1" # In case of slam
9 cabinet_amcl = "bookcase" # In case of amcl
10 
11 # Shelves where objects might be
12 # object_shelves = ["bookcase/shelf2", "bookcase/shelf3"]
13 object_shelves = ["shelf1", "shelf3", "shelf4", "shelf5"]
14 
15 # Shelf where we will actually try to grasp
16 # grasp_shelf = "bookcase/shelf2"
17 grasp_shelf = "shelf3"
18 
19 # Shelf where we will actually place stuff
20 place_shelf = "shelf2"
21 
22 # Room where everything will take place
23 room = "livingroom" # ToDo: update!!!
24 
25 # Object types that can be recognized
26 object_types = copy.copy(common.object_names)
27 # object_types = ['beer', 'bifrutas', 'coffee_pads', 'coke',
28 # 'deodorant', 'fanta', 'ice_tea', 'mentos',
29 # 'sprite', 'tea', 'teddy_bear', 'water',
30 # 'xylit24_spearmint', 'xylit24_white']
31 
32 # Minimum and maximum height from which to grab an object
33 min_grasp_height = 0.0 # ToDo
34 max_grasp_height = 1.5 # ToDo