- Posts: 14
- Thank you received: 5
Can you get me started on using LinuxCNC on a non-traditional kinematic mechanis
- dave.franchino@gmail.com
- Topic Author
- Offline
- New Member
-
Less
More
2 years 3 months ago #305885
by dave.franchino@gmail.com
Can you get me started on using LinuxCNC on a non-traditional kinematic mechanis was created by dave.franchino@gmail.com
Hey kind folks,
Total newby to LinuxCNC and I'm just hoping for a nudge in the right direction. I would like to use Linux CNC to drive novel kinematic mechanism that will eventually resolve two simple XY coordinates. I do know the mathematical equations that resolve a couple of rotational joints with interesting kinematics into the XY coordinate, but I have no idea how to use that math in a way that will eventually wrote back to g codes. I'm sure there are samples of people using non-linear, non-xy mechanisms, but I'm not sure where to start. Any good resources for how I might take a kinematic macadism that is not a traditional thing? Linear XY where I know the math and get that so that g-codes will drive. They make it to properly? Sorry if this question isn't even phrased properly. Not sure where to begin.
Thanks!
Total newby to LinuxCNC and I'm just hoping for a nudge in the right direction. I would like to use Linux CNC to drive novel kinematic mechanism that will eventually resolve two simple XY coordinates. I do know the mathematical equations that resolve a couple of rotational joints with interesting kinematics into the XY coordinate, but I have no idea how to use that math in a way that will eventually wrote back to g codes. I'm sure there are samples of people using non-linear, non-xy mechanisms, but I'm not sure where to start. Any good resources for how I might take a kinematic macadism that is not a traditional thing? Linear XY where I know the math and get that so that g-codes will drive. They make it to properly? Sorry if this question isn't even phrased properly. Not sure where to begin.
Thanks!
Please Log in or Create an account to join the conversation.
2 years 3 months ago #305887
by Aciera
Replied by Aciera on topic Can you get me started on using LinuxCNC on a non-traditional kinematic mechanis
Maybe this helps:
linuxcnc.org/docs/devel/html/motion/kinematics.html
linuxcnc.org/docs/devel/html/motion/kinematics.html
Please Log in or Create an account to join the conversation.
- dave.franchino@gmail.com
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 5
2 years 3 months ago #305926
by dave.franchino@gmail.com
Replied by dave.franchino@gmail.com on topic Can you get me started on using LinuxCNC on a non-traditional kinematic mechanis
@aciera, thank you very much! - do you have experience with non-trivial kinematics? The example in the document you sent is actually pretty close to what I'm trying to do with a few exceptions. I note that the forward and inverse transformations transform joint lengths (AB, BD) to Cartesian coordinates. if the joints were cables wrapped around a drum, would it still be appropriate to transform cable length the cartesian coordinates or would you actually resolve that back to stepper motor steps in order to define a cable length?
Please Log in or Create an account to join the conversation.
2 years 3 months ago #305944
by Aciera
Replied by Aciera on topic Can you get me started on using LinuxCNC on a non-traditional kinematic mechanis
Yes, as long as the cable gets wound up uniformly (ie the coil does not change diameter due to stacking of the cable on the drum).if the joints were cables wrapped around a drum, would it still be appropriate to transform cable length the cartesian coordinates
This is done in the [JOINT_n] section of the ini file. The 'STEP_SCALE' value defines how many steps the motor needs to rotate to move the joint one machine unit (inch/mm).or would you actually resolve that back to stepper motor steps in order to define a cable length?
Please Log in or Create an account to join the conversation.
- dave.franchino@gmail.com
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 5
2 years 3 months ago #306692
by dave.franchino@gmail.com
Replied by dave.franchino@gmail.com on topic Can you get me started on using LinuxCNC on a non-traditional kinematic mechanis
Sorry for the newby questions... Where does the code for non traditional kinematics reside? I'm pretty sure we've derived the forward and reverse joint transformations but not exactly sure where these are stored?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
2 years 3 months ago - 2 years 3 months ago #306700
by Aciera
Replied by Aciera on topic Can you get me started on using LinuxCNC on a non-traditional kinematic mechanis
Custom kinematics written in C can be found in 'src/emc/kinematics'
github.com/LinuxCNC/linuxcnc/tree/master/src/emc/kinematics
Generally I would suggest to write custom kinematics as a component (.comp). Unless of course you have a compelling reason to use C (and know it well enough). See examples like github.com/LinuxCNC/linuxcnc/blob/master...onents/millturn.comp
or the more complex
github.com/LinuxCNC/linuxcnc/blob/master.../xyzab_tdr_kins.comp
For the latter there is a paper with documentation:
forum.linuxcnc.org/10-advanced-configura...mill?start=80#263694
[edit]
to compile and install a custom kinematic file:
halcompile --install <path/your_component.comp>
(prepend 'sudo' if you are on a package install):
github.com/LinuxCNC/linuxcnc/tree/master/src/emc/kinematics
Generally I would suggest to write custom kinematics as a component (.comp). Unless of course you have a compelling reason to use C (and know it well enough). See examples like github.com/LinuxCNC/linuxcnc/blob/master...onents/millturn.comp
or the more complex
github.com/LinuxCNC/linuxcnc/blob/master.../xyzab_tdr_kins.comp
For the latter there is a paper with documentation:
forum.linuxcnc.org/10-advanced-configura...mill?start=80#263694
[edit]
to compile and install a custom kinematic file:
halcompile --install <path/your_component.comp>
(prepend 'sudo' if you are on a package install):
Last edit: 2 years 3 months ago by Aciera.
Please Log in or Create an account to join the conversation.
Time to create page: 0.160 seconds