robocup_knowledge
reo2016/challenge_open.py
Go to the documentation of this file.
1 from itertools import groupby
2 from robocup_knowledge import knowledge_loader
3 common = knowledge_loader.load_knowledge("common")
4 
5 # initial pose
6 starting_point = "initial_pose_door_A"
7 exit_waypoint = "exit_door_B1"
8 
9 rooms = []#common.rooms + ["entrance", "exit"]
10 
11 location_names = ["sideboard", "bookcase", "tv_stand", "couch", "dinnertable", "suitecase", "hallway_trashbin"]
12 
13 translations = { "bookcase" : "bocase",
14  "hallway_trashbin" : "trashbin" }
15 
16 #object_aliases = {"dinner table" : "dinnertable"}
17 
18 #_grab_locations = [o for o in common.locations if o["manipulation"] == "yes"]
19 # room_to_grab_locations = groupby(_grab_locations, lambda l: l['room'])
20 # room_to_grab_locations = {k: [l['name'] for l in g] for (k, g) in room_to_grab_locations}