TCP 5-axis kinematics
- plopes9000
- Offline
- Premium Member
- Posts: 87
- Thank you received: 18
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.
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
Please Log in or Create an account to join the conversation.
- plopes9000
- Offline
- Premium Member
- Posts: 87
- Thank you received: 18
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- plopes9000
- Offline
- Premium Member
- Posts: 87
- Thank you received: 18
> 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.
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.
- plopes9000
- Offline
- Premium Member
- Posts: 87
- Thank you received: 18
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.
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.
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.
- plopes9000
- Offline
- Premium Member
- Posts: 87
- Thank you received: 18
Please Log in or Create an account to join the conversation.