TCP 5-axis kinematics

More
09 Nov 2019 21:06 #150012 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics
You could but the idea is to get the master branch with the switchkins code, hence no point.

You would now need to apply the changes of switchkins to the master branch code.

when done, just go back to ~/linuxcnc-master-branch/src and issue "make -j2".

"-j2" is just to speed it up ....

Please Log in or Create an account to join the conversation.

More
09 Nov 2019 22:03 - 09 Nov 2019 22:03 #150022 by Leon82
Replied by Leon82 on topic TCP 5-axis kinematics

plopes9000 wrote: You could but the idea is to get the master branch with the switchkins code, hence no point.

You would now need to apply the changes of switchkins to the master branch code.

when done, just go back to ~/linuxcnc-master-branch/src and issue "make -j2".

"-j2" is just to speed it up ....


Back when I compiled Android I always did - j16.
They said use double your CPU cores
Last edit: 09 Nov 2019 22:03 by Leon82.

Please Log in or Create an account to join the conversation.

More
09 Nov 2019 22:23 #150026 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics
I have only two cores on the linuxcnc machine :-) yeah one can try between number of cores and the double of that value. Any number bigger that one is an improvement ;-)
The following user(s) said Thank You: Leon82

Please Log in or Create an account to join the conversation.

More
09 Nov 2019 22:42 #150028 by 3D-Master
Replied by 3D-Master on topic TCP 5-axis kinematics
okay thank you plopes, it seems to have worked, i have manually added the code to the files in linuxcnc-master-branch and re ran make -j2 but when i start linuxcnc and manually call g12.1 p0 it still says unknown gcode

Please Log in or Create an account to join the conversation.

More
09 Nov 2019 23:10 #150029 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics
did you run it like below?

> cd linuxcnc-master-branch/src
> sudo make setuid
> source ../scripts/rip-environment
> linuxcnc <full path to you ini file>/<ini-file.ini>

> linuxcnc -v
Verbose mode on
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/youruser/linuxcnc-master-branch/bin
LINUXCNC_TCL_DIR=/home/youruser/linuxcnc-master-branch/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/youruser/linuxcnc-master-branch/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/youruser/linuxcnc-master-branch/src/objects
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.9.0~pre0

Please Log in or Create an account to join the conversation.

More
10 Nov 2019 00:13 #150032 by 3D-Master
Replied by 3D-Master on topic TCP 5-axis kinematics

did you run it like below?

> cd linuxcnc-master-branch/src
> sudo make setuid
> source ../scripts/rip-environment
> linuxcnc <full path to you ini file>/<ini-file.ini>


that worked (somehow 2.9 starts), but i need to do this every time because if i just start using the desktop icon it starts 2.8 and doesnt recognize the new g12 command. If i start with the terminal i can switch kinematics and start the g12.ngc program but if i go into mdi and enter for example g0 x0 sometimes it says "linear move on line 2 would exceed B`s positive limit" and "invalid param in linear command". Somehow sometimes if i enter g0 a0 it stays at 90 degrees. i need to test this more and then i can say what is really wrong or what i think is wrong.

thank you so far for your help

Please Log in or Create an account to join the conversation.

More
10 Nov 2019 00:29 #150033 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics
Yes you always need to make as below - simplified version.

You can put those in a shell script and call it from a desktop link. Not exactly sure how to do the desktop link but I’m sure mr google knows ;-)

cd linuxcnc-master-branch
> source scripts/rip-environment
> linuxcnc <full path to you ini file>/<ini-file.ini>

Assuming that you applied the changes without mistakes, if things don’t seam to work as expected, assume that either your configuration is incorrect or you are misunderstanding the correct behavior - I say this because the code does work, as I have tested it many times - I mean the switchkins code.

Please Log in or Create an account to join the conversation.

More
10 Nov 2019 00:43 #150034 by andypugh
Replied by andypugh on topic TCP 5-axis kinematics
Open the desktop icon with a text editor, and edit the command.

I have on that looks like this:
[Desktop Entry]
Name=Holbrook
Exec=linuxcnc-dev/scripts/linuxcnc '/home/andypugh/linuxcnc/configs/Holbrook/Holbrook.ini'
Type=Application
Comment=
Icon=linuxcncicon

Please Log in or Create an account to join the conversation.

More
10 Nov 2019 14:03 #150061 by 3D-Master
Replied by 3D-Master on topic TCP 5-axis kinematics

Open the desktop icon with a text editor, and edit the command.

I have on that looks like this:


thanks that worked,

Assuming that you applied the changes without mistakes, if things don’t seam to work as expected, assume that either your configuration is incorrect or you are misunderstanding the correct behavior - I say this because the code does work, as I have tested it many times - I mean the switchkins code.


maybe you could upload your changed files so i can exchange them? In some of the files the changes differed in some lines for example there was a change in line 544 but in my file the changed code was on line 567 (just some imaginary numbers).

Please Log in or Create an account to join the conversation.

More
10 Nov 2019 14:27 #150062 by plopes9000
Replied by plopes9000 on topic TCP 5-axis kinematics
Check out the patch file I uploaded on page 18. It shows the changes I made against the master branch.

Please Log in or Create an account to join the conversation.

Time to create page: 0.110 seconds
Powered by Kunena Forum