switchkins - using own kinematics module as kinstype=2
- mittim
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 5
26 Aug 2022 15:10 #250520
by mittim
Replied by mittim on topic switchkins - using own kinematics module as kinstype=2
Thanks, I will try that.
Please Log in or Create an account to join the conversation.
- mittim
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 5
27 Aug 2022 08:26 - 27 Aug 2022 08:27 #250563
by mittim
Replied by mittim on topic switchkins - using own kinematics module as kinstype=2
I changed the trtfuncs.c file to my needs (my file is attached) and rebuild linuxcnc (terminal notes are also attached). I tested LinuxCNC, but the kinematics are still the same (TCP like).
Do I have to rerun anything else, so that LinuxCNC uses the changed file? I have a feeling, I am missing something. Everytime I make changes to the trtfuncs.c file, nothing changed, despite rebuilding LinuxCNC.
Any help appreciated!
Do I have to rerun anything else, so that LinuxCNC uses the changed file? I have a feeling, I am missing something. Everytime I make changes to the trtfuncs.c file, nothing changed, despite rebuilding LinuxCNC.
Any help appreciated!
Last edit: 27 Aug 2022 08:27 by mittim.
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4006
- Thank you received: 1730
27 Aug 2022 13:24 #250574
by Aciera
Replied by Aciera on topic switchkins - using own kinematics module as kinstype=2
Only explanation I can come up with is that you are not setting the environment to the correct installation folder you used to build linuxcnc to.
The other way would be to use the above mentioned "userkins.comp" template as that doesn't require a rebuild but can be installed using "halcompile".
The other way would be to use the above mentioned "userkins.comp" template as that doesn't require a rebuild but can be installed using "halcompile".
Please Log in or Create an account to join the conversation.
- mittim
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 5
27 Aug 2022 13:47 #250575
by mittim
Replied by mittim on topic switchkins - using own kinematics module as kinstype=2
How do I set the environment to the correct folder? Can't really follow you at that point.
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4006
- Thank you received: 1730
27 Aug 2022 14:30 - 27 Aug 2022 14:31 #250576
by Aciera
Replied by Aciera on topic switchkins - using own kinematics module as kinstype=2
I presume you have installed linuxcnc something like this, ie a rip-install into a folder called "linuxcnc-dev" or using another folder name:
> git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc-dev
> cd linuxcnc-dev/src
> ./autogen.sh
> ./configure --with-realtime=uspace
> sudo make setuid
Then after that you need to set the environment like this:
> source ../scripts/rip-environment
Then you can start linuxcnc from the rip-installation
> linuxcnc
> git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc-dev
> cd linuxcnc-dev/src
> ./autogen.sh
> ./configure --with-realtime=uspace
> sudo make setuid
Then after that you need to set the environment like this:
> source ../scripts/rip-environment
Then you can start linuxcnc from the rip-installation
> linuxcnc
Last edit: 27 Aug 2022 14:31 by Aciera.
The following user(s) said Thank You: mittim
Please Log in or Create an account to join the conversation.
- mittim
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 5
27 Aug 2022 15:45 #250580
by mittim
Replied by mittim on topic switchkins - using own kinematics module as kinstype=2
Thank you so much for your help. I had to run it out of the terminal.
Now, I have compensation for xyzac and xyzbc machines with an offset of the Rotary Axis without using TCP.
Now, I have compensation for xyzac and xyzbc machines with an offset of the Rotary Axis without using TCP.
Please Log in or Create an account to join the conversation.
Time to create page: 0.078 seconds