*SOLVED* Recompiling genhexkins
- cncbasher
- Offline
- Moderator
-
- Posts: 1744
- Thank you received: 288
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
Please Log in or Create an account to join the conversation.
- honey
- Offline
- Junior Member
-
- Posts: 34
- Thank you received: 0
cncbasher wrote:
So I should: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
- 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.
- cncbasher
- Offline
- Moderator
-
- Posts: 1744
- Thank you received: 288
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.
- cncbasher
- Offline
- Moderator
-
- Posts: 1744
- Thank you received: 288
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
Please Log in or Create an account to join the conversation.
- honey
- Offline
- Junior Member
-
- Posts: 34
- Thank you received: 0
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.
- cncbasher
- Offline
- Moderator
-
- Posts: 1744
- Thank you received: 288
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.
- honey
- Offline
- Junior Member
-
- Posts: 34
- Thank you received: 0
Someone can read my kinematic file armkins.c and give me some advice?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23377
- Thank you received: 4967
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.
- cncbasher
- Offline
- Moderator
-
- Posts: 1744
- Thank you received: 288
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.
- honey
- Offline
- Junior Member
-
- Posts: 34
- Thank you received: 0
You can me explain better what you mean? the values of the links of robot?where are you initializing your default values ?
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!
Please Log in or Create an account to join the conversation.