def maze_reset(self) -> None: PUBLISHER.queue_process_message( "Maze", reset=True, wait_for_response=True, message_timeout=0.2, response_timeout=0.2, ) self.state.working = False
def maze_solve(self) -> None: try: self.validator.validate_image() self.validator.validate_framerate() except ValueError: return self.image.reset_result() PUBLISHER.queue_process_message("Maze", start=True, state=self.state) self.state.working = True
def maze_resume(self) -> None: PUBLISHER.queue_process_message("Maze", resume=True)
def maze_stop(self) -> None: PUBLISHER.queue_process_message("Maze", stop=True)