Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Fix for lane transition maneuvers #3421 #3459

Merged
merged 2 commits into from
Mar 24, 2019
Merged

Fix for lane transition maneuvers #3421 #3459

merged 2 commits into from
Mar 24, 2019

Conversation

GeorgeEarslight
Copy link
Contributor

Omitted turnDiameter x offsets from the first quarter turn.
Appears to now generate the intended course for 180-90-90 and 90-90-180 maneuvers.

image
image
image
image

Omitted `turnDiameter` x offsets from the first quarter turn. 
Appears to now generate the intended course for 180-90-90 and 90-90-180 maneuvers.
@pvaiko pvaiko self-requested a review March 24, 2019 13:18
@pvaiko pvaiko merged commit 4de84e9 into Courseplay:master Mar 24, 2019
@pvaiko
Copy link
Contributor

pvaiko commented Mar 24, 2019

Gotta find a good way to increment the version number in modDesc.xml ...

pvaiko added a commit that referenced this pull request Mar 24, 2019
Omitted `turnDiameter` x offsets from the first quarter turn.
Appears to now generate the intended course for 180-90-90 and 90-90-180
maneuvers.
@GeorgeEarslight
Copy link
Contributor Author

@pvaiko There's this
https://github.com/GitTools/GitVersion
but I don't know if it would mess up with current numbering

@pvaiko
Copy link
Contributor

pvaiko commented Mar 24, 2019

Will take a look, thanks. Don't really care if it messes up the current numbering, we need something automatic.

@pvaiko
Copy link
Contributor

pvaiko commented Mar 24, 2019

@GeorgeEarslight and thanks for the fix, from now on you are the official Courseplay turn maneuver guru :)

@GeorgeEarslight
Copy link
Contributor Author

@pvaiko no problem, nothing more relaxing than some recreational code reviewing after a day of code composing. I'll re-install Octave so I can debug maneuver generation outside the game.

@pvaiko
Copy link
Contributor

pvaiko commented Mar 24, 2019

Cool. I used Geogebra to set up the math for the headland turns

pvaiko added a commit that referenced this pull request May 27, 2019
Reverted "Fix for lane transition maneuvers #3421 (#3459)"

This reverts commit 4de84e9.

Fixed it properly, that commit worked by accident but the real problem
was that the original code assumed that we never skip a row and used
to work width instead of the delta X.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants