def __init__(self, parent, ID): SimpleCanvas.__init__(self, parent, ID) self._cost_map = None #CanvasCostmap( (0,0) ) self._corner_cost = 5