compiling kinematics
Please Log in or Create an account to join the conversation.
I got my machine moving, but it seems like the kinematics are way off... Each axis moves as expected, but in world mode the whole system does not. I went back into my genhexkins.h file and modified a few numbers (my initial offsets, etc were just estimates) and when I tried to recompile, I got a big error in the terminal. If anyone could take a look and see what might be my problem I'd really appreciate it.
kinematics file:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The error report is littered with spurious charactors, hard to see what some of it is about
This is the first error
/home/minibox/linuxcnc-dev/src/emc/kinematics/genhexkins.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MINI_TETRA’
Line 35 is
define MINI_TETRA
define NUM_STRUTS 6
MINI_TETRA is not defined as anything and should be
#define MINI_TETRA 1234
same for every altered define in the file, the preceding hash is missing
regards
Please Log in or Create an account to join the conversation.
Thanks
Please Log in or Create an account to join the conversation.
but doesn't the hash comment things out
No it doesn't, you are using C, not a script or python.
The comments for C are either /* ............... */ or //
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.