#linuxcnc-devel | Logs for 2012-03-26

Back
[00:01:40] -!- Tom_L has quit [Client Quit]
[00:01:40] <joe9> ok, thanks.
[00:10:39] -!- JT-Shop has quit [Quit: ChatZilla 0.9.88.1 [Firefox 10.0.2/20120215223356]]
[00:25:13] -!- rob_h has quit [Ping timeout: 276 seconds]
[00:40:45] -!- L84Supper has quit [Ping timeout: 252 seconds]
[00:43:51] -!- asdfasd has quit []
[00:45:12] -!- factor has quit [Read error: Connection reset by peer]
[01:13:31] -!- Tom_itx has quit []
[01:14:01] -!- Tom_itx has quit [Client Quit]
[01:14:46] -!- Tom_itx has quit [Client Quit]
[02:31:24] -!- phantoxe has quit []
[02:34:30] -!- skunkworks__ [skunkworks__!~chatzilla@str-bb-cable-south-3-102.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[02:36:01] -!- atom1 has quit [Quit: Leaving]
[02:37:08] -!- factor has quit [Read error: Connection reset by peer]
[02:53:54] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[02:55:55] <seb_kuzminsky> mhaberler: precise had libmodbus 3.0.1, from 2011-07-18, which does not have those RTS symbols
[02:58:00] -!- Tom_L has quit []
[02:59:36] <seb_kuzminsky> it's not in the "v3.0.X" branch of their git repo, but it is in master
[03:00:22] <seb_kuzminsky> so i think there's probably no chance of getting the version of libmodbus that vfs11 needs into precise
[03:00:28] <seb_kuzminsky> bummer
[03:08:10] -!- factor has quit [Ping timeout: 252 seconds]
[03:13:50] -!- ve7it has quit [Remote host closed the connection]
[03:23:07] <joe9> is it a good idea to use "RTAI OWN KTASKS" instead of not using them?
[03:23:22] <joe9> do they help with reducing latency/overruns?
[03:25:51] -!- WCMD has quit [Ping timeout: 245 seconds]
[03:37:53] -!- koax [koax!~kelb@p5B2371B1.dip.t-dialin.net] has joined #linuxcnc-devel
[03:41:31] -!- koax_ has quit [Ping timeout: 265 seconds]
[03:49:44] -!- demacus has quit [Ping timeout: 245 seconds]
[04:00:07] -!- automata__ has quit [Ping timeout: 264 seconds]
[04:03:59] -!- Valen has quit [Quit: Leaving.]
[04:08:55] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[04:18:31] <mhaberler> seb_kuzminsky: I guess what I'll do then is adapt the configure test so it checks for this sym, so LIBMODBUS3 is only defined if its available, and add a README how to install libmodbus3 from git
[04:23:41] -!- pedro has quit [Ping timeout: 252 seconds]
[04:24:25] -!- pcw has quit [Ping timeout: 260 seconds]
[04:48:14] -!- mozmck has quit [Ping timeout: 250 seconds]
[04:50:08] -!- mozmck [mozmck!~moses@client-74.117.92.175.dfwtx.partnershipbroadband.com] has joined #linuxcnc-devel
[04:54:58] -!- L84Supper has quit [Quit: puff of smoke]
[04:55:06] -!- A0Sheds has quit [Changing host]
[04:56:01] -!- Arduno has quit [Client Quit]
[05:10:08] <mhaberler> I just bugged Stephane to push an updated libmodbus package to the ubuntu archives; if that doesnt work out I'll do as outlined above
[05:16:02] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #linuxcnc-devel
[05:32:23] <mhaberler> the other option is: I'll make configurable RTS support for RS485 (half-duplex support) conditional on the library version and generate a warning if it is used. What do you think is better?
[05:52:43] <alex_joni> joe9: the kernel source per se isn't patched, but inside the debian/ folder there's a place where you put the patches
[05:53:00] <alex_joni> during the compile they first get applied, and then the kernel gets built
[05:53:05] <alex_joni> (to put it simply)
[06:15:40] -!- mhaberler has quit [Quit: mhaberler]
[06:17:35] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[06:44:19] -!- maximilian_h [maximilian_h!~bonsai@130.255.104.157] has joined #linuxcnc-devel
[06:49:06] -!- mhaberler has quit [Quit: mhaberler]
[07:01:19] -!- maximilian_h [maximilian_h!~bonsai@130.255.104.157] has parted #linuxcnc-devel
[07:03:29] -!- yang__ has quit [Quit: Leaving]
[07:19:33] -!- capricorn_1 has quit [Remote host closed the connection]
[07:22:46] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[07:24:26] -!- erasmo [erasmo!~erasmo@62.244.153.37] has joined #linuxcnc-devel
[07:26:25] -!- Tecan has quit [Quit: live long and phosphor]
[08:14:56] -!- rob_h [rob_h!~rob_h@5ace706f.bb.sky.com] has joined #linuxcnc-devel
[08:14:57] -!- mhaberler has quit [Quit: mhaberler]
[08:19:10] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[08:22:14] -!- cncbasher has quit [Ping timeout: 246 seconds]
[09:01:12] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[09:25:04] -!- iwoj has quit [Ping timeout: 260 seconds]
[09:35:36] -!- erasmo has quit [Remote host closed the connection]
[09:43:28] -!- Arduno has quit [Remote host closed the connection]
[09:49:00] -!- maximilian_h [maximilian_h!~bonsai@p549DF61B.dip.t-dialin.net] has joined #linuxcnc-devel
[10:31:03] -!- psha[work] has quit [Quit: Lost terminal]
[10:32:07] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #linuxcnc-devel
[11:00:49] -!- tom1987 has quit [Quit: Leaving]
[11:58:01] -!- jthornton [jthornton!~chatzilla@64.85.221.226.reverse.socket.net] has joined #linuxcnc-devel
[12:08:13] -!- mhaberler has quit [Quit: mhaberler]
[12:24:17] -!- skunkworks__ has quit [Ping timeout: 244 seconds]
[12:27:05] <jepler> I read back to the discussion of http://www.linuxcnc.org/docs/devel/html/remap/structure.html#_workarounds and I don't understand why axis has not always been affected by this issue. I also don't understand mharbler's descriptions which seem to pertain to *any* process using opengl to cause a separate process using pythonplugin to crash
[12:29:42] <jepler> also, I tried the test attached to comment #10 and found that it did crash on my lucid-rtai-32 virtual machine; however, linking the main program with g++ instead of gcc made the crash go away. our task should be linked with g++, though we can't control for instance whether python or tclsh are
[12:30:41] -!- skunkworks__ [skunkworks__!~chatzilla@str-bb-cable-south-3-102.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[12:35:31] -!- skunkworks__ has quit [Ping timeout: 252 seconds]
[12:36:07] <joe9> alex_joni: ok, thanks.
[12:36:37] <joe9> alex_joni: is it the same as the normal kernel build "make all && make modules_install" or, is there something more to it.
[13:10:46] -!- jthornton has quit [Quit: ChatZilla 0.9.88.1 [Firefox 11.0/20120312181643]]
[13:14:29] seb_ is now known as sebjames
[13:15:39] -!- psha[work] has quit [Quit: Lost terminal]
[13:20:37] -!- ewidance1 [ewidance1!~ewidance@LPuteaux-156-15-52-242.w82-127.abo.wanadoo.fr] has joined #linuxcnc-devel
[13:31:43] -!- JT-Shop [JT-Shop!~chatzilla@64.85.214.4.reverse.socket.net] has joined #linuxcnc-devel
[13:38:00] -!- SWPLinux [SWPLinux!~SWP@38.126.112.130] has joined #linuxcnc-devel
[13:38:18] -!- SWPLinux has quit [Changing host]
[13:38:18] -!- SWPLinux [SWPLinux!~SWP@emc/developer/SWPadnos] has joined #linuxcnc-devel
[13:38:18] -!- mode/#linuxcnc-devel [+v SWPLinux] by ChanServ
[13:48:02] -!- vladimirek has quit [Remote host closed the connection]
[14:07:08] -!- Loetmichel has quit [Ping timeout: 240 seconds]
[14:13:31] -!- atom1 has quit [Quit: Leaving]
[14:18:09] -!- Valen has quit [Quit: Leaving.]
[14:18:17] -!- mozmck has quit [Quit: Leaving.]
[14:19:33] pedro__ is now known as pcw
[14:31:30] -!- ewidance1 [ewidance1!~ewidance@LPuteaux-156-15-52-242.w82-127.abo.wanadoo.fr] has parted #linuxcnc-devel
[14:32:06] -!- factor has quit [Read error: Connection reset by peer]
[14:42:28] -!- mozmck [mozmck!~moses@client-74.117.92.175.dfwtx.partnershipbroadband.com] has joined #linuxcnc-devel
[14:43:23] -!- psha [psha!~psha@213.208.162.69] has joined #linuxcnc-devel
[15:08:24] -!- vladimirek has quit [Remote host closed the connection]
[15:15:24] -!- Tom_L has quit []
[15:40:37] -!- phantoxe has quit [Ping timeout: 246 seconds]
[15:48:45] -!- pcw has quit [Ping timeout: 252 seconds]
[15:49:08] -!- pcw_ has quit [Ping timeout: 240 seconds]
[15:52:25] -!- kbarry has quit [Remote host closed the connection]
[15:53:47] -!- phantone has quit [Remote host closed the connection]
[16:38:45] -!- automata__ has quit [Ping timeout: 248 seconds]
[16:46:45] -!- JT-Shop has quit [Ping timeout: 244 seconds]
[17:17:39] Cylly is now known as Loetmichel
[17:19:19] -!- seb_kuzminsky has quit [Ping timeout: 252 seconds]
[17:22:23] -!- phantoxe has quit []
[17:25:33] -!- adb has quit [Ping timeout: 252 seconds]
[17:28:02] -!- adb [adb!~adb@178-211-231-163.dhcp.voenergies.net] has joined #linuxcnc-devel
[17:33:00] -!- skunkworks__ [skunkworks__!~chatzilla@69-179-11-111.dyn.centurytel.net] has joined #linuxcnc-devel
[17:36:07] -!- erasmo [erasmo!~erasmo@62.244.153.37] has joined #linuxcnc-devel
[17:40:31] -!- automata_ has quit [Ping timeout: 260 seconds]
[17:49:38] -!- skunkworks__ has quit [Ping timeout: 240 seconds]
[18:06:12] -!- automata_ has quit [Ping timeout: 265 seconds]
[18:17:28] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 10.0.2/20120216080748]]
[18:18:00] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[18:21:30] -!- automata__ has quit [Ping timeout: 260 seconds]
[18:23:04] -!- automata_ has quit [Ping timeout: 245 seconds]
[18:25:45] -!- jv4779 [jv4779!~jv4779@c-98-201-6-55.hsd1.tx.comcast.net] has joined #linuxcnc-devel
[18:26:27] -!- z-log has quit [Remote host closed the connection]
[18:26:50] <jv4779> hello, quick question on realtime component programming. in a FUNCTION() is there a non-float version of fperiod ? I can't make my base-thread function float free without out this.
[18:31:33] -!- automata__ has quit [Ping timeout: 252 seconds]
[18:31:46] <cradek> period is a long, from which fperiod is calculated
[18:32:15] <jv4779> thanks, in ns I assume ?
[18:32:46] <cradek> #define fperiod (period * 1e-9)
[18:32:49] <cradek> yes looks like
[18:33:59] <jv4779> also, is there any guide line on how far the machine should be moving between servo-thread updates? at 1080 in/min that ends up being .018 in per servo-thread which seems too much
[18:35:05] <cradek> not sure. you should probably run the servo thread as fast as you can. ideally you would have hardware that makes the base thread unnecessary.
[18:35:36] <cradek> I agree that seems far, but I think it will work fine anyway. have you seen problems yet?
[18:35:57] -!- z-log has quit [Remote host closed the connection]
[18:36:40] <jv4779> I have not seen any issues, just thining about how emc works and guessing that the moves between servo-threads are linear. so a .018 circle wouldnt' be followed at max speed (having no idea if acceleration would even alow that to be possible)
[18:37:43] <jv4779> since my config if for a laser cutter, the engraving method uses position updates per base-thread (I know this sucks) to turn the laser on and off, with external hardware I loose that feedback.
[18:37:58] <cradek> well the commanded position does go along the arc in discrete steps. but your machine will not be able to make corners at those points, it just doesn't work that way mechanically
[18:38:37] <cradek> oh, I see why you need the base thread then
[18:39:34] <cradek> I don't think you'll see a lack of roundness, will be interesting to see if you can detect them
[18:40:28] <jv4779> the current method calls stepgen.capture-position at base-thread speed so taht it can use stepgen.position-fb to figure out when to turn the laser on and off, I want to switch this to stepgen.rawcount
[18:42:57] <jv4779> I have parport.reset for single base-thread stepping, this stupid stepgen.capture-position in base-thread, and also some FP happening at base-thread speed. The machine runs fine, but is sure sluggish on UI response
[18:43:32] <cradek> so you're trying to eliminate the fp in the base thread? that might help but I don't know how much.
[18:43:55] <cradek> is your hardware smp?
[18:44:27] <jv4779> if I can get the FP out of the laser frequency component I can use it in the real base-thread and not another treadh I had to make with FP
[18:44:44] <jv4779> single processor
[18:44:56] -!- psha has quit [Quit: leaving]
[18:45:16] <cradek> I ask because with an smp machine you could pin the rt tasks to one cpu
[18:45:33] <jv4779> and if I can remove the need for stepgen.position-fb I can get that out of base-thread completly
[18:45:34] <cradek> you have two base-ish threads? might try just one with fp on
[18:45:58] <jv4779> I didn't konw how to make base-thread have FP since it seems to be system created
[18:46:14] <jv4779> or just abandon it and use my own thread for everything ?
[18:46:55] <cradek> you are right, motion makes the base thread for you
[18:47:23] -!- z-log has quit [Remote host closed the connection]
[18:47:29] <cradek> yeah perhaps you could add no functions to it
[18:47:29] <jv4779> having FP at base-thread just seems bad form anyways
[18:47:37] <cradek> yes kinda
[18:51:35] <jv4779> thank you for the help.
[18:52:27] -!- gene77 has quit [Ping timeout: 252 seconds]
[18:54:52] <cradek> welcome, fwiw
[18:55:38] -!- adb has quit [Ping timeout: 240 seconds]
[18:56:10] <mhaberler> KimK: can I ask you to review the change you requested: http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/fractional-linenumbers
[18:56:58] -!- micges has quit [Client Quit]
[19:03:25] -!- ISSSY has quit [Quit: Bye Bye]
[19:15:04] -!- sebjames has quit [Quit: Ex-Chat]
[19:16:46] -!- automata_ has quit [Ping timeout: 260 seconds]
[19:16:47] -!- Al_Smt has quit [Quit: I'll Be Bock]
[19:19:14] -!- maximilian_h has quit [Quit: Leaving.]
[19:30:03] -!- automata__ has quit [Ping timeout: 272 seconds]
[19:33:10] -!- JT-Shop [JT-Shop!~chatzilla@64.85.215.20.reverse.socket.net] has joined #linuxcnc-devel
[19:35:16] -!- ve7it [ve7it!~LawrenceG@S0106001c10b7770f.pk.shawcable.net] has joined #linuxcnc-devel
[19:37:55] -!- ries has quit [Ping timeout: 252 seconds]
[19:52:32] -!- automata_ has quit [Ping timeout: 245 seconds]
[19:58:12] <joe9> how do I enable RTAI_SCHED_UP over the rtai_lxrt.
[19:58:21] <joe9> by default, the lxrt seems to be the one being used.
[19:59:04] <cradek> surely it's something in the config files I sent you
[20:12:38] -!- adb [adb!~adb@178-211-231-163.dhcp.voenergies.net] has joined #linuxcnc-devel
[20:13:09] -!- pcw_ has quit [Ping timeout: 260 seconds]
[20:13:09] -!- pcw has quit [Ping timeout: 260 seconds]
[20:29:01] -!- DJ9DJ has quit [Quit: bye]
[20:37:44] -!- micges has quit [Quit: Ex-Chat]
[20:52:25] <joe9> cradek, i tried the exact config file that you sent me, but, still get the same message.
[20:52:30] <joe9> not sure what I am missing.
[20:52:39] <joe9> http://codepad.org/3kWx2CdG any thoughts on this.
[20:52:39] <cradek> what message?
[20:52:47] <cradek> looking
[20:52:53] <cradek> ewwwww
[20:53:00] <joe9> the only problem with the config file yesterday is that the kernel panic's with ftrace.
[20:53:09] <joe9> so, had to disable the ftrace stuff.
[20:53:25] <joe9> i am not sure if there are patches in the kernel source which have to be manually applied.
[20:53:39] <cradek> I have no clue what that all means, but it looks evil
[20:54:19] <cradek> maybe try asking the rtai folks? dunno.
[20:54:34] <joe9> <without RTAI OWN KTASKs>
[20:54:47] <joe9> do you see that in your dmesg?
[20:55:45] <cradek> 931173.269706] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[21:07:24] -!- maximilian_h [maximilian_h!~bonsai@130.255.104.157] has joined #linuxcnc-devel
[21:16:44] -!- mhaberler has quit [Quit: mhaberler]
[21:21:16] -!- FinboySlick has quit [Quit: Leaving.]
[21:29:28] -!- micges [micges!~x@user-46-112-8-157.play-internet.pl] has joined #linuxcnc-devel
[21:32:15] -!- mhaberler [mhaberler!~mhaberler@195.191.253.94] has joined #linuxcnc-devel
[21:36:13] -!- syyl has quit [Quit: Leaving]
[21:52:46] -!- kbarry has quit [Quit: ChatZilla 0.9.88.1 [Firefox 11.0/20120312181643]]
[21:54:20] -!- Fox_Muldr has quit [Ping timeout: 265 seconds]
[21:57:38] -!- vladimirek has quit [Remote host closed the connection]
[21:59:00] -!- micges has quit [Quit: Ex-Chat]
[22:03:25] <mhaberler> Linus Torvalds quote of the day: "Portability is for people who cannot write new programs" ;)
[22:05:27] -!- mrsun has quit [Ping timeout: 245 seconds]
[22:07:31] -!- erasmo has quit [Remote host closed the connection]
[22:09:39] -!- raynerd has quit []
[22:26:34] <jepler> mhaberler: can't you just use read_real_number there?
[22:27:13] <jepler> The temporary insertion of a NULL character on the line is to avoid
[22:27:13] <jepler> making a format string like "%3lf" which the LynxOS compiler cannot
[22:27:13] <jepler> handle.
[22:27:14] <jepler> wtf
[22:27:17] <mhaberler> if that doesnt accept scientific notation.. i guess yes
[22:28:23] <jepler> I think that's the same thing that the rest of our value reading bottoms out in
[22:28:41] <jepler> read_real_value (the thing that can do formulas) calls it
[22:29:18] <mhaberler> N+1.2 and N-3.4 would be accepted too
[22:29:28] <mhaberler> I guess thats fine
[22:29:39] <jepler> well I have no idea what the original request was
[22:29:46] <jepler> I mean, what the motiviation is
[22:30:45] <mhaberler> KimK mentioned two cam packages which generate Nxx.yy
[22:31:06] <mhaberler> so their output needs massaging
[22:31:37] -!- factor has quit [Read error: Connection reset by peer]
[22:32:42] <mhaberler> http://www.mail-archive.com/emc-developers@lists.sourceforge.net/msg05996.html
[22:34:32] -!- vladimirek has quit [Remote host closed the connection]
[22:34:37] <mhaberler> was the stuff about "The temporary insertion of a NULL character on the line is to avoid" directed to me?
[22:41:00] <KimK> mhaberler: Hi, actually this was not really *from* any cam packages as much as it was *to* a CNC control. In fact, it was probably generated by hand if the decimal-N-numbers were used a lot (for inserting between and further-between existing lines).
[22:41:33] <mhaberler> excuse me?
[22:41:38] <mhaberler> by hand?
[22:42:08] <mhaberler> why are you asking a change then?
[22:43:28] -!- bedah has quit [Quit: Ex-Chat]
[22:44:04] <KimK> mhaberler: Well, if the (Dynapath) g-code is finished and approved and so forth (regardless of how it got to where it is), it would be nice to be able to run it on LinuxCNC as it is.
[22:45:07] <mhaberler> I'm sorry, then I dont understand what you are actually asking fo
[22:48:06] <KimK> There could be both cam and hand generated code, of course. If the program was mostly created by a cam package (maybe with N numbers every 2 lines?) and then someone had to go back in and add a few N-numbered lines (between existing N-numbered lines) to avoid fixtures, clamps, etc. to get it to its final correct state.
[22:50:06] <mhaberler> so did you try the patch - does it do what you want?
[22:52:01] <KimK> maybe something like N1234, N1236, N1238, N1238.1, N1238.2, N1238.3, N1238.32, N1238.34, N1238.4, N1239, N1240, N1242, N1244...
[22:52:57] <KimK> No, not yet, I haven't tried doing that before, but I'd like to, can you walk me through it?
[22:54:23] <mhaberler> git pull git://git.mah.priv.at/emc2-dev.git fractional-linenumbers , thhen build
[22:54:28] <mhaberler> rest as per wiki
[22:54:56] <KimK> OK, I'll try it now.
[23:04:14] -!- SolarNRG has quit []
[23:05:05] <KimK> Hmm, I did your remote pull, but the new branch has not appeared in my local branch list. I must have to create the new branch first, check it out, and then pull to it? Reading wiki now.
[23:05:47] <KimK> Unless I've already screwed up v2.5_branch? Should I reclone?
[23:08:40] -!- mhaberler has quit [Quit: mhaberler]
[23:12:56] <KimK> Yes, I guess I'd better reclone: "Your branch is ahead of 'origin/v2.5_branch' by 1188 commits." (It's OK, I'm on a fast connection.)
[23:15:05] -!- seb_kuzminsky [seb_kuzminsky!~seb@75-166-181-154.hlrn.qwest.net] has joined #linuxcnc-devel
[23:16:26] -!- pjm has quit [Read error: Connection reset by peer]
[23:19:47] <KimK> Hi Seb, your arrival is timely. Got a minute? What's the basic outline for cloning a remote branch/repo? I'm trying to check out a patch mhaberler did for me, via his remote repo, but I've never done that before. Plus I think I pulled his remote repo to my v2.5_branch (?) so now I'm recloning all just in case.
[23:32:42] <KimK> OK, recloned.
[23:45:31] <KimK> I'll check back later
[23:55:48] -!- z-log has quit [Remote host closed the connection]