Category: General LinuxCNC Questions
SOLVED -
matrixkins is a standard technique for correcting the curvature of the portal in the LinuxCNC 2.10 kernel (and above). The issue of mutual correction of XYZ coordinates is resolved by specifying correction coefficients. However, this component is provided for single-engine machines, i.e. XYZ schemes. To use this software correction for LinuxCNC2.9 and possibly 2.8, you must manually compile and install the matrixkins module (create a text file matrixkins.comp and copy-paste text from
github.com/LinuxCNC/linuxcnc/blob/master...ents/matrixkins.comp + sudo halcompile --install matrixkins.comp), and you must make changes to the ini machine configuration file. Hal file does not require correction. MAN does not give these examples. However, in the ini file
instead of -
KINEMATICS = trivkins coordinates=XYZ
set -
KINEMATICS=matrixkins
then explicitly specify non-zero correction factors, for example -
halcmd setp matrixkins.C_yx -0.00252427184466
You will find the coefficient values and the transformation matrix in MAN.
The halcmd setp matrixkins.C_yx correction command -0.00252427184466 can be executed in the terminal (not while the machine is moving!), i.e. the parameter can be changed on the fly.
In case you have a multi-engine XXYZ configuration, etc., you need to change the source code of the matrixkins component (
github.com/LinuxCNC/linuxcnc/blob/master...ents/matrixkins.comp
), similar to
www.forum.linuxcnc.org/38-general-linuxc...xyyz?start=20#338894
+ sudo halcompile --install matrixkins.comp