From 0af52e0ba2b1c6e93b6b33cf735ca3cf28db8d9c Mon Sep 17 00:00:00 2001 From: Paciente8159 Date: Fri, 23 Aug 2019 17:25:41 +0100 Subject: [PATCH] Implemented axis skew compensation Implemented coordinate unskew operations to report the transformed machine position. --- grbl/system.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/grbl/system.c b/grbl/system.c index b9ece56..442ae14 100644 --- a/grbl/system.c +++ b/grbl/system.c @@ -302,6 +302,7 @@ float system_convert_axis_steps_to_mpos(int32_t *steps, uint8_t idx) #else pos = steps[idx]/settings.steps_per_mm[idx]; #endif + return(pos); } @@ -312,6 +313,16 @@ void system_convert_array_steps_to_mpos(float *position, int32_t *steps) for (idx=0; idx