arc interpolation and line interpolation code

  • cheng
  • cheng's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
22 Aug 2019 06:15 #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 or Create an account to join the conversation.

More
22 Aug 2019 13:47 #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 or Create an account to join the conversation.

  • cheng
  • cheng's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
23 Aug 2019 02:53 #142913 by cheng
@pl7i92

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 or Create an account to join the conversation.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
23 Aug 2019 10:44 #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 or Create an account to join the conversation.

  • cheng
  • cheng's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
23 Aug 2019 10:58 #142939 by cheng

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 or Create an account to join the conversation.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
23 Aug 2019 11:11 #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 or Create an account to join the conversation.

More
27 Aug 2019 23:37 #143373 by andypugh

Please Log in or Create an account to join the conversation.

  • cheng
  • cheng's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
28 Aug 2019 00:46 #143381 by cheng
thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum