Skip to content

Commit

Permalink
Merge pull request #446 from MaslowCNC/re-word-meassage-about-arcs-be…
Browse files Browse the repository at this point in the history
…ing-miscomputed

Reword message about arcs
  • Loading branch information
MaslowCommunityGardenRobot authored May 13, 2018
2 parents 003a98f + b572607 commit 30eedc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cnc_ctrl_v1/Motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ int arc(const float& X1, const float& Y1, const float& X2, const float& Y2, co
// Replace it with a G1 cut to the endpoint
String gcodeSubstitution = "G1 X";
gcodeSubstitution = gcodeSubstitution + String(X2 / sys.inchesToMMConversion, 3) + " Y" + String(Y2 / sys.inchesToMMConversion, 3) + " ";
Serial.println("Oops! This gcode line has caused a calculation error, it will be replaced by: " + gcodeSubstitution);
Serial.println("Large-radius arc replaced by straight line to improve accuracy: " + gcodeSubstitution);
G1(gcodeSubstitution, 1);
return 1;
}
Expand Down

0 comments on commit 30eedc5

Please sign in to comment.