#emc-devel | Logs for 2009-04-13

[00:03:55] <CIA-2> EMC: 03cmorley 07TRUNK * 10emc2/src/emc/usr_intf/pncconf/pncconf.py:
[00:03:55] <CIA-2> EMC: Proof of concept of pyvcp panels that use disable pins for 'sensitivity'
[00:03:55] <CIA-2> EMC: Fix more checks for signal names. Fix problem of 'phantom' signals left
[00:03:55] <CIA-2> EMC: over from the deselected parport signal pages.(clears signal names from
[00:03:56] <CIA-2> EMC: unselected i/o pages.)
[00:19:51] <CIA-2> EMC: 03cmorley 07TRUNK * 10emc2/configs/common/configurable_options/pyvcp/m5i20panel.xml: add disable pins to some leds and buttons as a test
[04:51:34] <CIA-2> EMC: 03cmorley 07TRUNK * 10emc2/src/emc/usr_intf/stepconf/stepconf.py: Signal arrow of digital inputs was pointing wrong way
[10:48:46] <CIA-2> EMC: 03bigjohnt 07v2_3_branch * 10emc2/docs/src/hal/pyvcp.lyx: fix labelframe example code
[10:56:45] <CIA-2> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/hal/pyvcp.lyx: fix labelframe example and correct label desc
[15:36:38] <cradek> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl/emcinfo.pl?Closed_Loop_Spindle_Speed_Control
[15:37:04] <cradek> this is nice but the P=0 and external command + output sum is goofy
[15:37:30] <cradek> I wish there was a way to associate the wiki editor with the irc user (if he's here)
[15:40:20] <skunkworks_> the other day - flyingelectron was on #emc
[15:40:26] <SWPadnos> people could jsut use their IRC names
[15:42:09] <skunkworks_> http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2009-04-11.txt
[15:42:20] <skunkworks_> started out as guest3673456
[15:43:48] <cradek> cool, maybe he will come back.
[15:44:13] <cradek> I think P=1 and removing the external sum would give him the same result and be much more standard
[15:44:28] <cradek> and of course, give adjustable P gain so it can be tuned
[15:46:13] <SWPadnos> I=D=1 seems strange as well
[15:46:15] <cradek> er, no, P term is ~ error, not command
[15:46:29] <cradek> so it wouldn't give him the same behavior
[15:46:46] <cradek> but anyway, it sounds like the stability is not good currently
[15:47:30] <cradek> maybe I should try doing that again, now that mesa has index-safe velocity
[15:48:12] <skunkworks_> when index was enabled - it would reset the velocity also?
[15:48:16] <cradek> sometimes I'd like to be able to change my varispeed (drilling large holes)
[15:48:33] <cradek> skunkworks_: I was using ddt on counts to get velocity - when counts reset, the ddt would go nuts for a cycle
[15:48:34] <SWPadnos> it seems that FF0=1 (or FF1=1) would eliminate the need for the sum2
[15:49:03] <cradek> yes FF0, I think
[15:49:05] <SWPadnos> yeah, FF0
[15:49:07] <SWPadnos> I think
[15:49:50] <SWPadnos> in fact, I'd bet that results would be better with FF0=1, I=(something, maybe 1), and P=D=0
[15:50:04] <SWPadnos> but at least all the parameters would be usable
[15:50:39] <cradek> newegg seems down. where else can I order a name brand micro SD and know I'll get it?
[15:50:48] <SWPadnos> mwave.com
[15:50:52] <cradek> thanks
[15:51:02] <SWPadnos> newegg isn't down for me though
[15:51:28] <SWPadnos> micro SD are way too small
[15:51:32] <SWPadnos> (physically)
[15:51:39] <cradek> wtf, $9 for a gigabyte with two adapters?
[15:51:44] <cradek> (sandisk)
[15:51:47] <SWPadnos> sounds high
[15:51:50] <cradek> is sandisk still decent?
[15:51:59] <SWPadnos> sure
[15:52:09] <cradek> jeez.
[15:52:49] <cradek> hmm, they're out of the adapterized ones
[15:52:54] <SWPadnos> they had these things on sale at Costco until last Monday
[15:53:04] <SWPadnos> http://www.newegg.com/Product/Product.aspx?Item=N82E16820171261
[15:53:10] <SWPadnos> http://www.newegg.com/Product/Product.aspx?Item=N82E16820227259
[15:53:17] <SWPadnos> what are you adapterizing it to?
[15:53:42] <SWPadnos> hah. 2GB are less expensive than 1GB
[15:54:52] <SWPadnos> wow. and 4GB are the same price as 1GB
[15:55:12] <cradek> hahahahaha
[15:55:14] <cradek> http://www.mwave.com/mwave/viewspec_v2.asp?scriteria=BA23836
[15:55:18] <cradek> click on PRODUCT TOUR
[15:55:26] <SWPadnos> free shipping even: http://www.newegg.com/Product/Product.aspx?Item=N82E16820134527
[15:55:52] <SWPadnos> bumpin'
[15:56:14] <cradek> it would be nice if it had the CF thing with it - not sure I can plug anything else into the reader on my computer
[15:56:28] <SWPadnos> CF or SD?
[15:56:41] <cradek> CF for the computer, micro SD for the phone
[15:56:46] <SWPadnos> hmm
[15:56:56] <SWPadnos> I wonder if I've seen uSD to CF adapters
[15:56:56] <cradek> it doesn't say SDHC so I think I need to stick with the 2GB card
[15:57:21] <cradek> might need to use two adapters...
[15:57:41] <SWPadnos> check your computer. I think I have extra sets of the mini-SD / SD adapters I can send you
[15:58:17] <SWPadnos> I also got a neat USB adapter - it's the size of a USB plug
[15:58:30] <cradek> I can't believe how cheap this stuff is.
[15:58:37] <SWPadnos> yeah
[15:58:50] <cradek> I'm pretty happy with the 8GB CF "hard disks" I put in two of my laptops.
[15:59:29] <SWPadnos> http://www.newegg.com/Product/Product.aspx?Item=N82E16820134855
[15:59:41] <cradek> newegg still isn't loading for me
[15:59:44] <SWPadnos> that USB adapter is a bit big
[15:59:46] <SWPadnos> oh, strange
[16:01:51] <SWPadnos> http://www.shopping.com/xPO-Kingston-Kingston-KW-B042G-1MAQ-2GB-MicroSD-Card
[16:02:05] <SWPadnos> $9.99 with free shipping at NewEgg (once you can get to it again)
[16:03:30] <cradek> thanks
[16:04:12] <SWPadnos> sure (if you can get to it :) )
[16:04:37] <SWPadnos> hmmm. should I get a netbook so I don't have to lug the big laptop on a cruise ??
[16:04:54] <cradek> what a first-world problem that is
[16:04:58] <SWPadnos> he
[16:05:00] <SWPadnos> h
[16:05:03] <SWPadnos> zero-th world
[16:07:36] <skunkworks_> I have a usb thumbdrive that takes my micro sd chip. Works great
[16:07:48] <SWPadnos> same here, only it's pinky-sized
[16:07:55] <skunkworks_> :)
[16:08:04] <SWPadnos> last pinky joint sized even :)
[16:08:20] <SWPadnos> gotta love trade show schwag
[16:08:31] <SWPadnos> got a tiny bluetooth adapter also, so small it'
[16:08:36] <SWPadnos> it's hard to remove
[16:09:29] <SWPadnos> the really nice thing is that there was a 2GB uSD card in the reader too :)
[17:37:57] <alex_joni> I have a thumbdrive-sized 3G modem, which takes a micro SD too
[17:42:58] <SWPadnos> this is the one I got with my Beagleboard: http://www.iogear.com/product/GBU421/
[17:43:03] <SWPadnos> it's mighty tiny
[17:44:00] <alex_joni> I've seen a wireless mouse adapter that was a bit smaller :)
[17:44:09] <SWPadnos> and the USB connector is a tight fit, since it's meant to stay in the jack all the time (not too useful when you fly a lot though, especially if your laptop already has BT inside :) )
[17:44:14] <SWPadnos> heh, ytp
[17:44:16] <SWPadnos> yep
[17:44:23] <alex_joni> I'm sure they can stick everything inside the connector, but then you can't remove it
[17:44:32] <alex_joni> also. the metal around it makes a poor antenna design :D
[17:44:42] <alex_joni> a great Farraday cage though
[17:44:45] <SWPadnos> it might be necessary/desirable to have a little bit protruding beyond the cage
[17:45:23] <alex_joni> right
[17:45:24] <SWPadnos> hmmm. I wonder if 512M was enough for the rewritable filesystem on my bootabler Jaunty USB stick
[17:45:30] <SWPadnos> -r
[18:08:06] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[18:45:03] <fenn> SWPadnos: get a pair of myvu crystal video glasses and hook them to your beagleboard, no netbook needed
[19:16:29] <seb_kuzminsky> the shopbot people have opened their toolpath language and are presenting it as an alternative to G-code
[19:16:31] <seb_kuzminsky> http://blog.makezine.com/archive/2009/04/shopbot_open-sources_their_code.html?CMP=OTC-0D6B48984890
[19:34:07] <jcoby> what does opensbp have over g-code?
[19:34:48] <alex_joni> hi seb_kuzminsky
[19:36:14] <seb_kuzminsky> hi alex
[19:36:25] <seb_kuzminsky> did you hear back from that guy about how he was jogging?
[19:36:56] <alex_joni> seb_kuzminsky: not yet, but I think keyboard
[19:37:26] <alex_joni> cursor keys
[19:37:37] <seb_kuzminsky> istr there's a known problem with keyboard jogging - it doesnt always register key-up events when it ought
[19:37:56] <seb_kuzminsky> but like i said in the email, halscope will show what's going on
[19:38:14] <alex_joni> I doubt that would cause such an issue
[19:38:40] <alex_joni> the only explanation I have is that the free planner uses a different accel/vel limit
[19:38:43] <seb_kuzminsky> on a related note - is it possible to script halscope? set pins to monitor, set trigger conditions, let it run, then dump the data to a file for later analysis?
[19:39:06] <alex_joni> I think you can use halstreamer for that
[19:39:14] <seb_kuzminsky> oh yeah! cool!
[19:39:42] <alex_joni> although hal_streamer has the disadvantage you can't feed more than one thingie at once
[19:39:49] <alex_joni> so you'd have to use more than one streamer
[19:39:56] <alex_joni> which means sync-ing them will be a PITA
[19:40:43] <seb_kuzminsky> when you say "it overshoots", do you know if he means "position-cmd goes to X, but position-fb goes past X to X+epsilon, then goes back to X", or does he mean "position-fb goes to position-cmd, but position-cmd goes past where I want it"?
[19:41:01] <alex_joni> he means the motor
[19:41:09] <alex_joni> it moves to a certain location, then moves back
[19:41:13] <seb_kuzminsky> hmmm
[19:41:19] <alex_joni> like it corrects itself
[19:41:34] <alex_joni> (couldn't brake hard enough, or something like that)
[19:41:46] <alex_joni> I asked for a halscope trace
[19:41:52] <seb_kuzminsky> kthx
[19:42:14] <seb_kuzminsky> jogs happen "below" the trajectory planner, right? they're joint motions, not axis motions?
[19:43:07] <alex_joni> err.. that's a, confusing to answer, quesiton
[19:43:13] <alex_joni> but yes.. :)
[19:43:24] <alex_joni> there is a separate planner, called the "free" planner
[19:43:41] <alex_joni> which does simple trapezoidal control of each joint
[19:44:21] <alex_joni> (the requests are actually for axis jogs, but hte planner does joint jogs, but that's ok since he's using trivkins) - as a sidenote :D
[19:44:29] <seb_kuzminsky> does it connect to the axis.X.position-cmd nets?
[19:44:39] <seb_kuzminsky> i'm getting confused...
[19:45:57] <alex_joni> seb_kuzminsky: yeah
[19:46:13] <alex_joni> outside of emc's motion controller nothing changes
[19:46:22] <alex_joni> same position-cmd and -fb are used
[19:46:53] <seb_kuzminsky> the selection between the "free" planner and the normal trajectory planner is not done via HAL, it's done inside emcmot?
[19:47:41] <alex_joni> yes
[19:47:50] <alex_joni> based on the current motion controller mode
[19:47:55] <seb_kuzminsky> ok
[19:48:06] <alex_joni> when jogging the motion controller is in free mode (also used for homing)
[19:48:16] <seb_kuzminsky> and the "fp" is subject to all the same vel & accel constraints as the normal tp?
[19:48:26] <alex_joni> when under normal control (MDI, program) the motion controller is in coord. mode
[19:48:31] <alex_joni> it _should_ :)
[19:48:34] <seb_kuzminsky> heh
[19:48:42] <alex_joni> the limits get set using the same mechanism
[19:49:02] <alex_joni> SET_FOO which sets both the free limits, and the TP limis
[19:49:06] <alex_joni> limits even
[19:49:36] <alex_joni> then there's also teleop mode (for coordinated in axis space for nontrivkins machines)
[20:30:13] <seb_kuzminsky> alex_joni: do you know about how far it overshoots?
[20:32:41] <alex_joni> nope