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

Add CORE support to st_get_position_mm (and elsewhere) #2995

Merged

Conversation

thinkyhead
Copy link
Member

This addresses #2766 (aka #2782) by adding COREXY and COREXZ support to st_get_position_mm. Code that uses this function (including homing and probing routines) should now get the correct axis positions.

The function st_get_position_mm has been renamed st_get_axis_position_mm so it's clear that the values pertain to the cartesian axes, not necessarily to individual stepper positions.

The first commit also fixes endstops_trigsteps so it uses the steps from both CORE steppers in the calculation. With this patched the checkHitEndstops function should display the correct positions.

A second commit adds COREXY and COREXZ support to M114 and changes the report output for cartesians also, so that they all report raw steps and not millimeters. This is a behavioral change to an extended, non-standard feature. (See the M114 documentation at reprap.org.)

This is a proposed change. This section of M114 output is a debug
extension according to RepRap wiki.
thinkyhead added a commit that referenced this pull request Mar 6, 2016
Add CORE support to st_get_position_mm (and elsewhere)
@thinkyhead thinkyhead merged commit 34b8b9f into MarlinFirmware:RCBugFix Mar 6, 2016
@thinkyhead thinkyhead deleted the rcbugfix_corexy_corexz branch March 24, 2016 07:46
@jbrazio jbrazio modified the milestone: 1.1.0 Jul 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Confirmed ! Needs: Testing Testing is needed for this change PR: Bug Fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants