Configuring a custom scara kinematics module.
20 Apr 2024 23:58 #298754
by sliptonic
Configuring a custom scara kinematics module. was created by sliptonic
I modified scarakins a couple years ago and it was working well for me. A while back, after an upgrade (I'm not sure which version) halcompile started failing. I don't use this machine much so ignored it assuming it was a bug someone would eventually address. It doesn't seem to be the case. In fact the scarakins.c module that ships in the 2.9.2 still fails with error.
There are a few forum posts about it but the answer usually seems to be, "Don't do that. Instead use userkins.comp as a template"
Ok, Now I'm trying to port my forward/inverse functions to the userkins template. I'm a terrible C programmer and I'm stuck. It doesn't seem to be a problem with the functions themselves, just getting variables initialized. Could someone help me fix my code? I've attached the current gypsykins.comp module.
Compiling realtime scarakins.c
Linking scarakins.so
/usr/bin/ld:scarakins.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make: *** [/usr/share/linuxcnc/Makefile.modinc:123: scarakins.so] Error 1
There are a few forum posts about it but the answer usually seems to be, "Don't do that. Instead use userkins.comp as a template"
Ok, Now I'm trying to port my forward/inverse functions to the userkins template. I'm a terrible C programmer and I'm stuck. It doesn't seem to be a problem with the functions themselves, just getting variables initialized. Could someone help me fix my code? I've attached the current gypsykins.comp module.
Attachments:
Please Log in or Create an account to join the conversation.
22 Apr 2024 08:44 #298824
by andypugh
Replied by andypugh on topic Configuring a custom scara kinematics module.
I suspect that this might fix it:
stackoverflow.com/questions/35530964/com...or-in-version-script
(I think it is due to grep inserting colour codes in the output, and then the script not being able to parse the result)
stackoverflow.com/questions/35530964/com...or-in-version-script
(I think it is due to grep inserting colour codes in the output, and then the script not being able to parse the result)
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
Time to create page: 0.083 seconds