Replies: 1 comment 1 reply
-
That sounds awesome. To create a new kinematic you just need to implement some of the functions declared in uCNC/src/hal/kinematics/kinematic.h. The main ones are:
These 5 functions contain all the kinematic operations needed to allow the core to control the machine mechanical movement and these tell µCNC how to:
After that is just a matter of adding the definitions and kinematic header calls to kinematicdefs.h and kinematics.h. You can look at the cartesian an coreXY implementations to have a rough idea of how to do it. Other stuff is optional like:
These functions can be implemented to apply special transformations to correct geometric deformations, machine mechanical problems or other edge cases, but can simply be ignored. |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I am using uCNC to control a 6-axis robot arm and so far had a lot of success controlling all the motors and homing X,Y,Z and A axis. The problem is, that B and C axis are controlled using two motors that have to work together. So if both motor spin in the same direction, the B axis turns and when they spin in opposite directions, only C axis turns. The rest of the robot arm uses a normal 1 Motor 1 Axis configuration.
So here is my question: Is there any way to merge a cartesion kinematic system and a adapted COREXY for the b and c axis? I probably have to create my own kinematics file, is there any documentation or help on how to do this?
Every help or small hint on where I should start would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions