Courseplay / courseplay

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

Square bale loader just stops #7014

Closed SpiderTash closed 3 years ago

SpiderTash commented 3 years ago

When using the new Mode 7 for loading square bales on the in game stacker, it might load 1-3 bales and just stop. It is random on how many bales it will load before it stops and then sometimes it will finish off the rack and then go unload and start the problems again. I did just update to revision 51 and try again and still an issue. I know it worked fine on an early version (48 or 49) with the round bales but I did not try square bales on that version. log.txt

Tensuko commented 3 years ago

You talk about the Forstack 8.12 ?

SpiderTash commented 3 years ago

I am actually using the FSX 63.72. The equipment was borrowed through a contract, I have been fighting it for 2 days with saving and restarting the game and still the issue. While typing this it loaded up 1 or 2 full racks just fine and then did it again after 1 bale.

More info, I was picking up wrapped bales, but since I finished wrapping all the bales on the field it does not seem to be having the same issue. It has been picking up bales now, so it could be an issue of having wrapped and not wrapped bales on the field a the same time?

Tensuko commented 3 years ago

logfile with debugchannel 7

polosubtil commented 3 years ago

Hi guys,

I have the same problem since the new reverse feature, it was working fine before. But this new feature is necessary as the odd shape fields makes it challenging. With version 49, the course would stop if pathfinding was failing. With version 50, it was already much better but pathinding would make everything lag until I would stop the course manually if the tractor was stuck in front of a bale or a hedge In version 51, in most cases when I start the course in the field (using "collect bales" as a starting point), the tractor reverse right away and then stops the course when it stops reversing

Log with different attempts to make it work, I even tried to manually load a few bales log.txt

pvaiko commented 3 years ago

You did not have the debug channel 11 on for pathfinding, so we don't know why the pathfinding failed. Would be great to have that info.

polosubtil commented 3 years ago

Oups sorry Here you go : log.txt

It did it a few times to start with and then I drove manually to a group of bales and it started working when close enough and sort of aligned with the first bale

pvaiko commented 3 years ago

If you'd like, give it a try with the https://github.com/Courseplay/courseplay/tree/issue-7014 branch.

polosubtil commented 3 years ago

Hi @pvaiko I tried and it's already much better. If standing in front of a hedge, it reverse and get to work most of the time (sometimes it reverses and end work). But if standing in front of a bale, it just stays stuck and stop the work. image log.txt

polosubtil commented 3 years ago

This one is starting in front of the hedge. It reverses and then stops image It should be the latest entry in the log log.txt

SpiderTash commented 3 years ago

Got some bonus log here. Had some bales wrapped with the SW 4014 and a couple bales already on the FSX 63.72 trailer. I start the trailer and it picks up the rest of the bales to fill it fine and goes and unloads. While it is going to unload I start the wrapper again, and if it was on its way to a bale but it picked up a different bale on the way there, it would get to the bale it intended to pick up, finish wrapping the bale it did pick up, drop it, and then also stop the CoursePlay, did that 4-5 times. While the wrapper was still running now, when the trailer got back it picked up a wrapped bale and stopped, I started it again, it picked up two unwrapped bales and then stopped. Sorry for the delay in getting this log to you. log.txt

polosubtil commented 3 years ago

Works like a charm, great work as usual guys ;) Thanks !!!!!!!!!!!!

SpiderTash commented 3 years ago

Sorry I am late, I have been very busy and have not had time to play. So I updated to .52 and have not tested the square bale loaded, but I think the issue I was having was different than what was found. So I am having the same problem with the round bale loader (Ursus T127 Plus) that it would pick up two bales and then stop. It seemed like it would happen if the bale wrapper (Kuhn SW 4014) was wrapping a bale. I decided to just grab another bale wrapper and not pick them up till they were all wrapped. Turns out that the 2nd bale wrapper would have the same problem. If it finished wrapping a bale and the first bale wrapper was wrapping a bale, the 2nd bale wrapper would stop. Is the programming only set up to have 1 pieces of equipment using the wrap/pickup mode at a time?