def __init__(self, title='SlipMap', lat=-35.362938, lon=149.165085, width=800, height=600, ground_width=1000, tile_delay=0.3, service="MicrosoftSat", max_zoom=19, debug=False, brightness=1.0, elevation=False, download=True, show_flightmode_legend=True): import multiprocessing self.lat = lat self.lon = lon self.width = width self.height = height self.ground_width = ground_width self.download = download self.service = service self.tile_delay = tile_delay self.debug = debug self.max_zoom = max_zoom self.elevation = elevation self.oldtext = None self.brightness = brightness self.legend = show_flightmode_legend self.drag_step = 10 self.title = title from MAVProxy.modules.lib.multiprocessing_queue import makeIPCQueue self.event_queue = makeIPCQueue() self.object_queue = makeIPCQueue() self.close_window = multiprocessing.Semaphore() self.close_window.acquire() self.child = multiprocessing.Process(target=self.child_task) self.child.start() self._callbacks = set()