Beginner kinemetrics setup for linear delta?
- dgarrett
- Offline
- Platinum Member
-
- Posts: 567
- Thank you received: 325
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/lineardeltakins.ko: Unknown symbol in module
./ldelta.hal:4: exit value: 1
./ldelta.hal:4: insmod for lineardeltakins failed, returned -1
is probably because your ini file item
[KINS]
JOINTS = 4
KINEMATICS = lineardeltakins coordinates=XYZA
attemps to specify coordinates -- this option is not available for lineardeltakins, it is hardcoded for xyza
so you just specify:
[KINS]
JOINTS = 4
KINEMATICS = lineardeltakins
The coordinates= option is avalable on some kinematics modules but not lineardeltakins.
Please Log in or Create an account to join the conversation.
- andyhol
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
Thank you
Andy
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
-
- Posts: 567
- Thank you received: 325
./ldelta.hal:7: Ini variable '[MACHINE]CF_ROD' not found.
is likely because your hal file (ldelta.hal) has the lines
setp lineardeltakins.L [MACHINE]CF_ROD
setp lineardeltakins.R [MACHINE]DELTA_R
but you have no [MACHINE] section in your ini file.
Typically, one would include an ini file section like:
[MACHINE]
CF_ROD = 123.456
DELTA_R = 654.321
Alternatively, you could put the values directly in the hal file:
setp lineardeltakins.L 123.456
setp lineardeltakins.R 654.321
Please Log in or Create an account to join the conversation.
- andyhol
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
To start, I set DELTA_R = 158.55
and CF_ROD = 326.37
This was from an example I found with the beagle bone
This produced Error4.txt
Then I divided them by 25.4 in case they needed to be in inches
6.242
12.849
This Produced Error5.txt
Do these need to bin in inches or mm?
i really do appreciate the help! If you have any more thoughts they would be greatly appreciated.
Andy
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
-
- Posts: 567
- Thank you received: 325
Found file(REL): ./ldelta.hal
CANNOT FIND FILE FOR:custom.hal
Shutting down and cleaning up LinuxCNC...
but did not provide a file in your config directory named custom.hal.
Either delete the ini item requesting custom.hal or provide an
appropriate hal file with that name.
Do these need to bin in inches or mm?
I'm not 100% sure but generally, units are defined in the
ini file with the item:
[TRAJ]
LINEAR_UNITS=inch
Please Log in or Create an account to join the conversation.
- andyhol
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
Thank you for the help, we will see how I do next

Please Log in or Create an account to join the conversation.
- andyhol
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
BTW it does appear to be using inches which is set in my ini
Thanks for the helps folks
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
-
- Posts: 567
- Thank you received: 325
(configs/sim/axis/ldelta.ini and configs/sim/axis/ldelta_demo.ini) use the
setting:
[KINS]
AUTO_TELEOP = 20
The 20 value is the max number of seconds to wait for homing completion. You
omitted this in your ini file i think.
In the axis gui, the radio buttons on the 'Manual Control' tab show as 0,1,2,... for joint mode and
as X,Y,Z,A,... for teleop mode.
In the axis gui, you can switch between joint and teleop modes with the
'$' key.
'Joints' and 'axes' are very different things for a machine with non-identity kinematics (like a delta robot):
buildbot.linuxcnc.org/doc/scratch/v2.8.0...tion/kinematics.html
Please Log in or Create an account to join the conversation.
- andyhol
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
all three moved on Z move which is a good thing, now I just need to read up on the following error which I am pretty sure is out there.
Getting Closer!
Andy
Please Log in or Create an account to join the conversation.