Yes you are correct.
First you copy the file our_kins.c to src/emc/kinematics/
Then you change the Makefile:
- look for rotatekins somewhere towards the end of the file and add the
following
obj-m += our_kins.o
our_kins-objs := emc/kinematics/our_kins.o
This will look for src/emc/kinematics/our_kins.c and try to compile it to
our_kins.o, then link it to our_kins.ko
In your hal file you simply have to loadrt the new kins.
Hope this helps,
Regards,
Alex
----- Original Message -----
From: Aitor Plaza
To: Enhanced Machine Controller (EMC)
Sent: Tuesday, September 11, 2007 12:06 PM
Subject: Re: [Emc-users] Compiling a new kinematic
We are running 2.1.7 version, we have made a file like our_kins.h and we want
to compile it to obtain our_kins.o, so we have thought it could be possible to
compile as "run in place" and then copy this file (our_kins.o) to an installed
version, is it a good idea?
The problem is that just putting our_kins.h in "./src/emc/kinematics/"
doesn't compile it, so maybe we have to change the "makefile" to specific that
we want to compile "./src/emc/kinematics/our_kins.h" too, isn't it?
Which is the correct way to compile our kinematic file?
Thanks is advance
Regards,
Aitor
2007/9/10, Alex Joni <[EMAIL PROTECTED] >:
Can you give a bit more input about the version you are running, how you
configured it (run in place, vs. installed), etc?
Best thing would be to look for another similar file (with the latest CVS I
would look for pumakins references, and try to replicate that).
Regards,
Alex Joni
----- Original Message -----
From: Aitor Plaza
To: Enhanced Machine Controller (EMC)
Sent: Monday, September 10, 2007 12:50 PM
Subject: [Emc-users] Compiling a new kinematic
Hello list,
We have been working on the definition of a new kinematics file for our
machine. We want to compile the file by just doing "./configure" and "make"
does not do so. Therefore, I conclude that we should change something in the
"makefile" file. Is it correct ? Which one could be the exact point where these
changes have to be made ?
Thank you very much in advance.
Aitor
--------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.12/997 - Release Date: 9/9/2007
10:17 AM
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
------------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.12/997 - Release Date: 9/9/2007
10:17 AM
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users