Courseplay / courseplay

Courseplay for Farming Simulator 2019
http://courseplay.github.io/courseplay
GNU General Public License v3.0
955 stars 529 forks source link

Fieldwork course harvesting Chaff issue #1732

Closed DynamicXYZ closed 7 years ago

DynamicXYZ commented 7 years ago

I'm trying to harvest chaff with a forage harvester but it just stops at the beginning or at the end of the field lane and sits there. It may turn around at the end of a field lane but it won't continue after that.

Here's a snippet from the log file:


[dbg6 lp255215] BiG X 1100 (#5): askForSpecialSettings(..., "BiG X 1100 (#5)")
--------------------------------------------------
[dbg6 lp255215] BiG X 1100 (#5): updateWorkTools(BiG X 1100, "XDisc 620", isImplement=true)
--------------------------------------------------
[dbg6 lp255215] BiG X 1100 (#5): frontWheelToDirectionNodeOffset=-0.00, frontWheelToRearWheel=3.47
[dbg6 lp255215] BiG X 1100 (#5): frontWheelToRearTrailerAttacherJoints[12]=0.66
[dbg6 lp255215] BiG X 1100 (#5): frontWheelToRearTrailerAttacherJoints[2]=4.87
[dbg6 lp255215] BiG X 1100 (#5): frontWheelToRearTrailerAttacherJoints[3]=4.87
[dbg6 lp255215] BiG X 1100 (#5): turningNodeToRearTrailerAttacherJoints[12]=0.66
[dbg6 lp255215] BiG X 1100 (#5): turningNodeToRearTrailerAttacherJoints[2]=4.87
[dbg6 lp255215] BiG X 1100 (#5): turningNodeToRearTrailerAttacherJoints[3]=4.87
--------------------------------------------------
[dbg6 lp255215] BiG X 1100 (#5): XDisc 620 Vehicle Point(1) width: ztt = 2.6376342773438
[dbg6 lp255215] BiG X 1100 (#5): XDisc 620 Vehicle Point(1) height: ztt = 1.5899658203125
[dbg6 lp255215] BiG X 1100 (#5): XDisc 620 Vehicle Point(1) start: ztt = 2.6375732421875
[dbg6 lp255215] BiG X 1100 (#5): setMarkers(): cp.backMarkerOffset = 1.6376342773438, cp.aiFrontMarker = 2.3399658203125
[dbg6 lp255215] BiG X 1100 (#5): workTool "XDisc 620" added to workTools (index 1)
[dbg6 lp255215] BiG X 1100 (#5): askForSpecialSettings(..., "XDisc 620")
[dbg6 lp255215] BiG X 1100 backMarkerOffset set to 1.6m
##################################################
[dbg6 lp255215] BiG X 1100 (#5): Set turnDiameterAuto to 10.48m (2 x vehicleTurnRadius)
[dbg6 lp255215] BiG X 1100 (#5): getHighestToolTurnDiameter(BiG X 1100)
[dbg6 lp255215] BiG X 1100 (#5): turnDiameterAutoMode is active: turnDiameter set to 10.48m
--------------------------------------------------
--------------------------------------------------
[dbg6 lp255215] BiG X 1100 (#5): workTools:
[dbg6 lp255215] \___ [1] = XDisc 620
##################################################
[dbg6 lp255215] BiG X 1100 (#5): getTotalLengthOnWheels()
[dbg6 lp255215] BiG X 1100 (#5): Using frontWheelToRearWheel=3.47
--------------------------------------------------
[dbg6 lp255215] BiG X 1100 (#5): totalLength=3.47, totalLengthOffset=-0.00
--------------------------------------------------
[dbg2 lp256802] nil: SiloTrigger Added! (onEnter)
[dbg2 lp256831] nil: SiloTrigger Removed! (onLeave)
[dbg2 lp256851] nil: SiloTrigger Added! (onEnter)
[dbg2 lp256869] nil: SiloTrigger Removed! (onLeave)
[dbg2 lp264540] nil: SiloTrigger Added! (onEnter)
[dbg2 lp264569] nil: SiloTrigger Removed! (onLeave)
[dbg2 lp264589] nil: SiloTrigger Added! (onEnter)
[dbg2 lp264608] nil: SiloTrigger Removed! (onLeave)
[dbg2 lp264901] nil: SiloTrigger Added! (onEnter)
data/vehicles/steerable/krone/kroneBiGX580.i3d (155.94) ms
C1ZOffset = -1.08m, C2ZOffset = -1.10m```
pops64 commented 7 years ago

Chaff Harvesters wait at the end of a lane for the following tipper to move(If your mode 2 or 3 if doing manually it will just turn). Then sits at the beginning for the following tipper to show up/turn around. So with out a picture or a video it is hard to tell what is happening. I know in 15 if your following tipper was under powered it would causes issues with the chaff harvester accelerating faster than the tipper. May be related to changes for #1578. Also do this happen only with the krone big x 1100 which is a mod and may be missing support? Debug Channel 4 I believe is the correct one for this issue

DynamicXYZ commented 7 years ago

@pops64

I've tried to use Debug channel 4 but it didn't log anything. You can watch here.

pops64 commented 7 years ago

Yea. The combine isn't telling the driver to move out of the way it is just telling it to stop has seen at the 3:40 mark. Did you try it with a different tipper? Most likely related to the changes to fix the issue I listed ealier

DynamicXYZ commented 7 years ago

Yeah, I tried a different tipper, several. All of them had the same problem. Every time I changed the tipper and went back to the harvester it would continue but then stop again at the end of the field.

But when I tried an auger wagon it continued again and again flawlessly. So it just has really poor support of tippers I would guess.

EDIT: Nope I was wrong. It still happens.

ThomasGaertner commented 7 years ago

hmm works fine here... I think, its not the tippers, it's related to the chopper. could you tell me , which chopper is this exactly ? is it the one from modHub ? would you please try following:

DynamicXYZ commented 7 years ago

@ThomasGaertner

I have used the Vanilla equipment in the video I linked in my first comment. Here's another log. https://gist.github.com/62815cdc20d3dda0dec8938e4eae00c4.git

EDIT: Okay so I tried a few different things. When I stop and start the driver again after its been stopped in the "bugged" state it'll just stay there with Start at nearest waypoint. But when I choose Start at first waypoint it'll start moving again.

If I ram into the back of the harvester and move it forward enough it'll start to go again.

If there is no fruit crop starting to be chopped up once it reaches the start of the field after turning it will not proceed (trailer/tipper already being beside it so it doesn't have to wait).

I'll see if I can get another video showing this and also using other equipment.

EDIT2: I'll post the link to the video but it has a dark screen I failed to realize that nvidia's recorder does that and youtube is in the proccess of editing it to a somewhat brighter screen so if the darkness bothers you just check back on it.

https://youtu.be/-SJ6mOqU37g

lcc1211 commented 7 years ago

For the most part my tractor drove on the non-crop side of the forage harvester; however, at the end of each lane the harvester would come to a halt all while still running. Tabbing over to the tractor shows the line "harvester is telling me to stop." The only way to get it going again is to stop CP on the harvester, do the manual turn and drive right up to the fruit and restart the course. Even when the tipper is full the tractor won't take it to the silage clamp.

ThomasGaertner commented 7 years ago

can you give me the savegame from the video and a link to the map ? is there a reason why the chopper goes with offset ?

DynamicXYZ commented 7 years ago

I don't have the savegame from the video anymore but I do have a new savegame I'll slide towards you. Um I don't think I've set any offset but if you're talking about the field not lining up with my tool it's because I was switching tools with different width's.

There's enough money for new equipment or fields. https://drive.google.com/file/d/0ByuaHC6Vp2Qbak1LNUptQTZlYkE/view?usp=sharing

ThomasGaertner commented 7 years ago

K I will check it ,

concerning the offset:

image

DynamicXYZ commented 7 years ago

Oh, I did have a lane offset. To be honest I don't remember why but maybe because I was trying to figure a way around the problem.

ThomasGaertner commented 7 years ago

OK, now I have it : the chopper does his job and goes over the field and converts crop to chaff. So in the trailer is chaff. Now we are reaching the field edge and the chopper gets some gras and converts it to grass. If he wants to try to put the grass to the trailer, the trailer says "Stop, its the wrong fillType" so all stop and have no clue what to do. I can't change anything in the script to solve it without causing other issues instead. My recommendation is to use one line of headland around the field and all is fine.

please test and report..... thanks

lcc1211 commented 7 years ago

@ThomasGaertner Since I no longer use CP to drive the forage harvester it mostly works out OK - but only as long as I have a standard square/rectangle shaped field. Thank you for looking into this. I think the header row will solve my issue if I want to do this using an odd shaped field.

ThomasGaertner commented 7 years ago

@DynamicXYZ : is it Ok for you ?

DynamicXYZ commented 7 years ago

@ThomasGaertner It will have to do. The only concern I have now is that sometimes the header lane will cut outside the field. Is there any way to force the calculation for the header to stay inside the field even if there is an overlap?

Also as you explained the problem is it at all possible to toggle the thing that shoots the chaff out off until the tool header takes something else?