#linuxcnc-devel | Logs for 2014-08-15

Back
[01:01:28] <CaptHindsight> skunkworks: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Isolcpus_Boot_Parameter_And_GRUB2#Latency_Testing
[10:57:19] <skunkworks> https://groups.google.com/forum/#!topic/machinekit/To6ivNZpEHU
[11:03:25] <cradek> skunkworks: it'd be great if someone would try out his gantry hal component
[11:03:42] <cradek> might be a very useful stopgap or permanent solution
[11:05:20] <skunkworks> right
[11:05:42] <skunkworks> I don't think I have anything that is similar
[11:05:56] <skunkworks> (2 joint on 1 axis)... yet
[11:24:01] <jepler> at least it has a license on it https://github.com/machinekit/machinekit/blob/master/src/hal/components/gantry.comp
[11:25:49] <cradek> thanks for finding it
[11:26:03] <cradek> I see no sign of it handling index homing
[11:26:18] <jepler> there's no provision for adjusting racking
[11:26:45] <cradek> well I don't believe in that - move your switches (or ideally, index)
[11:27:05] <jepler> without "proper" gantry support, whatever exactly that is :-P everything's going to have different trade-offs
[11:28:03] <cradek> I bet this gantry.comp is a fine approach for steppers
[11:28:20] <cradek> ... on light machines (since it stops abruptly)
[11:29:08] <jepler> it bakes in assumptions about homing switch polarity, but that's NBD since everything has software inverts
[11:29:36] <cradek> well that's the same thing motion does
[11:29:41] <jepler> it doesn't support separate positive and negative limit switches
[11:29:51] <jepler> I thought homing had a choice of polarity
[11:30:15] <cradek> oh you mean travel directions?
[11:30:38] <jepler> maybe it's been too long since I set up homing
[11:30:56] <jepler> forget it
[11:30:59] <cradek> I don't understand how it mixes home and limit together
[11:31:10] <CaptHindsight> I finally have Wheezy installed from the hybrid ISO. The install defaults to using the software GPU driver and I just added isolcpus=2,3 to the kernel parameters
[11:31:59] <jepler> cradek: oh it's using a single switch for home & limit
[11:32:09] <jepler> you're home if all joints are home, and you're on limit if any joint is on limit
[11:32:25] <cradek> oh ok
[11:32:59] <jepler> joint.##.home might be more verbosely called .combined-home-and-limit
[11:38:09] <CaptHindsight> is there a way to disable jogging for an axis if another axis is withing a certain range?
[11:38:38] <jepler> CaptHindsight: nothing straightforward and not terrible
[11:38:49] <cradek> why do you want that?
[11:38:53] <jepler> heck, probably nothing that is not both convoluted and terrible
[11:42:02] <CaptHindsight> it's not for a machine tool, it for more general automation when trying to more idiot proof a system
[11:43:52] <CaptHindsight> it's easy enough with ladder and external logic if the jog buttons are pushbuttons on a panel
[11:48:51] <pcw_home> you need the "range" component :-)
[11:49:31] <pcw_home> or expand the comparator comp to a window comparator
[11:52:03] <cradek> near might be useful
[11:56:12] <pcw_home> Yeah that makes a window comparator
[12:02:06] <pcw_home> I guess scale <1 disables the scale part
[12:21:27] <jepler> I really should look before I leap
[12:21:46] <cradek> what did you do?
[12:21:59] <jepler> I had eyeballed these two headers on the odroid that I need to connect to my level-shifting board
[12:22:39] <jepler> I know they're 2mm pitch, and so a nice round distance like 28mm sounds good
[12:22:54] <jepler> today I dug around long enough to get a mechanical drawing of the board, and the answer is: 28.125mm
[12:23:13] <cradek> that figures
[12:23:35] <jepler> (what I had "eyeballed" was a png image at about 7 dots per mm, so this is a 1-pixel error)
[12:23:49] <cradek> who lays out their board in 1/8 mms?
[12:24:10] <pcw_home> the pin will bend 5 mills :-)
[12:25:07] <jepler> anyway, lunchtime
[12:25:19] <pcw_home> shove the 2mm socket sideways when soldering
[14:48:56] <jepler> oops and I transposed the 2x2 header, despite checking it repeatedly. just two of the SPI signals, easy to adjust for
[14:50:01] <CaptHindsight> heh, I once did that on a 500+ pin bga
[14:50:48] <jepler> heh
[14:50:57] <jepler> not going to fix that by a little rework
[15:19:53] <skunkworks_> jepler: you got the boards already?
[15:35:35] <jepler> skunkworks_: no, just checking the schematic again and again
[15:38:11] <skunkworks_> heh
[15:38:29] <skunkworks_> that is always bad after you pull the trigger...
[16:16:52] <jepler> it's a metaphor for the human condition
[17:20:02] <jepler> http://paste.debian.net/plain/115833
[17:20:05] <jepler> with this script you can loadusr -w setlut5 lut5.1=i0^i1 lut5.0="i0 & (i1 ^ i2) & ~i3"