TCP 5-axis kinematics
- Peter_Cassar
- Offline
- Senior Member
- Posts: 56
- Thank you received: 1
also if you haven't already, read this linuxcnc.org/docs/ja/html/motion/5-axis-kinematics.html it goes through the maths and settings in HAL . This is only relevant for proper 5 axis kinematics.
My opinion is that XYZAB and XYZAC are trivial kinematics ie TRIVKINS as configured in HAL.. Now XYZAB-TRT and XYZAC-TRT kinematics applies translations to XYZ axis when A,B,C are commanded to move thus keeping the Tool over the work for Tool Centre Point motion. That's what all the maths is for. As I understand it the Matrix transformations have been coded in the Kinematics module. What I need to know is how to set up a HAL file to manage this.
Regards,
Peter.
Please Log in or Create an account to join the conversation.
Same applies for the source code where the kinematics are implemented btw.
Can you mention which version / branch you are using with these results?
Regards
Daniel
Please Log in or Create an account to join the conversation.
My thoughts reg. matrices for a similar machine like this are:
1. translation matrix for work offsets (y,z) to the A axis
2. rotation matrix for A
3. translation matrix for x,y,z movements and potentially pivot distance of A and B axis (dz, dx)
4. rotation matrix for B
Questions which come up:
- In the example in the wiki, the translation matrix for work offsets was only used once, not for the ac/bc example. I wonder whether it isn't mandatory or what the restrictions are if it is not included.
- Doesn't / shouldn't tool length (compensation) come into play as a term in the matrices
The difficutly I see is that the pivot point of both rotary axis is shifting during movement (distances d_z, d_x, and different tool lengths to be considered). So at least the procedure from the wiki page is not easily applicable. But I think the overall concept is fine as it works for 6 axis robots as well.
Regards,
Daniel
Please Log in or Create an account to join the conversation.
- Peter_Cassar
- Offline
- Senior Member
- Posts: 56
- Thank you received: 1
I'm using 2.8.2 , latest download.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I am not sure that D-H is relevant here. That is typically used with serial kinematics.Not quite sure how Denavit-Hartenberg for this setup is applied...
(Admittedly there are generally short serial chains in a 5-axis CNC machine, but I don't think that any of the trt kinematics files take DH as parameters.)
Please Log in or Create an account to join the conversation.
What is different in the HAL config between simple 5axis trivkins xyzab and proper xyzac-trt or xyzbc-trt kinetmatics ?
Almost nothing. The HAL file needs to load the alternative kinematics and then it will need to set several offsets and rotation centres.
I have looked, though, and I can't see a list of the parameters listed anywhere. There is a small example on the 5axis kinematics docs page:
# set offset parameters
net :tool-offset motion.tooloffset.z xyzac-trt-kins.tool-offset
setp xyzac-trt-kins.y-offset 0
setp xyzac-trt-kins.z-offset 20
I have 5 axis trivkins working with a Mesa 5125+7i76 . If I set the kinematics to xyzab-trt I get five joints (0 to 4) in the Axis GUI. Where to from here?
If you home the machine, then it should switch from joint mode to axis mode, and start showing XYZAC.
Does LinuxCNC assume each axis pivot is co-located , there are no translations?
No, it gets the offsets from HAL pins.
Please Log in or Create an account to join the conversation.
- Peter_Cassar
- Offline
- Senior Member
- Posts: 56
- Thank you received: 1
Regards,
Peter.
Please Log in or Create an account to join the conversation.
There is one in the LinuxCNC disribution.Now to find a turbine example!
Open the config picker, and open sim->axis->vismach->5-axis->table-rotating-tilting->xyzac-trt and the defulr file that the config iopens with is an impeller. You can save the file from there into your nc_files folder to run on the real machine.
Please Log in or Create an account to join the conversation.
Sorry for the basic question.
I just followed the instructions and was able to install Linuxcnc on my Raspberry pi4.
I would like to be able to use the latest xyzac-trt-kins after that, but I don't know how to do it.
I have tried to find out how to do this, but due to my lack of knowledge, I could not understand it.
Please tell me exactly how I can do this by typing in the command line.
Please Log in or Create an account to join the conversation.