Skip to content
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

Backlash compensations capabilities added for X/Y Axis #400

Merged
merged 8 commits into from Jan 3, 2017

Conversation

se6astian-pi
Copy link
Contributor

@se6astian-pi se6astian-pi commented Jan 3, 2017

The idea is to always move to a point defined by BacklashOffsetX / BacklashOffsetY from the target coordinates first and then move slowly (speed multiplied by the BacklashFeedRateFactor) to the target coordinates.

without backlash compensation:
backlash-off

with backlash compensation:
backlash-on

The Gcode MOVETO command with backlash compensation is meant to look like this:
G0 {BacklashOffsetX:X%.4f} {BacklashOffsetY:Y%.4f} {Z:Z%.4f} {Rotation:A%.4f} F{FeedRate:%.0f}
G1 {X:X%.4f} {Y:Y%.4f} {Z:Z%.4f} {Rotation:A%.4f} F{BacklashFeedRate:%.0f}

This does not compensate for backlash on axes A and Z as I did not consider that too relevant but if people see a real world benefit I am happy to reconsider adding those as well.

I did not get maven to install so I cant run mvn test from inside eclipse yet but I tested the changes with a fresh configuration directory manually.

@vonnieda
Copy link
Member

vonnieda commented Jan 3, 2017

@sp-apertus This looks very good! I have one tiny change request and then we can merge this. Can you please move the three new fields in the wizard to a single line? Vertical space in the wizards is at a premium so I'd like to minimize how much of it we use.

Thanks,
Jason

@se6astian-pi
Copy link
Contributor Author

se6astian-pi commented Jan 3, 2017 via email

@vonnieda
Copy link
Member

vonnieda commented Jan 3, 2017

Thanks @sp-apertus, but what I meant is just to put the three new fields themselves on a new line instead of on two new lines. Don't worry about it, though. I will merge this and rearrange the fields a bit. Thank you for adding this!

@vonnieda vonnieda merged commit 3a39bd3 into openpnp:develop Jan 3, 2017
@vonnieda
Copy link
Member

vonnieda commented Jan 3, 2017

Updates to the wizard pushed. Thanks again @sp-apertus!

@se6astian-pi
Copy link
Contributor Author

se6astian-pi commented Jan 3, 2017 via email

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.

None yet

2 participants