Skip to content

Commit e16582d

Browse files
committed
more tolerance
1 parent aff399e commit e16582d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/ai/strategies/AIDriveStrategyUnloadCombine.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ end
12121212
function AIDriveStrategyUnloadCombine:isLinedUpWithPipe(dx, dz, pipeOffset, debugEnabled)
12131213
-- allow more offset when further away from the pipe, this is +- 50 cm at the pipe and grows
12141214
-- 25 cm with every meter, which is about 30 degrees (15 left and 15 right)
1215-
local tolerance = 0.25 + 0.5 * math.abs(dz)
1215+
local tolerance = 0.55 + 0.5 * math.abs(dz)
12161216
local combineSpeed = self.combineToUnload.lastSpeedReal * 3600
12171217
if combineSpeed > 6 then
12181218
-- when the combine is moving, we can be more tolerant as we'll have a lot more space to align

0 commit comments

Comments
 (0)