#emc-devel | Logs for 2009-08-08

Back
[03:45:45] <cradek> yay! stable motion on the jr!
[03:46:01] <gezar> grats
[03:46:26] <cradek> thanks and goodnight :-)
[12:27:14] <cradek_> cradek_ is now known as cradek
[15:58:19] <alex_joni> jepler: any idea why I could get "fatal: Not a git repository: '.git'" ?
[15:58:30] <alex_joni> when I try to git commit
[15:58:46] <cradek> in the wrong directory?
[15:58:55] <alex_joni> nope
[15:59:01] <cradek> hmm
[15:59:08] <alex_joni> git diff works
[15:59:20] <cradek> bizarre
[15:59:28] <alex_joni> git add didn't complain either
[15:59:59] <cradek> sorry, no idea
[16:00:14] <alex_joni> I'll try a new checkout :)
[16:01:02] <alex_joni> * alex_joni wonders if it's not date related
[16:01:15] <alex_joni> I had the wrong time/date when I checked out, then fixed it
[16:02:23] <cradek> that's an odd error, if so
[16:04:28] <cradek> bbl
[16:18:14] <alex_joni> seems I had git-core 1.1.3 installed
[16:18:26] <alex_joni> trying 1.6.1.1-1~linuxcnc now
[16:22:56] <alex_joni> 1.6.x works
[16:27:23] <jepler> 1.1.3 is way too old to be useful
[16:27:38] <alex_joni> it's actually broken..
[16:28:00] <alex_joni> jepler: know of a good indent incantation?
[16:28:14] <alex_joni> since it's a new file, I'd like to indent it nicely before the initial commit
[16:28:25] <alex_joni> (currently it's set at 2 spaces indent :(
[16:29:52] <jepler> no idea how to run indent, sorry
[16:45:01] <gezar> for vim?
[16:45:18] <gezar> you can try /set cindent
[16:45:28] <alex_joni> not for vim
[16:45:36] <gezar> oh, im sorry
[16:46:30] <alex_joni> np ;)
[16:48:41] <gezar> I would really like if possiable, something simple to work on or at least look at
[16:49:44] <gezar> It could be code or math
[16:53:56] <alex_joni> what is a step over in gdb ?
[16:54:12] <alex_joni> e.g. I don't want it to go into a function it calls at the current line?
[16:56:22] <gezar> maybe next, not sure though
[16:56:49] <gezar> no, I think that executes a function
[16:58:20] <alex_joni> nexti maybe?
[17:01:36] <gezar> next is next line of code, it can enter and exit a function...
[17:31:05] <alex_joni> bbl
[22:22:04] <cradek> cool, the carousel has three proxes that give quadrature + index
[22:23:40] <SWPadnos> nice
[22:23:51] <SWPadnos> how many positions?
[22:23:52] <cradek> I think I have it all wired now
[22:23:55] <cradek> 16
[22:24:09] <SWPadnos> how do you like the opto22 boards?
[22:24:14] <cradek> they're nice
[22:24:20] <SWPadnos> bigger though :)
[22:24:39] <cradek> the led on the input modules shows opposite what I think it should
[22:24:45] <cradek> but that's the only goofiness
[22:24:51] <SWPadnos> hmmm. some of them could be inverted
[22:24:53] <cradek> yeah they are big, but that means the screws are easy to use
[22:24:57] <SWPadnos> there's a different part number for that
[22:24:59] <cradek> oh they're not all the same?
[22:25:04] <cradek> thanks, I'll check that
[22:25:05] <SWPadnos> it's possible
[22:25:16] <SWPadnos> are they reading the way you expect in HAL?
[22:25:18] <cradek> I have not run out of IO yet
[22:25:21] <SWPadnos> heh
[22:25:44] <cradek> yes they read in HAL correctly (signal on = hal uninverted input shows true = led turns off)
[22:25:51] <SWPadnos> I like the fact that you can choose direction on a pin-by-pin basis
[22:25:55] <cradek> yep
[22:25:57] <SWPadnos> ok, that is odd
[22:26:27] <cradek> no, wait, I'm on drugs
[22:26:34] <SWPadnos> excellent
[22:26:44] <cradek> they're proxes so they show high when not activated
[22:26:48] <cradek> so the led is right
[22:26:52] <SWPadnos> ok, good
[22:26:55] <cradek> hal is backward
[22:27:07] <SWPadnos> and they all work so far?
[22:27:11] <cradek> yes so far
[22:27:15] <SWPadnos> great
[22:27:21] <SWPadnos> I didn't check all of them
[22:27:36] <cradek> I had to turn on all the invert_output params to get the output modules to work right
[22:27:39] <SWPadnos> actually I only did one thing with a few, so I didn't really check any of them
[22:27:52] <SWPadnos> yeah, I can imagine them being active-low
[22:27:54] <cradek> so all the logic between mesa and opto22 is inverted
[22:28:33] <SWPadnos> and the pin numbers are reversed
[22:28:45] <cradek> yeah - I quickly stuck stickers over all those numbers
[22:28:51] <cradek> I'd have gone insane otherwise
[22:28:54] <SWPadnos> heh