def _dragon(self, lm): pattern = DragonFlyPattern() controller = Controller() st = time.time() plot = self.src_graph.plots[1] dragonfly(st, pattern, lm, controller, plot, self._cp)
def _dragonfly(self, st, controller, pattern, imgplot, cp): dragonfly(st, pattern, self.laser_manager, controller, imgplot, cp)