Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions SourceCode/AgIO/Source/Forms/FormCommSetGPS.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion SourceCode/AgIO/Source/Forms/FormSerialMonitor.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions SourceCode/GPS/Classes/CYouTurn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ private bool CreateCurveOmegaTurn()
//build the next line to add sequencelines
double widthMinusOverlap = mf.tool.width - mf.tool.overlap;

double distAway = widthMinusOverlap * (mf.curve.howManyPathsAway + ((isTurnLeft ^ mf.curve.isHeadingSameWay) ? rowSkipsWidth : -rowSkipsWidth)) + (mf.curve.isHeadingSameWay ? -mf.tool.offset : mf.tool.offset) + track.nudgeDistance;
double distAway = widthMinusOverlap * (mf.curve.howManyPathsAway + ((isTurnLeft ^ mf.curve.isHeadingSameWay) ? rowSkipsWidth : -rowSkipsWidth)) + (mf.curve.isHeadingSameWay ? mf.tool.offset : -mf.tool.offset) + track.nudgeDistance;

distAway += (0.5 * widthMinusOverlap);

Expand Down Expand Up @@ -509,7 +509,7 @@ private bool CreateCurveWideTurn()
//build the next line to add sequencelines
double widthMinusOverlap = mf.tool.width - mf.tool.overlap;

double distAway = widthMinusOverlap * (mf.curve.howManyPathsAway + ((isTurnLeft ^ mf.curve.isHeadingSameWay) ? rowSkipsWidth : -rowSkipsWidth)) + (mf.curve.isHeadingSameWay ? -mf.tool.offset : mf.tool.offset) + track.nudgeDistance;
double distAway = widthMinusOverlap * (mf.curve.howManyPathsAway + ((isTurnLeft ^ mf.curve.isHeadingSameWay) ? rowSkipsWidth : -rowSkipsWidth)) + (mf.curve.isHeadingSameWay ? mf.tool.offset : -mf.tool.offset) + track.nudgeDistance;

distAway += (0.5 * widthMinusOverlap);

Expand Down Expand Up @@ -948,7 +948,7 @@ private bool CreateABWideTurn()

CTrk track = mf.trk.gArr[mf.trk.idx];

double distAway = widthMinusOverlap * (mf.ABLine.howManyPathsAway + ((isTurnLeft ^ mf.ABLine.isHeadingSameWay) ? rowSkipsWidth : -rowSkipsWidth)) + (mf.ABLine.isHeadingSameWay ? -mf.tool.offset : mf.tool.offset) + track.nudgeDistance;
double distAway = widthMinusOverlap * (mf.ABLine.howManyPathsAway + ((isTurnLeft ^ mf.ABLine.isHeadingSameWay) ? rowSkipsWidth : -rowSkipsWidth)) + (mf.ABLine.isHeadingSameWay ? mf.tool.offset : -mf.tool.offset) + track.nudgeDistance;

distAway += (0.5 * widthMinusOverlap);

Expand Down Expand Up @@ -1456,7 +1456,7 @@ public bool KStyleTurnAB()
}

//grab the vehicle widths and offsets
double turnOffset = (mf.tool.width - mf.tool.overlap) * rowSkipsWidth + (isTurnLeft ? -mf.tool.offset : mf.tool.offset);
double turnOffset = (mf.tool.width - mf.tool.overlap) * rowSkipsWidth + (isTurnLeft ? mf.tool.offset : -mf.tool.offset);

//add the tail to first turn
int count = ytList.Count;
Expand Down
Loading
Loading