Compiling extra Kinematics

More
27 Aug 2024 11:46 #308790 by nartburg
Compiling extra Kinematics was created by nartburg
Dear Forum,

Let's assume I have coded an extra kinematic with forward and inverse and now it's time to put this module into the makefile(s).

So that whenever this module is touched make recompiles it.

Martin

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
27 Aug 2024 13:14 #308796 by tommylight
Replied by tommylight on topic Compiling extra Kinematics

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

More
27 Aug 2024 13:46 #308804 by nartburg
Replied by nartburg on topic Compiling extra Kinematics
sry my question was ambigous.

I have already built linuxcnc to RIP

the question was how to put this extra kinematic into the build process so that it is recompiled linked and put in the right place with make

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

More
27 Aug 2024 14:24 - 27 Aug 2024 14:26 #308811 by Aciera
Replied by Aciera on topic Compiling extra Kinematics
1. I can't really tell you as I generally use the newer .comp method for kinematics:
linuxcnc.org/docs/devel/html/motion/kine...erkins_comp_template

2. If I need to use the classic C file method I modify one of the built in kinematic files.

3. If I really wanted to figure it all out then I would look for an installed kinematic file (eg 'scarakins.c') and look where that pops up in the source code and copy the lines in the relevant files and replace 'scarakins.c' with my .c file (likely '/src/emc/kinematic/meson.build' and '/src/Makefile'):

 
 
Attachments:
Last edit: 27 Aug 2024 14:26 by Aciera.

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

More
27 Aug 2024 17:26 #308832 by nartburg
Replied by nartburg on topic Compiling extra Kinematics
@ ACIERA -- nice Hackadvice ;-))

Take an existing ...kins.c modify it and use the modified file.

I was not only trying to bend the machine to my will but also tried to de-cypher the linuxcnc make system ;-))

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

Time to create page: 0.133 seconds
Powered by Kunena Forum