chore(diag): log hvorfor aktive AutoDrive-køretøjer står stille >20 s (opgave, forhindring, AD-trafik + blokerer, pause, Smart Pickup-hold) — flows kører ikke efter genstart (v1.35.2.0)

This commit is contained in:
2026-09-27 09:32:58 +02:00
parent 2beca0924a
commit 6fbf05273e
3 changed files with 82 additions and 1 deletions
+1
View File
@@ -1248,6 +1248,7 @@ function ADSmartPickup:update(dt)
Logging.warning(ADSmartPickup.LOG_PREFIX .. "markarbejde fejlede: %s", tostring(errFields))
end
end
if ADStuckDiag ~= nil then pcall(ADStuckDiag.tick, dt) end
local ok, err = pcall(restoreStoppedVehicles)
if not ok then
Logging.warning(ADSmartPickup.LOG_PREFIX .. "kunne ikke gendanne varevalg: %s", tostring(err))