调度器使用示例、OCR调用改进
This commit is contained in:
parent
f19b7a4968
commit
1bcc311a93
15 changed files with 154 additions and 45 deletions
|
@ -7,7 +7,7 @@ from mower.solvers.base_schedule import BaseSchedulerSolver
|
|||
from mower.solvers.depot_reader import DepotManager
|
||||
from mower.solvers.reclamation_algorithm import ReclamationAlgorithm
|
||||
from mower.solvers.secret_front import SecretFront
|
||||
from mower.utils import config, path, rapidocr
|
||||
from mower.utils import config, path
|
||||
from mower.utils.csleep import MowerExit
|
||||
from mower.utils.datetime import format_time
|
||||
from mower.utils.device.adb_client.session import Session
|
||||
|
@ -26,7 +26,6 @@ operators = config.operators
|
|||
# 执行自动排班
|
||||
def main():
|
||||
logger.info("开始运行Mower")
|
||||
rapidocr.initialize_ocr()
|
||||
simulate()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue