#emc-devel | Logs for 2009-03-17

Back
[01:27:04] <steve_stallings> steve_stallings is now known as steves_logging
[01:38:11] <jmkasunich> hmm
[01:38:17] <jmkasunich> wish bjt was here
[01:38:31] <jmkasunich> I was reading the pdf hal manual, found a few issues
[01:39:10] <jmkasunich> 1) "blocks" is deprecated in favor of individual components that do everything blocks can do (and more)
[01:39:37] <jmkasunich> 2) most of the examples in the tutorial are in the same proportional font as the main text, instead of typewriter font
[01:40:30] <jmkasunich> the font is correct in the current released version, wrong in the development version
[09:49:56] <micges_emc> cradek: what is the reason that G10 L1 couldn't set front angle and back angle of tool ?
[12:01:37] <CIA-2> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/gcode/images/offsets.png: add image
[12:20:56] <CIA-2> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/gcode/ (coordinates.lyx coordinates_fr.lyx main.lyx): add info on g10l2, g54 and minor edits
[12:23:13] <CIA-2> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/README: add info on drawings
[16:08:09] <cradek> should we revert freqgen so it works, or remove it, or something else?
[16:08:23] <SWPadnos> odd. the code looks correct to me
[16:08:31] <SWPadnos> hal_pin_bit_new(buf, HAL_OUT, &(addr->phase[STEP_PIN]), comp_id);
[16:08:44] <cradek> halcmd: loadrt freqgen step_type=0,0
[16:08:44] <cradek> HAL: ERROR: pin direction not one of HAL_IN, HAL_OUT, or HAL_IO
[16:08:55] <SWPadnos> HAL_OUT sure looks like one of those
[16:09:02] <cradek> I agree
[16:09:23] <cradek> different pin?
[16:09:58] <SWPadnos> ah - dirsetup
[16:10:46] <SWPadnos> yep - dirsetup, dirhold, steplen, stepspace
[16:14:00] <SWPadnos> well, it's a simple fix, so I guess I'd fix it. also I'd add a message (WARN level probably) saying freqgen is deprecated
[16:16:58] <cradek> of the three (fix, revert, remove) fix would be my third choice
[16:17:10] <cradek> mostly because it's so easy to get wrong
[16:17:45] <jepler> this is a pins-to-params change that broke it? if so, remove
[16:17:52] <cradek> yes
[16:17:53] <jepler> freqgen is deprecated, it's dumb to add new features to it
[16:18:01] <cradek> param-to-pin
[16:18:06] <jepler> yes right of course
[16:19:20] <BJT-Work> should I remove any freqgen examples from the HAL tutorial in 2.3?
[16:20:24] <jepler> it would be better if the examples used non-deprecated components
[16:20:38] <jepler> but it shouldn't be done by search&replace, because then it's likely to not work
[16:21:29] <BJT-Work> they would have to be redone and tested for sure
[16:23:17] <BJT-Work> looks like mostly the 1.5. example is where it is used
[16:24:00] <SWPadnos> shall I commit the fixes?
[16:24:55] <SWPadnos> the params need to be IN pins, which can't cause any errors since they were never connected to signals before (as params)
[16:25:00] <SWPadnos> so that's a trivial fix IMO
[16:25:38] <SWPadnos> then again, we haven't heard a single complaint since the param-to-pin change, which means there's nobody using it, escept for the tutorial :)
[16:26:48] <jepler> revert it
[16:27:29] <SWPadnos> dallur-thc uses freqgen
[16:27:36] <jepler> so-o-o?
[16:27:50] <SWPadnos> revert the param-to-pin changes?
[16:30:51] <cradek> the log says it took us six tries to get params changed to pins in pid.c
[16:31:48] <SWPadnos> ok
[16:32:07] <SWPadnos> well, can one of you guys do that then? it would take me an hour to figure out how :)
[16:32:16] <SWPadnos> (and another 17 seconds to do it)
[16:36:17] <CIA-2> EMC: 03jepler 07TRUNK * 10emc2/src/hal/components/freqgen.c: revert to 1.30 -- users desiring the conversion to pins or higher precision should switch to stepgen.
[16:37:50] <CIA-2> EMC: 03jepler 07TRUNK * 10emc2/src/hal/components/freqgen.c: note deprecation status
[16:38:34] <skunkworks> Heh - for some reason I was reading pwmgen - I was thinking 'wait - don't do that'
[16:46:53] <jepler> uh oh now I'm in trouble
[16:47:10] <cradek> you touched it last?
[16:47:24] <jepler> -- how is it that the tests were passing before? are only certain ctrl_types busted or something?
[16:47:24] <cradek> doh
[16:47:29] <jepler> er, step_types
[16:48:10] <cradek> I bet so - 'dirsetup'
[16:50:20] <CIA-2> EMC: 03jepler 07TRUNK * 10emc2/tests/modparam.0/expected: revert to 1.1 since freqgen was reverted too
[18:31:50] <jepler> cradek and I were talking at lunch about which days we'll travel to and from stuarts
[18:32:28] <jepler> I think we've decided to travel on thursday the 21th and thursday the 28th
[18:33:25] <jepler> if cradek takes the bus it seems like the travel will probably eat up most of the daylight
[18:56:16] <cradek> and that doesn't include the time used up by all the repairs
[18:56:25] <SWPadnos> heh
[18:56:36] <SWPadnos> at least there'll be a machine shop at the end of the road :)
[18:56:38] <cradek> or the hourly stops for diesel
[18:56:57] <SWPadnos> grease-bus!
[19:03:35] <BJT-Work> I've been saving my WVO for you cradek
[19:27:07] <jepler> BJT-Work: do you deliver?
[19:49:09] <BJT-Work> jepler: as far as Stringtown
[19:51:43] <cradek> BJT-Work: we'll need four 55-gal drums halfway between Lincoln and Wichita please
[20:20:59] <BJT-Work> don't know if that will fit in my saddlebags
[20:22:10] <BJT-Work> in Joplin?
[20:22:23] <BJT-Work> or Springfield
[20:22:36] <cradek> maybe four barrels in each would be smart
[20:23:18] <BJT-Work> I can fit .357 barrels and .44 barrels and a few .45 barrels in the saddlebags
[20:23:39] <cradek> are you going to fest in wichita?
[20:23:49] <BJT-Work> don't know at the moment
[20:23:54] <jepler> we all agree you should
[20:23:59] <BJT-Work> LOL
[20:24:43] <BJT-Work> about 8 hours by google maps
[20:24:54] <jepler> where are you coming from?
[20:25:02] <BJT-Work> Poplar Bluff, MO
[20:25:28] <BJT-Work> they even have most of the roads paved now to Springfield
[20:27:26] <BJT-Work> looks like a better chance this year than last year
[20:41:28] <jepler> that's the wrong corner of mo for you to carpool with jon elson
[20:43:06] <BJT-Work> yep, I'm in swamp east MO :)
[20:43:17] <BJT-Work> where is jon elson from?
[20:44:40] <jepler> st louis
[20:45:04] <BJT-Work> 3 hours north of me
[20:45:34] <BJT-Work> * BJT-Work heads out to the pond to do some fishing
[20:45:39] <jepler> see you
[20:45:45] <BJT-Work> talk to you guys later
[20:46:57] <jepler> google maps thinks it would only add 1 1/2 hours to the trip
[20:47:28] <jepler> 8:17 vs 9:36
[20:48:17] <cradek> jon E often travels in a very full van (people and stuff both)
[20:48:24] <jepler> that's true
[20:48:46] <SWPadnos> I'm sure the wife and kids would love to go to Wichita
[20:48:54] <SWPadnos> during the school year
[20:49:05] <skunkworks> hmm - that isn't really that far away..
[20:49:23] <SWPadnos> yes it is :)
[20:50:01] <skunkworks> about 3 more hours of driving..
[20:50:08] <skunkworks> from galsberg
[20:50:28] <skunkworks> *than galesberg
[20:52:29] <skunkworks> ok - 4 hours
[20:54:39] <skunkworks> * skunkworks wonders what airfare would be..
[21:11:39] <cradek> how many hours altogether is that?
[21:13:45] <skunkworks> 9
[21:21:26] <skunkworks> not too bad..