From .iso to build
11 Aug 2024 17:12 #307483
by nartburg
From .iso to build was created by nartburg
Dear Forum,
I started out with the .iso of linuxcnc. Configured my machine with Pncconf Wizzard and realized that I have to compensate for the geometric imperfections of my machine. There are some clues in the forum:
forum.linuxcnc.org/10-advanced-configura...t-axis-errors#105999
forum.linuxcnc.org/10-advanced-configura...onent-and-hal#191290
I'm thinking of writing a custom Kinematic module that takes a Table of commanded Positions vs. measured Positions and generates (interpolates) the correction and commands the motors (closed loop steppers) to the correct position.
What is the best way to do that?
Do I have to compile the whole LinuxCNC myself?
Is it sufficient to compile the kinematic module?
with kind regards
Martin
I started out with the .iso of linuxcnc. Configured my machine with Pncconf Wizzard and realized that I have to compensate for the geometric imperfections of my machine. There are some clues in the forum:
forum.linuxcnc.org/10-advanced-configura...t-axis-errors#105999
forum.linuxcnc.org/10-advanced-configura...onent-and-hal#191290
I'm thinking of writing a custom Kinematic module that takes a Table of commanded Positions vs. measured Positions and generates (interpolates) the correction and commands the motors (closed loop steppers) to the correct position.
What is the best way to do that?
Do I have to compile the whole LinuxCNC myself?
Is it sufficient to compile the kinematic module?
with kind regards
Martin
Please Log in or Create an account to join the conversation.
12 Aug 2024 08:54 - 12 Aug 2024 08:54 #307522
by andypugh
Replied by andypugh on topic From .iso to build
You can sometimes compile the kinematics with halcompile. Whether is works or not depends on what libraries you need.
linuxcnc.org/docs/stable/html/hal/comp.html
There is an existing component to correct XY skew: wiki.linuxcnc.org/cgi-bin/wiki.pl?Contri...y_XY_skew_correction
But building LinuxCNC isn't all that hard once you are set up for it. In fact it is very easy once you are set up, but getting all the build dependencies installed can be a bit tedious.
1) Install Git: sudo apt-get install git git-gui
2) linuxcnc.org/docs/stable/html/code/building-linuxcnc.html - Step 2.1
3) Then step 4.2.2
(But at least skim the whole page, and at this time ignore any mention of RTAI)
linuxcnc.org/docs/stable/html/hal/comp.html
There is an existing component to correct XY skew: wiki.linuxcnc.org/cgi-bin/wiki.pl?Contri...y_XY_skew_correction
But building LinuxCNC isn't all that hard once you are set up for it. In fact it is very easy once you are set up, but getting all the build dependencies installed can be a bit tedious.
1) Install Git: sudo apt-get install git git-gui
2) linuxcnc.org/docs/stable/html/code/building-linuxcnc.html - Step 2.1
3) Then step 4.2.2
(But at least skim the whole page, and at this time ignore any mention of RTAI)
Last edit: 12 Aug 2024 08:54 by andypugh.
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
12 Aug 2024 10:32 #307532
by nartburg
Replied by nartburg on topic From .iso to build
I can confirm that building it is not that hard. but may be I got one dependency wrong as axis is complaining that there is a TCL error in async code:
Bad menu entry index "G-code properties..."
Bad menu entry index "G-code properties..."
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
12 Aug 2024 14:23 - 12 Aug 2024 14:31 #307546
by Aciera
Looks like something related to a recent commit:
github.com/LinuxCNC/linuxcnc/issues/3065
[edit]
Actually there is a typo in that commit. Line 1786 in 'share/axis/tcl/axis.tcl' is missing an underscore before 'G-code':
ISSCHOULD BE
Replied by Aciera on topic From .iso to build
but may be I got one dependency wrong as axis is complaining that there is a TCL error in async code:
Bad menu entry index "G-code properties..."
Looks like something related to a recent commit:
github.com/LinuxCNC/linuxcnc/issues/3065
[edit]
Actually there is a typo in that commit. Line 1786 in 'share/axis/tcl/axis.tcl' is missing an underscore before 'G-code':
IS
state {$taskfile != ""} {.menu.file "G-code _properties..."}
state {$taskfile != ""} {.menu.file "_G-code _properties..."}
Last edit: 12 Aug 2024 14:31 by Aciera.
The following user(s) said Thank You: nartburg
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds