fix(bredde): spreder/sprøjte under 1,5 m målt -> spray-typens faste bredde for rollens vare (K105) (v1.62.241)
This commit is contained in:
@@ -2200,7 +2200,7 @@ function ADFieldWork.follow(adEnv, assignment)
|
||||
local okVar, errVar = pcall(ADCpBridge.setVariableWidth, vehicle)
|
||||
if not okVar then Logging.warning("ADSmartPickup: bredde: %s", tostring(errVar)) end
|
||||
pcall(ADHitch.foldForTransport, vehicle)
|
||||
local width = ADCpBridge.getWorkWidth(vehicle)
|
||||
local width = ADCpBridge.getWorkWidth(vehicle, assignment.role)
|
||||
-- skærebord på transporthjul bag mejetærskeren: arbejdsbredden måles først, når det sidder foran
|
||||
if assignment.headerSwap ~= nil and (width or 0) < ADFieldModel.MIN_WORK_WIDTH then width = assignment.width end
|
||||
local okWidth, widthReason, widthArgs = ADFieldModel.checkWidth(assignment.role, width, ADFieldModel.requiredWidth(field, assignment.role))
|
||||
|
||||
Reference in New Issue
Block a user