diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-02-18 17:10:17 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-02-18 17:10:17 +0300 |
commit | f645c9d4bb9c7bdbd2a8a76ad857cdfe2ac6d70f (patch) | |
tree | d18c01accd0aad3d0fc4ff69980d5b7d84a4f855 /src/Movement | |
parent | eb723605365e9d00bf641b92e30029588270de03 (diff) |
Do fewer sine/cosine calulations while executing arc moves
Also removed "tool creation:" from M563 error messages, because RRF will
prepeant the message with "M563:" anyway
Diffstat (limited to 'src/Movement')
-rw-r--r-- | src/Movement/RawMove.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Movement/RawMove.h b/src/Movement/RawMove.h index bcef96ae..3cf92e61 100644 --- a/src/Movement/RawMove.h +++ b/src/Movement/RawMove.h @@ -56,6 +56,9 @@ struct ExtendedRawMove : public RawMove float arcCurrentAngle; float arcAngleIncrement; unsigned int arcAxis0, arcAxis1; + float angleIncrementSine, angleIncrementCosine; + float sine, cosine; + unsigned int segmentsTillNextFullCalc; bool doingArcMove; SegmentedMoveState segMoveState; |