robocup_knowledge
Classes | Namespaces | Functions | Variables
impuls/common.py File Reference

Go to the source code of this file.

Classes

class  common.bcolors
 

Namespaces

 common
 

Functions

def common.get_inspect_areas (location)
 
def common.get_inspect_position (location, area="")
 
def common.get_location_from_room (room_id)
 
def common.get_locations (room=None, pick_location=None, place_location=None)
 
def common.get_object_category (obj)
 
def common.get_object_category_location (obj_cat)
 
def common.get_object_color (obj)
 
def common.get_object_size (obj)
 
def common.get_object_weight (obj)
 
def common.get_objects (category=None)
 
def common.get_room (location)
 
def common.is_known_object (obj)
 
def common.is_location (location)
 
def common.is_pick_location (location)
 
def common.is_place_location (location)
 
def common.is_room (entity_id)
 
def common.make_prints (name)
 
def common.object_names_of_category (category)
 

Variables

float common.default_target_radius = 0.2
 
 common.drink
 
def common.drink_names = object_names_of_category('drink')
 
string common.drink_spec = "T['drink': O] -> OPTIONS[O]\n\n"
 
dictionary common.inspect_areas
 
dictionary common.most_probable_location_in_room_map
 
 common.object_color = list(set([ o["color"] for o in objects ]))
 
 common.object_size = list(set([ o["volume"] for o in objects ]))
 
 common.object_weight = list(set([ o["weight"] for o in objects ]))