Skip to content

Bug: mower在多种情境下逻辑卡死且不执行强制退出 #817

@Well2333

Description

@Well2333
PixPin_2026-01-15_08-39-09.mp4

根据日志分析,前后至少经过6.5小时未能自行脱困,或许可以添加一条逻辑,在执行一条指令时也为其添加超时时间或最大截图次数?

2026-01-15 02:02:31,447 arknights_mower/utils/device/device.py:374 DEBUG tap: tap: (1199, 460)
2026-01-15 02:02:32,180 arknights_mower/utils/device/device.py:279 DEBUG screencap: GET http://127.0.0.1:51693/screenshot
2026-01-15 02:02:32,292 arknights_mower/utils/log.py:127 DEBUG save_screenshot: 1768413752292641819.jpg
2026-01-15 02:02:32,292 arknights_mower/utils/device/device.py:381 DEBUG swipe: swipe: (1536.0, 540.0) -> (1536.0, 54.0), duration=500
2026-01-15 02:02:32,519 arknights_mower/utils/recognize.py:706 DEBUG find: find: control_central
2026-01-15 02:02:32,793 arknights_mower/utils/device/device.py:279 DEBUG screencap: GET http://127.0.0.1:51693/screenshot
2026-01-15 02:02:32,927 arknights_mower/utils/log.py:127 DEBUG save_screenshot: 1768413752927658085.jpg
2026-01-15 02:02:32,927 arknights_mower/utils/matcher.py:74 DEBUG __init__: Matcher init: shape ((1080, 1920))
2026-01-15 02:02:32,958 arknights_mower/utils/matcher.py:199 DEBUG score: transform matrix: [[-8.479999999999999, -9.91, 2569.18], [-0.7092857142857142, 0.5939285714285715, 545.7414285714285]]
2026-01-15 02:02:32,959 arknights_mower/utils/matcher.py:238 DEBUG score: rectangle is too small: [[2569, 546], [1544, -85]]
2026-01-15 02:02:32,964 arknights_mower/solvers/base_mixin.py:284 DEBUG detect_room: 宿舍B104
2026-01-15 02:02:32,964 arknights_mower/utils/recognize.py:706 DEBUG find: find: room_detail
2026-01-15 02:02:32,970 arknights_mower/utils/matcher.py:199 DEBUG score: transform matrix: [[0.9999341745931309, -0.001190364024443328, 1272.0898882404265], [-7.223954459372051e-05, 0.9994488804641143, 0.050230386272864906]]
2026-01-15 02:02:32,974 arknights_mower/utils/matcher.py:110 DEBUG match: match success: ([[1272, 0], [1678, 101]], (0.9567567567567568, 0.8596059113300493, 1.0, 0.9997584278197116))
2026-01-15 02:02:32,974 arknights_mower/utils/recognize.py:706 DEBUG find: find: infra_gold_complete
2026-01-15 02:02:32,977 arknights_mower/utils/matcher.py:140 DEBUG score: match crop: ((1230, 0), (1920, 1080)), 6780 -> 2865
2026-01-15 02:02:32,985 arknights_mower/utils/matcher.py:199 DEBUG score: transform matrix: [[-2.676282051282051, 6.75, 1438.0865384615386], [-5.525, 15.95, 283.525]]
2026-01-15 02:02:32,985 arknights_mower/utils/matcher.py:244 DEBUG score: rectangle is too big: [[1438, 284], [2235, 582]]
2026-01-15 02:02:32,985 arknights_mower/utils/recognize.py:706 DEBUG find: find: infra_exp_complete
2026-01-15 02:02:32,989 arknights_mower/utils/matcher.py:140 DEBUG score: match crop: ((1230, 0), (1920, 1080)), 6780 -> 2865
2026-01-15 02:02:33,001 arknights_mower/utils/matcher.py:199 DEBUG score: transform matrix: [[4.218884120171674, 3.7610872675250357, 1278.8068669527897], [17.334763948497855, -57.9928469241774, 471.9399141630901]]
2026-01-15 02:02:33,001 arknights_mower/utils/matcher.py:238 DEBUG score: rectangle is too small: [[1279, 472], [-1948, -738]]
2026-01-15 02:02:33,001 arknights_mower/utils/recognize.py:706 DEBUG find: find: infra_lmd_complete
2026-01-15 02:02:33,004 arknights_mower/utils/matcher.py:140 DEBUG score: match crop: ((1230, 0), (1920, 1080)), 6780 -> 2865
2026-01-15 02:02:33,013 arknights_mower/utils/matcher.py:182 DEBUG score: not enough good matches are found: 3 / 126
2026-01-15 02:02:33,013 arknights_mower/utils/recognize.py:706 DEBUG find: find: infra_ori_complete
2026-01-15 02:02:33,017 arknights_mower/utils/matcher.py:140 DEBUG score: match crop: ((1230, 0), (1920, 1080)), 6780 -> 2865
2026-01-15 02:02:33,026 arknights_mower/utils/matcher.py:199 DEBUG score: transform matrix: [[-8.0, 3.6999999999999997, 2043.3], [9.719999999999999, -19.84, 177.4]]
2026-01-15 02:02:33,026 arknights_mower/utils/matcher.py:238 DEBUG score: rectangle is too small: [[2043, 177], [373, -449]]
2026-01-15 02:02:33,026 arknights_mower/utils/recognize.py:706 DEBUG find: find: infra_oru_complete
2026-01-15 02:02:33,029 arknights_mower/utils/matcher.py:140 DEBUG score: match crop: ((1230, 0), (1920, 1080)), 6780 -> 2865
2026-01-15 02:02:33,038 arknights_mower/utils/matcher.py:182 DEBUG score: not enough good matches are found: 4 / 135
2026-01-15 02:02:33,038 arknights_mower/utils/recognize.py:706 DEBUG find: find: infra_trust_complete
2026-01-15 02:02:33,041 arknights_mower/utils/matcher.py:140 DEBUG score: match crop: ((1230, 0), (1920, 1080)), 6780 -> 2865
2026-01-15 02:02:33,049 arknights_mower/utils/matcher.py:199 DEBUG score: transform matrix: [[2.555555555555556, -16.622222222222224, 1579.7555555555555], [26.711111111111112, -114.00444444444445, 711.1911111111111]]
2026-01-15 02:02:33,049 arknights_mower/utils/matcher.py:238 DEBUG score: rectangle is too small: [[1580, 711], [-5107, -1796]]
2026-01-15 02:02:33,049 arknights_mower/utils/device/device.py:381 DEBUG swipe: swipe: (1536.0, 540.0) -> (1536.0, 1026.0), duration=500
2026-01-15 02:02:33,799 arknights_mower/utils/device/device.py:279 DEBUG screencap: GET http://127.0.0.1:51693/screenshot
2026-01-15 02:02:33,924 arknights_mower/utils/log.py:127 DEBUG save_screenshot: 1768413753924418146.jpg
2026-01-15 02:02:33,924 arknights_mower/utils/device/device.py:381 DEBUG swipe: swipe: (1536.0, 540.0) -> (1536.0, 54.0), duration=500
2026-01-15 02:02:34,556 arknights_mower/utils/device/device.py:279 DEBUG screencap: GET http://127.0.0.1:51693/screenshot
2026-01-15 02:02:34,688 arknights_mower/utils/log.py:127 DEBUG save_screenshot: 1768413754688533377.jpg
2026-01-15 02:02:34,688 arknights_mower/utils/device/device.py:381 DEBUG swipe: swipe: (1536.0, 540.0) -> (1536.0, 1026.0), duration=500
2026-01-15 02:02:35,428 arknights_mower/utils/device/device.py:279 DEBUG screencap: GET http://127.0.0.1:51693/screenshot
2026-01-15 02:02:35,555 arknights_mower/utils/log.py:127 DEBUG save_screenshot: 1768413755555754796.jpg
2026-01-15 02:02:35,556 arknights_mower/utils/device/device.py:381 DEBUG swipe: swipe: (1536.0, 540.0) -> (1536.0, 54.0), duration=500
2026-01-15 02:02:36,194 arknights_mower/utils/device/device.py:279 DEBUG screencap: GET http://127.0.0.1:51693/screenshot
2026-01-15 02:02:36,324 arknights_mower/utils/log.py:127 DEBUG save_screenshot: 1768413756324166674.jpg
2026-01-15 02:02:36,324 arknights_mower/utils/device/device.py:381 DEBUG swipe: swipe: (1536.0, 540.0) -> (1536.0, 1026.0), duration=500
2026-01-15 02:02:37,061 arknights_mower/utils/device/device.py:279 DEBUG screencap: GET http://127.0.0.1:51693/screenshot
2026-01-15 02:02:37,174 arknights_mower/utils/log.py:127 DEBUG save_screenshot: 1768413757174838227.jpg
2026-01-15 02:02:37,175 arknights_mower/utils/device/device.py:381 DEBUG swipe: swipe: (1536.0, 540.0) -> (1536.0, 54.0), duration=500

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions