Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-02-18 17:10:17 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-02-18 17:10:17 +0300
commitf645c9d4bb9c7bdbd2a8a76ad857cdfe2ac6d70f (patch)
treed18c01accd0aad3d0fc4ff69980d5b7d84a4f855 /src/Movement
parenteb723605365e9d00bf641b92e30029588270de03 (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.h3
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;