Courseplay / Courseplay_FS22

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

[BUG_SP] The course generator rounds the corners of the headlands even though they are set to sharp. #3070

Closed Freghette closed 10 months ago

Freghette commented 10 months ago

READ FIRST https://github.com/Courseplay/Courseplay_FS22/wiki check

Steps to reproduce Create a custom rectangular polygonal concave field. Generate a course for this field with the following parameters:

Example: FS22_Courseplay\CustomFields\Map_Name\ F55.rename.txt Fig.1 A rectangular polygonal concave field on the map with a one headland course

Actual behavior One of the headland corners of the generated course is rounded.

Expected behavior All headland angles of the generated course are right (pi/2).

Screenshots Screenshots_CP

Courseplay version Version used: 7.4.0.2

Log log.txt

Map Zielonka (let it be, but the issue can be reproduced on any map).

Vehicles/ implements involved

Mod: no.

Relevant script mods None.

Tensuko commented 10 months ago

Forced sharp is a feature of the new generator but it is not finished yet. Got to wait for it. Other then that the course looks good and I wonder if the course will cover 100%

Freghette commented 10 months ago

No, it does not cover all pixels. In my experience, smooth corners mean uncovered points. So I just get rid of the smooth ones and set the turn maneuver waypoints. This can be seen in the screenshots above. But here’s a clip that illustrates it more clearly: the harvester will never process the points (circled in yellow in the screenshot), because it follows the course not by the center of the header, but by the center of the entire harvester.

https://github.com/Courseplay/Courseplay_FS22/assets/94172336/ac625e4a-2472-45d6-b488-a11a699d64e4

3070.Fig2

How the vehicle follows its course is another topic, am I right? Should I create a new issue?

Tensuko commented 10 months ago

No, as this is how the vehicle drives!