Triperon Motion
-
@oliof
that looks more complicated that I can handle ...What is with "If that is the case, then standard RRF supports Tripterons, and there is no longer any need for custom kinematics. Use the M669 command to specify Cartesian and use the XYZ parameters to modify the matrix." from DC42?
Doesn´t that work? I´ve found no one showing such a config.gBest Regards
Peter -
@speedpete there are two different kinds of Tripterons:
-
Orthogonal Tripterons in a box frame -- These use Cartesian kinematics and can be run without any changes to firmware. You could use the RepRapFirmware configurator to create a config.g for these.
-
Colinear Tripterons in a delta frame like @Apsu s delteron -- these use their own kinematics as implemented in my fork and need firmware changes. I'll need to check whether it can be done as @dc42 says, but back in the day I couldn't make it work (but that's probably my lack of understanding and not a limitation of the firmware).
-
-
@dc42 these are the inverse kinematics for colinear tripteron
/* Inverse Kinematics * * 3x3 reduction coefficient matrix * 1x3 coordinate matrix * [a_x -a_y 1] [x] * [b_x -b_y 1] * [y] * [g_x -g_y 1] [z] */
How'd that be expressed in M669?
But besides that I needed arm angle and the height at which the machine homed plus some correction factor (which thinking about it today might be dropped in favor of adjusting steps/mm...) for proper movement, as well as delta style homing at the top (because the motors move the arms colinearly and not in a Cartesian fashion). I may pull out my prototype and do some testing; I assume I can drop a lot of my code if M669 matrix definition works.
-
@oliof
That would be very interesting ...nice of you Truly I really depend on you in this case ...so please give it a tryBest Regards
Peter -
@oliof said in Triperon Motion:
Inverse Kinematics * * 3x3 reduction coefficient matrix * 1x3 coordinate matrix * [a_x -a_y 1] [x] * [b_x -b_y 1] * [y] * [g_x -g_y 1] [z] */
How'd that be expressed in M669?
If a_x, a_y etc. are constants, then this:
M669 K0 Xa_x:b_x:c_x Y-a_y:-b_y:-g_y Z1:1:1
with appropriate substitutions for a_x etc.
-
@dc42
so a / b / g is a substitute for the lenght of the arms? ..and I have to find "a matching value" ?Best Regards
Peter -
@speedpete I have a feeling that a_x etc. are not constants but are trigonometric functions. @oliof, can you point me to your reference for the inverse kinematics?
-
@dc42 they are constants, see https://github.com/oliof/RepRapFirmware/blob/colinear-tripteron/src/Movement/Kinematics/ColinearTripteronKinematics.cpp
(sorry I haven't looked at this code in a long time, I am a bit confused).
-
I've now refreshed my memory and with some helpful explanations from @Apsu yes those are all constants.
-
-
@speedpete Grab the formula from my code to compute the constants and then set up the kinematics as @dc42 described. I didn't get around to trying this weekend; I may be able to do this tonight.
-
@oliof
I don´t know how to do this, I´ll wait for your tryBest Regards
Peter