TCP 5-axis kinematics

More
10 Jul 2021 15:10 #214184 by Aciera
Replied by Aciera on topic TCP 5-axis kinematics
Not sure about that but maybe close the terminal window and open a new terminal window then retry:
cd linuxcnc-master
source scripts/rip-environment
linuxcnc -l

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

More
10 Jul 2021 15:41 #214186 by JackRay
Replied by JackRay on topic TCP 5-axis kinematics
Linuxcnc launches fine, but I cannot run it with the "linuxcnc xyzac-trt.ini" configuration. I have an error like in my message

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

More
10 Jul 2021 16:01 #214188 by dgarrett
Replied by dgarrett on topic TCP 5-axis kinematics
The error: "HAL: ERROR: version code mismatch"
likely indicates you have a conventional (deb package)
install and a RIP (Run-In-Place) install and did
not properly execute the command:

"source scripts/rip-environment"

in the directory used to build the RIP system.

Further evidence is given by:

1) "dlopen: /usr/lib/linuxcnc/modules/xyzac-trt-kins.so: undefined symbol: hal_exit"
2) "dlopen: /usr/lib/linuxcnc/modules/motmod.so: undefined symbol: hal_stop_threads"

which show attempts to use system libraries (/usr/lib)
instead of the libraries needed for a RIP built in a
directory named ~/linuxcnc-master.  The libraries for such
a RIP will be located in ~/linuxcnc-master/lib
(equivalentlly: /home/username/linuxcnc-master/lib)

When using a RIP, you must 'source scripts/rip-environment' in
every shell used to invoke LinuxCNC executables.

NOTE: Having both a deb install and a RIP install requires
extra care as the built-in versions of libraries may differ
and lead to confusing results.

 
The following user(s) said Thank You: Aciera

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

More
11 Jul 2021 09:18 #214239 by JackRay
Replied by JackRay on topic TCP 5-axis kinematics
I found the solution and now the program is running without problem. I just have to run it with the configuration of my ".hal / .ini" machine.

I have no training regarding all these codes, would you know where I can find some documentation so that I can understand all this

Thank you all once again for your help

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

More
11 Jul 2021 09:55 #214241 by Aciera
Replied by Aciera on topic TCP 5-axis kinematics
I can't really point you to specific documentation as there are different topics involved. It helps to feel comfortable using a linux terminal to begin with then in this case understanding how a project is organized in github helps and being aware of the differences between a deb install and a RIP install of LinuxCNC.
Maybe this is a starting point:
linuxcnc.org/docs/master/html/code/building-linuxcnc.html

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

More
12 Jul 2021 23:19 #214450 by andypugh
Replied by andypugh on topic TCP 5-axis kinematics
Asking the answerers, not the asker..

Would it not be easier to use a buildbot install of master?

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

More
13 Jul 2021 01:03 #214466 by Aciera
Replied by Aciera on topic TCP 5-axis kinematics
Possible but I thought that since he seems to have used a rip install before it might be more straight forward not to change the method of installation.

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

More
13 Jul 2021 07:56 #214504 by JackRay
Replied by JackRay on topic TCP 5-axis kinematics
Hello Can someone explain it to me.

My goal is to install linuxcnc swtichking because I have designed a continuous 5 axis machine which works very well.
But if I change my PC I find it difficult to reinstall on this configuration. I am looking for all sources. Compline etc.
But according to the different distrubition the behavior of the installation is not the same.
I found a Xubutu distrubution with Linuxcn2.9pre already installed. I would simply like to add the swichking branch to make my machine work.

For everything to work with the congif machine, I have to install alongside linuxcnc, Linuxcnc-dev and now Linuxcnc-master.
I think I'm doing anything, but I don't know how to do otherwise.

In fact, I will want to start from a distribution like LinuxMint, Dabian, Unbutu ...
Install a real time, then install linuxcnc2.9Pre with the SwichKing.

This is my ultimate goal.

Or is there a distribution with everything integrated?


If you have solutions I am interested

Thank you for your help

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

More
13 Jul 2021 08:24 #214512 by Aciera
Replied by Aciera on topic TCP 5-axis kinematics
Ah, as Andy suggested, in this case it would be easier to try the buildbot installation method!
I don't use this much so I don't know if I have everything covered but this should get you started:

So first you would install the official linuxcnc ISO with the 2.8 version :
www.linuxcnc.org/iso/linuxcnc-2.8.0-buster.iso

Then update to master

Add the key : This is from here: buildbot.linuxcnc.org/

add the buildbot archive signing key to your apt keychain by running this command in a terminal:
   

sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E




Then add the packages to the repository: (This is from linuxcnc.org/docs/html/getting-started/updating-linuxcnc.html)

Click on Applications Menu, then System, then Synaptic Package Manager.

In Synaptic, click on the Settings menu, then click Repositories to open the Software Sources window.


In the Software Sources window, select the Other Software tab.

Delete or un-check all the old linuxcnc.org entries (leave all non-linuxcnc.org lines as they are).

Click the Add button and add a new apt line:

deb http://buildbot.linuxcnc.org/ buster master-rtpreempt
deb-src http://buildbot.linuxcnc.org/ buster master-rtpreempt
(These can be found here: buildbot.linuxcnc.org/)

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

More
13 Jul 2021 08:31 #214513 by JackRay
Replied by JackRay on topic TCP 5-axis kinematics
Thanks, I'll try this right away and report back to you.

Can test on a Linux mint distribution or is the distribution included in the .iso file that you communicated to me?

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

Time to create page: 0.124 seconds
Powered by Kunena Forum