Skip to content

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

dietzm
Copy link

@dietzm dietzm commented Dec 30, 2019

  • 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.

…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') {
Copy link
Owner

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);
Copy link
Owner

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
Copy link
Owner

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes overall behaviour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants