Courseplay / Courseplay_FS22

Courseplay for Farming Simulator 2022
GNU General Public License v3.0
838 stars 179 forks source link

Turn Radius setting depending on the tractor and attached tools #3287

Open Ferchu425 opened 3 months ago

Ferchu425 commented 3 months ago

Hi there, to reproduce this I believe the Fendt 1100 is one of the better examples: the thing is that with some of the bigger implements once the tractor reaches the center path and tries to change lanes what happens is that it gets stuck but its own tool, for example a seeder.

This kind of tractors are hard to handle even for a human on the game but I would like to know if there is any way to force courseplay to try to perform a "gentle" turn. I tried with several headlans but that is not the issue, it seems that the algorithm "perceives" that the tractor can do a very sharp angle turn and so it tries to perform it

I hope I was clear enough and thank you in advice

Tensuko commented 3 months ago

What tool exactly? Sounds like the tool you attached have a too small turn radius.

S-eler commented 3 months ago

I have similar problem with specific mover from mod but I guess it's rather based on collision, not turning radius. explanation below

Yes, I know it's not officially available, nor supported, and the problem is from mod side, not CP. But most of tractors are not able to perform turn, blocked by tool. I was guessing that problem is in collision of the mover. Somehow only solution which works, is Xerox 4500, with "skip 1 lane" settings. Also with this tool there is a problem that other worker on next line (driving in opposite direction) are blocking themselves, and stopping work. (18m mover and 18m krone windrow from mod hub, driving on the same course). With other implements there is no such problems, in most cases they just "crash" (I'm operating "18m farm", all tools are 18m operating on the same course, and often I've got many following operations in the same time, like moving-windrowing-baling-collecting, or harvesting>planting>rolling>liming ;)).

For clarity - I'm not complaining on course play, you guys do fantastic work, and without your mod, I would never buy FS22.

Tensuko commented 3 months ago

No support for mods from those download sources.

regs1980 commented 3 months ago

The Fendt 1100 Vario MT needs a larger turn radius, with attached implements it brakes almost to 0 km/h at the radius specified by Giants. Unfortunately, this is a Giants problem. Simply enter a turn radius of at least 12 in the VehicleConfigurations.xml and it will work.

https://drive.google.com/file/d/1jt_B3m9Tr9Gc7xMn5LP3Wd2oYTx7KTs-/view?usp=drive_link

Tensuko commented 3 months ago

12 is save for almost all tools but not rly needed. Does it happen with all tools that it is too narrow? I am back home at friday to test arround...

regs1980 commented 3 months ago

This has been a bug since the game was released. The Fendt 1100 Vario MT and the John Deere 9RT series have the same steering angle, you can see that in the video, and it happens with anything you attach that doesn't have an intermediate joint.

Ferchu425 commented 3 months ago

I can reproduce this behaviour with the Stara Estrela 32 and Stara Estrela 33, and the Bourgault FMS CD872-8 (from Giants) is the one to just have this issue almost instantly. Also the Flexicoil ST820 cultivator shows the same behaviour. The idea of the intermediate joint seems right...

regs1980 commented 3 months ago

I reported the bug with the mod to Giants over two years ago, and it still hasn't been fixed. Nothing has happened with many other in-game mods I've reported either, so put the curve radius in VehicleConfigurations.xml, and then you can use it. If you attach the Demco 2200 Augerwagon, you also have to be careful with AD that the curves don't get too tight, the Demco slows them down to 0 km/h.

Ferchu425 commented 3 months ago

Thank you very much for the suggestion, it is exactly what I was looking. I just found the documentation on the vehicle configuration file based on this thread so will try later how it goes (it will work ok, no doubt). Just to be sure... the lower the "turnRadius" is, the tighter the turn, right? it is in meters according to the documentation.

I will keep in mind your suggestion with AD also, great info

regs1980 commented 3 months ago

Just to be sure... the lower the "turnRadius" is, the tighter the turn, right?

That is correct.

Tensuko commented 3 months ago

I don't know what you guys doing wrong.... :) grafik

So I want to know now what tool combination is failing on what mode and doing what....

Tensuko commented 3 months ago

I can reproduce this behaviour with the Stara Estrela 32 and Stara Estrela 33, and the Bourgault FMS CD872-8 (from Giants) is the one to just have this issue almost instantly. Also the Flexicoil ST820 cultivator shows the same behaviour. The idea of the intermediate joint seems right...

grafik just on the edge and works just fine grafik

saw it when he corrected the turn, thats a different issue but ofc for this combination it can be adjusted with the vehicle conficuration for the tool or if you want for yourself with the custom vehicle configuration. https://github.com/Courseplay/Courseplay_FS22/wiki/The-VehicleConfigurations.xml-file.

regs1980 commented 3 months ago

So I want to know now what tool combination is failing on what mode and doing what....

All with original Giants turn radius.

Case IH Speed-Tiller 475 https://drive.google.com/file/d/1sVBCMr8kwIMQwMknjEKcH5pkyHPbgRpA/view?usp=drive_link KINZE Mach Till 412 https://drive.google.com/file/d/1kRBBzJ910MvBoXDYZf9qERtu6nHkO4yw/view?usp=drive_link

Tensuko commented 3 months ago

Cant be all when I pic random Giants Tool and it works. But I will check both tools.

Ferchu425 commented 3 months ago

Hi again, sorry for the delay... so I went and did a couple of test without the configuration on the VehicleConfigurations.xml and here is the result a couple of the shots on the same field... as you can see on my configuration there is a 90 degree angle between the tractor and the implement and so it gets stuck, on some ocassions it keeps pushing and the tractor can keep going and on others it just stops...

fsScreen_2024_06_15_16_40_17_ScreenshotMode fsScreen_2024_06_15_16_37_47_ScreenshotMode

I dont know how to turn on the path with the numbers as shown in other answer, sorry, hope this helps anyway

Tensuko commented 3 months ago

For that Stara Seeder, it seems to have no turn radius at all. Ofc the MT1100 have a super small radius, wich we will keep for 3point attached tools. If I set a vehicle configuration for the stara, it is all fine. (8m for that example).

For that Kinze till that one got 6m radius, wich is not enough, but again, it we set one for the tractor itself, it will kill its ability to turn on spot with 3-point attached tools wich I don't like....

Will find something....