You know what, I really appreciate the number of options I apparently have at my disposal, for right now I just need the machine to work: I can play around with all the options AFTER the machine is working. For now, the simplest option appears to be THCUD. I only need help filling in some of the blanks.
For the THC.hal; I am not sure how to fill some of these out
thcud (requires a floating-point thread)
thcud.current-vel float in: Connect to motion.current-vel
thcud.requested-vel float in: Connect to motion.requested-vel
thcud.enable bit in: Enable the THC, if not enabled Z position is passed through
thcud.z-pos-in float in: Z Motor Position Command in from axis.n.motor-pos-cmd
thcud.z-pos-out float out: Z Motor Position Command Out
thcud.z-fb-out float out: Z Position Feedback to Axis
thcud.cur-offset float out: The Current Offset
thcud.vel-status bit out: When the THC thinks we are at requested speed
thcud.removing-offset bit out: Pin for testing
For the Machine HAL, where do I put these lines?
net requested-vel thcud.requested-vel <= motion.requested-vel
net current-vel thcud.current-vel <= motion.current-vel