#emc-devel | Logs for 2007-09-03

Back
[13:00:20] <jepler> halcmd: loadrt threads name1=th period1=100000
[13:00:20] <jepler> halcmd: unloadrt threads
[13:00:20] <jepler> halcmd: loadrt threads name1=th1 period1=20000
[13:00:20] <jepler> halcmd: show thread
[13:00:20] <jepler> Realtime Threads:
[13:00:22] <jepler> Period FP Name (Time, Max-Time)
[13:00:25] <jepler> 0 YES th1 ( 0, 0 )
[13:00:27] <jepler> 99733 YES th ( 0, 0 )
[13:00:30] <jepler> ^^^ 2.1
[13:00:32] <jepler> note period of 'th1' -- ouch!
[13:30:55] <SWPadnos> jmkasunich, is that a bug?
[13:31:30] <SWPadnos> shouldn't it be possible to loart threads name1=mine period1=<larger than base_period>
[13:31:31] <jmkasunich> looks like ont
[13:31:48] <SWPadnos> hmmm
[13:31:59] <jmkasunich> s/ont/one
[13:32:09] <jmkasunich> hmm
[13:32:39] <jmkasunich> I'd have to look at the code to see what is and isn't permitted
[13:32:50] <SWPadnos> heh
[13:33:01] <jmkasunich> it is possible (at a lower level) to create threads as long as they are slower than the fastest one
[13:33:10] <jmkasunich> but there is another factor - priority
[13:33:34] <jmkasunich> each new thread (assumed slower than all previous threads) gets a lower priority
[13:33:35] <SWPadnos> hmmm.
[13:34:10] <SWPadnos> the only way to generically fix this is to not have motion create its own threads
[13:34:18] <jmkasunich> yeah
[13:34:21] <SWPadnos> instead, give it the mname of threads to attach itself to
[13:34:24] <SWPadnos> name
[13:34:45] <SWPadnos> actually, it doesn't even attach itself anyway - that's done in the HAL files
[13:35:41] <jmkasunich> having motion create its own threads is one of those "make it easy for the noobies" things
[13:35:51] <SWPadnos> yep
[13:35:59] <SWPadnos> I remember some discussions about it
[13:36:25] <SWPadnos> ("it" being the idea of making it a good HAL module, rather than a good newbie module)
[15:24:48] <Roguish> SWPadnos: do you expect the Ubuntu 8.04 LiveCD to include emc2.2? (backdoor question about 2.2)
[15:26:01] <SWPadnos> I'd hope that 2.2 is out before april of next year, so yes :)
[16:29:42] <SWPadnos> hmmm. it should be OK for me to remove robots.txt from the irc log directory now, right?
[17:07:35] <skunkworks> I would think so..
[17:07:47] <skunkworks> thanks again for fixing my oops
[17:23:50] <SWPadnos> no problemo
[21:48:22] <DanielFalck> http://pastebin.ca/680446
[21:48:42] <DanielFalck> can anyone help me out with this simple program and emc?
[21:49:22] <DanielFalck> I am getting the 'Radius to end of arc differs from radius to start' error
[21:50:08] <DanielFalck> I know I can make it work with an 'R' value, but I want to understand why this doesn't work
[21:50:54] <DanielFalck> whoops, sorry wrong channel. I should be in #emc
[23:09:47] <Guest365> Guest365 is now known as skunkworks