arc interpolation and line interpolation code

More
7 years 2 months ago #142793 by cheng
Hello everyone. I want to know where to find the code for arc interpolation and line interpolation for LinuxCNC.

Maybe I'm stupid. I can't find it in github, and I can't find it in LinuxCNC documents.

So I want your help.

Please Log in to join the conversation.

More
7 years 2 months ago #142847 by pl7i92
its a internal interpreter c-code
it depends on the iso 9axis coordination kinetics to interpolar to the lines in arc only 3 joints are alowed without special kins

Please Log in to join the conversation.

More
7 years 2 months ago #142913 by cheng
@pl7i92

pl7i92 wrote: its a internal interpreter c-code

very good.
Great. I'd love to take a look at C code,. I'd like to learn more about this interpolation algorithm. Can you tell me where he is? I'm in "LinuxCNC version 2.8.0-pre1-5088-g9f20624 24.4.2. Interp "found some C + code. Do you know where I can find more information?


thanks

Please Log in to join the conversation.

More
7 years 2 months ago #142937 by rodw
Work your way through the src/emc folder in git hub.

This page might also help understand the folders but its all a bit scary...
linuxcnc.org/docs/devel/html/code/code-notes.html

Please Log in to join the conversation.

More
7 years 2 months ago #142939 by cheng

rodw wrote: Work your way through the src/emc folder in git hub.

This page might also help understand the folders but its all a bit scary...
linuxcnc.org/docs/devel/html/code/code-notes.html


I've already seen this. I'm a little confused. I can't find the main function in it. Maybe it'll take more time.


thanks

Please Log in to join the conversation.

More
7 years 2 months ago #142941 by rodw
I spent some time in there ages ago but have forgotten what I learnt.

Don't hold this as gospel, but my take was one section parses and tokenises the gcode into a buffer then there is another section which processes the buffer and messages are sent to and fro other modules. Basiclaly each section is walled of from the others so it is confusing.

Please Log in to join the conversation.

More
More
7 years 2 months ago #143381 by cheng

Please Log in to join the conversation.

Time to create page: 0.146 seconds
Powered by Kunena Forum