*SOLVED* Recompiling genhexkins

More
13 Jan 2012 12:27 - 13 Jan 2012 12:36 #16718 by cncbasher
Replied by cncbasher on topic Re:*SOLVED* Recompiling genhexkins
find attached your armkins file and my emc makefile
these work and compile fine
against 2.6.0 pre~

place armkins.c and armkins.h in emc-dev2/src/emc/kinematics
and replace your makefile in emc-dev2/src

and then rebuild as normal

dont forget to keep copy of your origionals

File Attachment:

File Name: holly.gz
File Size:12 KB
Attachments:
Last edit: 13 Jan 2012 12:36 by cncbasher.

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

More
16 Jan 2012 09:04 #16803 by honey
Replied by honey on topic Re:*SOLVED* Recompiling genhexkins

cncbasher wrote:

find attached your armkins file and my emc makefile
these work and compile fine
against 2.6.0 pre~

place armkins.c and armkins.h in emc-dev2/src/emc/kinematics
and replace your makefile in emc-dev2/src

and then rebuild as normal

dont forget to keep copy of your origionals

So I should:
- place armkins.c and armkins.h in emc2-dev/src/emc/kinematics
- place the make file that you have attached me in emc2-dev/src
- and rebuild.
I should rebuild with only "make"? or I should use . ./scripts/emc-environment ?

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

More
16 Jan 2012 09:17 #16804 by cncbasher
Replied by cncbasher on topic Re:*SOLVED* Recompiling genhexkins
you should use source ./scripts/emc-environment
and then build , i use a script file for this purpose it's easier than typing it out all the time

iv'e attached it here , you may need to modify to suit your needs

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

More
16 Jan 2012 09:20 #16805 by cncbasher
Replied by cncbasher on topic Re:*SOLVED* Recompiling genhexkins
you should use source ./scripts/emc-environment
and then build , i use a script file for this purpose it's easier than typing it out all the time

iv'e attached it here , you may need to modify to suit your needs , it's simple enough

File Attachment:

File Name: build_emc.txt
File Size:0 KB
Attachments:

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

More
16 Jan 2012 09:42 #16806 by honey
Replied by honey on topic Re:*SOLVED* Recompiling genhexkins
cncbasher wrote:

you should use source ./scripts/emc-environment
and then build , i use a script file for this purpose it's easier than typing it out all the time


How I should use this script? I am not so expert....

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

More
16 Jan 2012 09:50 #16807 by cncbasher
Replied by cncbasher on topic Re:*SOLVED* Recompiling genhexkins
place in your home directory

in my case home/david
and my emc dev is placed in home/david/emc2-dev

if you right click on the script file make sure that under the permissions tab that Execute is ticked
then close

clicking on the script file now should give you the option to run
or alternatively just ./build-emc ( period . means execute the program ) from a terminal

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

More
16 Jan 2012 10:32 - 16 Jan 2012 11:07 #16809 by honey
Replied by honey on topic Re:*SOLVED* Recompiling genhexkins
Ok I think that I run "make" in the right way and my file armkins.c is compiled because when I run emc I haven't errors anymore. But there are some problems yet...the kinematics or the module that I have written is not completly correct because when I switch on world mode the coordinates x and z drive crazy...
Someone can read my kinematic file armkins.c and give me some advice?
Last edit: 16 Jan 2012 11:07 by honey.

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

More
16 Jan 2012 11:20 #16811 by andypugh
Replied by andypugh on topic Re:*SOLVED* Recompiling genhexkins
honey wrote:

module that I have written is not completly correct because when I switch on world mode the coordinates x and z drive crazy...
Someone can read my kinematic file armkins.c and give me some advice?


I might get time later, but I have previously looked at a similar kinematics and found it very helpful to set up a spreadsheet that performs the forwards then reverse calculations on a few positions, to see if the same numbers that went in come out again.

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

More
16 Jan 2012 12:27 #16812 by cncbasher
Replied by cncbasher on topic Re:*SOLVED* Recompiling genhexkins
where are you initializing your default values ?

can you post a video showing the error etc
and what you expect to happen

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

More
16 Jan 2012 13:00 #16815 by honey
Replied by honey on topic Re:*SOLVED* Recompiling genhexkins
cncbasher wrote:

where are you initializing your default values ?

You can me explain better what you mean? the values of the links of robot?

can you post a video showing the error etc
and what you expect to happen


As soon as I switch on world mode, the values of x and z changing always and never stop. I do nothing, just change mode and I have this strange thing!
Attachments:

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

Time to create page: 0.212 seconds
Powered by Kunena Forum