-
Notifications
You must be signed in to change notification settings - Fork 37
Allow RobotArm to be controlled with 3d print apps like GCodePrintr... #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…ePrintr. - Add relative vs absolute positioning (G91/G90) - Add M105 command (fake temperature) - Use \\n as line ending - Use 115200 baud - Add homing (G28) - Add Get Position (M114) - prefix non-standard output with echo Several fixes: Make compile on Linux work (case sensitive includes), detect NaN, fill valueE, etc.
return false; | ||
} | ||
if (c == '\r') { | ||
if (c == '\n' || c == '\r') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does not work if \n and \r are sent
|
||
void setup() { | ||
Serial.begin(9600); | ||
Serial.begin(115200); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that would break stuff..
@@ -54,7 +54,7 @@ void Interpolation::setInterpolation(Point p1, float v) { | |||
} | |||
|
|||
void Interpolation::setInterpolation(Point p0, Point p1, float av) { | |||
v = av; //mm/s | |||
v = av/60; //convert to mm/s -> 3d printer sw uses mm/min |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that would break stuff..
if (v < 5) { //includes 0 = default value | ||
v = sqrt(dist) * 10; //set a good value for v | ||
if (v < 1) { //includes 0 = default value | ||
v = sqrt(dist) * 5; //set a good value for v |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes overall behaviour
Several fixes:
Make compile on Linux work (case sensitive includes), detect NaN, fill valueE, etc.