RAPP Platform  v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
 All Classes Namespaces Files Functions Variables Macros
crop_map.py File Reference

Go to the source code of this file.

Namespaces

 crop_map
 

Functions

def crop_map.computed_cropped_origin
 
def crop_map.find_bounds
 

Variables

tuple crop_map.bounds = find_bounds(map_image)
 
string crop_map.crop_image = crop_name+".pgm"
 
list crop_map.crop_name = sys.argv[2]
 
string crop_map.crop_yaml = crop_name+".yaml"
 
tuple crop_map.cropped_image = map_image.crop((bounds[0], bounds[2], bounds[1] + 1, bounds[3] + 1))
 
tuple crop_map.map_data = yaml.safe_load(f)
 
tuple crop_map.map_image = Image.open(map_image_file)
 
list crop_map.map_image_file = map_data["image"]
 
list crop_map.origin = map_data["origin"]
 
list crop_map.resolution = map_data["resolution"]