XYZZBC-trt-kins module
- Clive S
- Offline
- Platinum Member
-
- Posts: 2245
- Thank you received: 481
Yes, this thing with the negative number for the home sequence apparently is needed for the homing process. That is then unrelated, sorry about that.
I believe that it will home with +ve numbers but won't be able to do auto squaring > With -ve sequence number it will.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
- Posts: 23315
- Thank you received: 4944
I have desperately been trying to build a custom version of xyzbc-trt-kins with double Z. After having fought with getting a working halcompile, I ended up with an error like Undefined symbol "map_coordinates_to_jnumbers" when starting Linuxcnc..
You probably need the LinuxCNC source code (or at least the headers) to find a reference to that function.
For your own, less general, kinematics you could probably replace that function call, and others like it, with hard-coded joint to axis mapping for just your machine.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
- Posts: 4316
- Thank you received: 1914
see here:
forum.linuxcnc.org/10-advanced-configura...compile-setup#158208
Please Log in or Create an account to join the conversation.
- kimachren
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
- Posts: 4316
- Thank you received: 1914
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
- Posts: 23315
- Thank you received: 4944
(I don't know where that is without searching, so try
sudo find / -name trivkins*
And check both locations. If you do find a newer kins module you can (probably) copy it to the old location and overwrite the original.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
- Posts: 4316
- Thank you received: 1914
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
- Posts: 23315
- Thank you received: 4944
/home/user/linuxcnc-dev/src/emc/kinematics
I was meaning the object modules (trivkins.ko / trivkins.so for example)
Please Log in or Create an account to join the conversation.
- kimachren
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 0
KINEMATICS = xyzbc-trt-kins coordinates=XYZZBC kinstype=BOTH
but when I jog Z, only one of the motors turn. When I try to jog B (which turned Z2 before), nothing happens. Not even the DRO changes. Seems I might have done something wrong in the source file (or it is highly likely:), I have absolutely no experience with this).
At least I think I know how to get the file I want now. I attached the ini, hal and .c file if you'd care to take a look.
Br
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
- Posts: 23315
- Thank you received: 4944
But you will need to make some HAL connections for joint-mode jogging.
Jogging "B" should _never_ jog Z. But jogging joint-4 is allowed to move a Z joint.
Please Log in or Create an account to join the conversation.