#emc | Logs for 2007-10-28

Back
[04:24:46] <Ziegler> Hey
[04:25:07] <Ziegler> Is it DST tomorrow or not?
[07:52:13] <chron1c2> who wants to ssh into my box and build an amd64 realtime kernel for me? :)
[07:52:37] <fenn> oo oo i dont
[07:53:40] <fenn> have you followed these instructions yet http://axis.unpythonic.net/01180573281
[07:55:34] <chron1c2> ooohhh
[07:55:42] <chron1c2> i hadn't found that on this attempt
[07:55:46] <chron1c2> i had tried before
[07:56:03] <chron1c2> it's running make now
[07:56:09] <chron1c2> it'll be junk i think though
[08:00:08] <chron1c2> reboot... :D
[10:10:00] <xemet_> hello
[10:10:17] <xemet_> anyone here can give me some advice in RTAI compiling?
[10:20:25] <alex_joni> xemet_: I can try
[10:44:16] <xemet_> I'm on Ubuntu 7.04
[10:44:24] <xemet_> I followed this guide:
[10:44:32] <xemet_> http://article.gmane.org/gmane.linux.real-time.rtai/18336
[10:44:52] <xemet_> It seems that RTAI was installed...
[10:45:26] <xemet_> but, if a run the latency test, I've a really high latency...something like 110000
[10:45:30] <xemet_> after,
[10:45:40] <xemet_> I've tried to compile EMC2
[10:45:44] <xemet_> and I get this error message:
[10:45:58] <xemet_> CC [M] /home/xemet/emc2.1.7/src/rtapi/rtai_rtapi.o
[10:45:58] <xemet_> /home/xemet/emc2.1.7/src/rtapi/rtai_rtapi.c:128: error: size of array ‘type name’ is negative
[10:45:58] <xemet_> make[2]: *** [/home/xemet/emc2.1.7/src/rtapi/rtai_rtapi.o] Error 1
[10:45:58] <xemet_> make[1]: *** [_module_/home/xemet/emc2.1.7/src] Error 2
[10:45:58] <xemet_> make[1]: Leaving directory `/usr/src/linux-2.6.20'
[10:46:01] <xemet_> make: *** [modules] Error 2
[10:59:29] <JanVanGilsen> At last, success! I changed the mime-type of .ngc-files to text/ngc, and now have automatic syntax coloring for these files :)
[10:59:58] <alex_joni> xemet_: sorry.. had to leave
[11:00:21] <alex_joni> xemet_: if you have a really high latency, then there's little purpose in compiling emc2
[11:00:50] <alex_joni> JanVanGilsen: cool.. might be interesting if you could add that to the wiki.linuxcnc.org
[11:00:53] <alex_joni> bbl
[11:00:55] <xemet_> I would like to know WHY there is this high latency
[11:01:09] <xemet_> I've tried other patches for 7.04
[11:01:21] <xemet_> and the latency was 12000...so good I think
[11:01:58] <xemet_> but with those patches EMC2 didn't work...so I tried to compile RTAI by my own...but no success...
[11:31:01] <JanVanGilsen> how do i edit the wiki ?
[12:32:35] <JanVanGilsen> I don't know ho to edit the wiki... :(
[12:52:29] <cradek> see the bottom of the main page
[12:52:39] <cradek> "If you want to add information to this page or add a new page, follow some BasicSteps."
[13:14:30] <JanVanGilsen> thx
[13:23:30] <jepler> someone should tell xemet that emc 2.1.7 is known not to compile on ubuntu 7.04, though trunk from a few months ago is known to compile in simulator mode
[13:24:49] <cradek> hi jepler
[13:30:54] <jepler> hi and bbl
[14:26:20] <JanVanGilsen> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Highlighting_In_Gedit
[14:28:23] <JanVanGilsen> can somebody check my contribution to the wiki? i'm not a native english-speaker :)
[14:28:35] <SWPadnos> it looks good to me!
[14:29:39] <SWPadnos> one question about the hilight xml file though - does it depend on spaces between G-code words?
[14:29:51] <JanVanGilsen> nope
[14:29:55] <SWPadnos> and does it allow spaces between the G-code and the number?
[14:30:03] <SWPadnos> (or even inside the numbers)
[14:30:13] <SWPadnos> I guess that's more than one question :)
[14:30:20] <JanVanGilsen> ill check that ;)
[14:30:44] <SWPadnos> thanks. that was what stumped me when I tried to do this
[14:31:22] <SWPadnos> technically, G1X20S500F100 is equivalent to G 1 X 2 0S 5 00F1 0 0
[14:31:23] <JanVanGilsen> it doesn't allow a space between the G and its number...
[14:31:28] <SWPadnos> ok
[14:32:16] <JanVanGilsen> i'll check my regexp manual, to change this...
[14:32:32] <SWPadnos> heh - good to know it isn't something simple that I missed :)
[14:35:37] <alex_joni> bbl
[14:39:48] <JanVanGilsen> SWPadnos, are tabs allowed between words?
[14:40:09] <SWPadnos> hmmm. probably, but I'm not sure
[14:41:45] <JanVanGilsen> what we need is this: http://www.regular-expressions.info/freespacing.html
[14:42:16] <JanVanGilsen> free spacing mode :)
[14:42:17] <SWPadnos> hmmm. line breaksa re significant
[14:42:21] <SWPadnos> breaks are
[14:43:56] <JanVanGilsen> ohno, im looking at a completly wrong article :)
[14:44:50] <SWPadnos> hmm. I just realized that I don't know if variable names can contain spaces. I'm not sure when the whitespace is taken out during parsing
[14:45:35] <JanVanGilsen> I don't know how to match X0000.00000 the same as X 0 0 0 0 0 . 0 0 0 0 0
[14:45:52] <JanVanGilsen> i can try :d
[14:47:10] <JanVanGilsen> but i actually don't uderstan why somebody would want to use that :)
[14:47:46] <SWPadnos> don't know why they would want to, but they can ;)
[14:49:08] <JanVanGilsen> indeed, but they won't have fancy colors :p
[14:53:28] <JanVanGilsen> i can make it to match G 02 or X 30, but G 0 2 or X 3 0, I'll leave to other people :D
[14:53:36] <SWPadnos> heh
[14:54:21] <SWPadnos> I wonder if it could be done as something like ([ \t]*[0-9.]*)*
[14:54:37] <JanVanGilsen> maybe :D
[14:54:48] <SWPadnos> (I don't remember how to group things, so substitute proper grouping where the parens are :) )
[14:54:57] <JanVanGilsen> but for the gcodes it uses only existing codes :p
[14:55:15] <SWPadnos> too bad you can't run it through sed first ;)
[14:57:43] <JanVanGilsen> ([ \t]*[0-9.]*)* works :D
[14:57:59] <SWPadnos> cool!
[14:58:51] <JanVanGilsen> i think it should be ([ \t]*[0-9\.]*)* :)
[14:59:11] <SWPadnos> inside [], . means ., not anything (I think)
[14:59:37] <SWPadnos> so you shouldn't need to escape it (it would be silly to include anything plus other stuff in a set)
[15:00:09] <JanVanGilsen> that also matches 000.000.0.0 won't it?
[15:00:19] <SWPadnos> probably
[15:00:31] <SWPadnos> or 0.........1
[15:00:51] <JanVanGilsen> mmm
[15:01:01] <JanVanGilsen> i'll get into that :)
[15:02:39] <SWPadnos> ([ \t]*[0-9\.]*)*{\.,}([ \t]*[0-9\.]*)* ?
[15:04:41] <SWPadnos> unless there's an easier way to say "zero or one '.' characters"
[15:04:54] <SWPadnos> I often don't remember stuff like that until after my second cup of coffee
[15:05:46] <JanVanGilsen> [ \t]*[+|-]?[ \t]*([ \t]*[0-9]*)*[.]?([ \t]*[0-9]*)*
[15:06:19] <SWPadnos> that looks - err - great
[15:06:28] <SWPadnos> I think it's time for more coffee now
[15:06:31] <JanVanGilsen> lol
[15:34:46] <JanVanGilsen> is it imposible for a "o"-word to have line number?
[15:35:45] <JanVanGilsen> Emc gives me bad character 'o' used .. when i use N004 o1000 call
[15:44:04] <jepler> JanVanGilsen: that's right, you can't have N or any other words on an O-word lines. comments also aren't allowed on that line, though that doesn't seem to be noted in the documentation. http://www.linuxcnc.org/docview/2.2/html/gcode_main.html#r5
[15:44:15] <jepler> The behavior is undefined if
[15:44:16] <jepler> * Other words are used on a line with an O- word
[15:45:32] <JanVanGilsen> ok, then i'll only color it when it's on a singe line :)
[16:00:29] <JanVanGilsen> i've uploaded a newer version of ngc.lang to the wiki (this one does allow X 1 . 0 3 5)
[17:44:24] <alex_joni> fenn: it should be fixed now
[17:44:37] <alex_joni> (sitesearch defaulting to LinuxCNC)
[17:46:18] <Roguish> sitesearch look wonderful!!!! thanks !!!!!
[17:46:43] <Roguish> will be a really helpful and useful thing.
[17:46:55] <alex_joni> Roguish: it has been there for quite a long time :)
[17:47:00] <alex_joni> it just didn't default to linuxcnc.org
[17:47:18] <Roguish> ok. it's still cool.
[19:19:53] <CIA-22> 03jepler 07TRUNK * 10emc2/docs/src/lyxtree.py: since only this version of the LyX document format works, don't try to process others
[19:26:16] <CIA-22> 03jepler 07TRUNK * 10emc2/docs/src/README: a note on LyX versions
[19:28:25] <CIA-22> 03jepler 07TRUNK * 10emc2/docs/src/ (Master_User_fr.lyx Submakefile index.tmpl): Beginning of french translation of user manual, from Francis TISSERANT
[19:28:28] <CIA-22> 03jepler 07TRUNK * 10emc2/docs/src/gui/axis_fr.lyx: Beginning of french translation of user manual, from Francis TISSERANT
[19:45:58] <CIA-22> 03jepler 07TRUNK * 10emc2/docs/src/ (Submakefile index.tmpl): separate out french index from english
[20:05:45] <roel01> hi all
[20:09:03] <alex_joni> hi
[21:04:52] <alex_joni> good night all
[21:48:34] <toastyde1th> toastyde1th is now known as toastydeath
[22:00:05] <toastydeath> toastydeath is now known as friend
[23:47:50] <CIA-22> 03cradek 07TRUNK * 10emc2/configs/sim/check_constraints.hal: some quantization is normal when these come from ddts