Courseplay / Courseplay_FS22

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

[BUG_SP] The vehicle ignores sharp turns after detecting a collision. #3512

Open Beesmaster opened 2 weeks ago

Beesmaster commented 2 weeks ago

READ FIRST https://github.com/Courseplay/Courseplay_FS22/wiki It's my first bug, so i'm sorry in advance when i some reported wrong. Steps to reproduce Steps to reproduce the behavior: When the vehicle encounters a collision, it attempts to find an alternative route to return to its course.

Actual behavior When it finds a way to return to the course, the vehicle ignores sharp turns from that moment onward.

Expected behavior When the vehicle finds an alternative route, it should not ignore sharp turns on the course, because certain areas may be missed during the operation; for example, the baler might not collect all the grass. Screenshots If applicable, add screenshots to help explain your problem. Screenshots below image image

Courseplay version Version used: 7.4.2.3 (the problem start form 7.4.2 version)

Log Please attach a log with all debug channels active. For help with the debug channels, please check out the readme at the github front page. I'm not sure what part of log describe a ignoring point's. Map Map played on: Szpakowo

Vehicles/ implements involved Which vehicle or implement? URSUS 4 Pack from kasztan and Samasz hay rake Mod yes/no ? Yes

Relevant script mods Mods like Autodrive or VCA and so on. N/A

Tensuko commented 2 weeks ago

A complete logfile would have been helpful here. Just upload the log.txt https://github.com/Courseplay/Courseplay_FS22/wiki

Tensuko commented 2 weeks ago

log.txt fsScreen_2024_10_10_17_55_48 fsScreen_2024_10_10_17_56_20

Beesmaster commented 2 weeks ago

log.txt Please find the log in the attachment. To ensure that the problem includes the log, I placed the CASE 7250 PRO with Meprozet on the field, and the issue was repeated.

Beesmaster commented 15 hours ago

Hello Team,

Today, the issue occurred again during the round ballers operation. The machine's behavior was exactly as previously described. Attached are the log and a screenshot showing where the bug appeared again. As you can see in the log, I stopped the machine and restarted it. Since then, it has been working correctly. It seems this bug only occurs during round ballers operation, as I don’t recall encountering it during other tasks, like plowing, when the machine was blocked.

log.txt bug ignoring sharp corners

Tensuko commented 14 hours ago

So it is only during baling? Nothing else?

Beesmaster commented 14 hours ago

Today, I noticed this issue again during baling. I will test it with other tasks and keep you updated.

Beesmaster commented 10 hours ago

So, I confirm that the problem still exists. I tested vehicles during baling, plowing, and cultivation of the field. I used two different tractors and three machines. The problem occurs when the vehicle tries to turn on the field for the next path. As I reported during version 4.3 (maybe something happened during the repair of other bugs?), this issue persists.

This confirms the issue during plowing. The vehicle fails to lift the plow and turn it.

1 2

And also the confirmation durin the cultivation field:

Normal behavior, 3

Blocking machine by the balle.

6

Beahvior after the vehicle find alternative path:

7 8

Log: log.txt

Beesmaster commented 9 hours ago

Additionally, this issue seems very similar to what I found. The vehicle behavior is identical.

https://github.com/Courseplay/Courseplay_FS22/issues/3391

However, I'd like to confirm that the courses generated on my screen are indeed new. I want to be sure all courses are freshly created.

pvaiko commented 8 hours ago

Log: log.txt

For the record: what happened here is that the ProximityController keeps calling the blocking object listener of the RecoveryTurn (instead of calling it once only) while the pathfinder is still running and this throws off the logic. As far as I can tell, has nothing to do with the latest changes.