Trilateration function compatible with LinuxCNC
After successfully implementation in ASEA 5 DOF robot with LinuxCNC, It is necessary to translate Matlab function (trilateration.m) to LinuxCNC compatible function kinematics (*.cpp/*.c). The idea is use in delta robot to additive manufacturing concept.
I am attaching *.m file if someone has LinuxCNC compatible file to implement delta kinematics robot (inverse and forward) into linuxcnc controller.
Attached file is in *.c because forum allowed extension doesn't have compatibility with *.m files.
Regards.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have new delta kinematics function in Matlab, but I will use LinuxCNC because is an Manufacturing Application (step-nc additive manufacturing).
Therefore I need to translate Matlab code to C/C++ (linuxcnc compatible) functions. One of that function is Trilateration, used in forward kinematics.
Matlab has tool code translation but I don't know if It can affect some delta kinematics variables.
What is Octave?
I appreciate community help.
Regards.
Please Log in or Create an account to join the conversation.
Do you have a working step-nc interpreter for LinuxCNC?I have new delta kinematics function in Matlab, but I will use LinuxCNC because is an Manufacturing Application (step-nc additive manufacturing).
I am not sure what you are asking here. Is there any reason to believe that the Matlab-generated C-code will work better than the already-included delta kinematics modules? lineardetakins has a manual page here: linuxcnc.org/docs/ja/html/man/man9/lineardeltakins.9.htmlMatlab has tool code translation but I don't know if It can affect some delta kinematics variables.
I can't find a manual page for rotarydeltakins, but it exists (it is mentioned here: linuxcnc.org/docs/devel/html/man/man9/kins.9.html ) , the sourcecode is here: github.com/LinuxCNC/linuxcnc/tree/master/src/emc/kinematics
Octave is a Matlab-compatible programming language which is open-source and free.What is Octave? .
www.gnu.org/software/octave/
Google searching turns up trilateration code described as Matlab/Octave.
Please Log in or Create an account to join the conversation.
I still do not have it, but there are several research groups working to development.Do you have a working step-nc interpreter for LinuxCNC?
I am testing with lineardeltakins file and our delta robot parameters. Does LinuxCNC version has a vismach simulation? We are doing a delta configuration one to test with LinuxCNC in offline and online mode.I am not sure what you are asking here. Is there any reason to believe that the Matlab-generated C-code will work better than the already-included delta kinematics modules? lineardetakins has a manual page here:
When we have more results I will show to LinuxCNC community. We are using LinuxCNC do read G-code program generated with step-nc postprocessor.
Regards.
Please Log in or Create an account to join the conversation.
I am testing with lineardeltakins file and our delta robot parameters. Does LinuxCNC version has a vismach simulation? .
No, and I don't know how hard it would be to create one.
There is a hexapod simulation, so it probably isn't impossible.
Please Log in or Create an account to join the conversation.
I am testing with lineardeltakins file and our delta robot parameters.
Does LinuxCNC version has a vismach simulation?
In the master branch (2.8~pre) available from the buildbot or as a RIP build,
there are demo configs with vismach visualizations for both
linear delta and rotary delta kinematics machines:
configs/sim/axis/ldelta.ini
configs/sim/axis/ldelta_demo.ini
configs/sim/axis/rdelta.ini
These configs were used extensively for testing jogging and coordinated motion
in making joints-axes updates to the master branch.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
andypugh and dgarrett,
Thanks for your answers. When we have results about delta configuration with step-nc approaches, I will notify to LinuxCNC community.
Regards.
Please Log in or Create an account to join the conversation.