#emc-devel | Logs for 2006-06-15

[00:18:05] <fenn_shop> alex_joni: you said a while ago you had some packages for 6.06 to test out?
[00:25:01] <skunkworks> fenn_shop: I think you can use cradeks script - just change the breezy to dapper
[00:25:04] <skunkworks> in the file
[00:25:58] <fenn> nope
[00:26:27] <skunkworks> that is how I did it initially anyway
[00:27:41] <fenn> hmm. Binary files emc2_2.0.1_i386.deb-breezy and emc2_2.0.1_i386.deb-dapper differ
[00:27:50] <fenn> but i bet apt doesn't know the difference
[00:28:07] <cradek> yes they're very different
[00:28:15] <cradek> that's why they're in different repositories
[00:33:37] <skunkworks> I think you upset him ;)
[00:36:19] <cradek> there's two of him, looks like I only upset one.
[00:36:36] <fenn> nah i'm rebooting to get the kernel installed by emc2.0.1 dapper
[00:37:47] <skunkworks> fen_shop is his alter ego
[00:38:22] <fenn_shop> i'm totally ignorant about what is different between dapper and breezy
[00:38:40] <fenn_shop> anyway i still get the error message: insmod: error inserting '/usr/realtime-2.6.15-magma/modules/rtai_hal.ko': -1 Operation not permitte
[00:39:09] <cradek> look in dmesg for the real error
[00:40:00] <fenn_shop> lots of unknown symbol errors
[00:40:26] <fenn_shop> BLED
[00:40:41] <cradek> sure you have the latest kernel? he fixed that
[00:40:43] <fenn_shop> no idea what the consequences of that are
[00:42:05] <fenn_shop> would apt-get remove emc2 remove the kernel package?
[00:42:12] <cradek> no
[00:42:13] <fenn_shop> i suck at using dpkg
[00:42:16] <cradek> haha
[00:42:22] <skunkworks> I had that :) - you have to add a parameter to the grub
[00:42:31] <fenn_shop> whats the equivalent of rpm -qa | grep
[00:42:35] <cradek> but he fixed it right?
[00:42:37] <cradek> dpkg -l
[00:42:38] <skunkworks> but yah - I think he fixed it
[00:43:01] <skunkworks> I am sure he did. the next day I updated the kernel and it worked
[00:43:29] <fenn_shop> linux-image-2.6.15-magma aj2 Linux kernel binary image for version 2.6.15
[00:43:39] <cradek> I think it's aj4 now
[00:43:55] <cradek> apt-get update, or fire up the update manager
[00:43:59] <skunkworks> it is
[00:44:57] <skunkworks> http://pastebin.com/708927
[00:45:26] <skunkworks> as of today - (it updated today)
[00:45:51] <cradek> do you also have the latest rtai-modules?
[00:46:05] <cradek> apt-get update; apt-get upgrade shouldn't do anything
[00:46:07] <fenn_shop> how do i specify for apt-get to get the aj4 kernel and not some other linux-image..-magma kernel?
[00:46:22] <cradek> you can specify a version, but it will get the latest automatically
[00:46:54] <fenn_shop> ok, upgrade does want to get linux-image and rtai modules
[00:47:09] <cradek> ok
[00:58:27] <skunkworks> fenn_shop how did it get the older kernel?
[00:58:43] <skunkworks> to begin with
[00:59:31] <cradek> how's your hexapod coming?
[01:00:09] <fenn> er.. um
[01:00:11] <fenn> yeah
[01:00:50] <fenn> * fenn desperately looks around for some chocolate
[01:01:15] <cradek> * cradek quickly offers to share his
[01:01:22] <skunkworks> just ate half of a strawberry cheese cake
[01:01:42] <cradek> bleah, that's not right
[01:02:03] <skunkworks> it may not have been - but it was good :)
[01:21:26] <fenn_shop> skunkworks: it got the older kernel when i dist-upgraded and apt-get installed emc2 a week (?) ago
[01:29:36] <skunkworks> ah
[01:29:58] <skunkworks> working now?
[01:31:13] <fenn> slow computer
[01:31:27] <fenn> ubuntu takes up 5 gigs!! what a pig
[01:31:47] <skunkworks> but it sure is purdy
[01:33:09] <fenn> if you like the windows-XP lookalike stuff
[01:33:20] <fenn> oh you use gnome
[01:35:59] <skunkworks> are you using kde?
[02:00:02] <fenn> yeah
[02:00:45] <fenn> i hate kde as much as i do gnome
[02:00:56] <fenn> as a window manager
[02:01:05] <fenn> but the applications are nice
[02:24:56] <fenn> alright! aj4 kernel works
[02:25:48] <skunkworks> sweet - now there are 5 people running it (don't know where I pulled that out of)
[02:27:06] <cradek> yay
[02:27:27] <skunkworks> jepler, me, you, SWPadnos, alex_joni sounds right ;) cradek has been goofing off
[02:32:48] <fenn> so i guess i'll make a page about how upgrading is supposed to work
[02:35:22] <jepler> yeah though I'm not sure if I'm on aj
[02:35:22] <jepler> 4
[02:37:17] <skunkworks> I don't know when he did it - I just noticed the update today - I did have it on yesterday though
[02:38:05] <cradek> it's days old, maybe a week
[14:16:58] <Roguish> SWPadnos: simple stepper motor question?
[14:17:10] <SWPadnos> ok - I may be able to answer a simple one ;)
[14:18:07] <Roguish> i need to reverse a 4 wire stepper by changing the motor wires.
[14:18:15] <Roguish> possible?
[14:18:20] <SWPadnos> yep. several ways
[14:18:40] <SWPadnos> 1) swap the polarity on one of the coils. 2) swap the coils
[14:18:47] <SWPadnos> either will work
[14:19:26] <Roguish> so, a1 a2 b1 b2 > just change a1 and a2?
[14:19:31] <SWPadnos> yep
[14:19:56] <Roguish> or a1 to b1 and a2 to b2?
[14:20:02] <SWPadnos> yep
[14:20:07] <SWPadnos> or b1 <-> b2
[14:20:54] <Roguish> cool. thought it would be easy. thanks. it's a test unit for Lawrence Livermore Labs National Ignition Facility.
[14:21:02] <SWPadnos> cool.
[14:21:18] <SWPadnos> err - they're not trying to ignite the whole country are they? ;)
[14:21:30] <Roguish> fusion research. this tests a couple of small sub assemblies that have steppers.
[14:21:45] <Roguish> no, just a few drops of water or something.....
[14:22:20] <SWPadnos> cool stuff
[14:22:49] <Roguish> thanks. my electronic associate is moving a production line from Malaysia to Singapore.
[14:23:03] <Roguish> kinda hard to reach for a few weeks.
[14:23:16] <SWPadnos> ah - bummer.
[14:23:29] <SWPadnos> that sounds like a fun job as well
[14:24:10] <Roguish> i got the job to replace my client's 'burned up' foam mill. budget is about 75k
[14:24:41] <SWPadnos> great!
[14:24:53] <SWPadnos> unless they want it done tomorrow ;)
[14:24:59] <Roguish> gonna try and run it with emc2. 4 axis to start, x y z a.
[14:25:15] <Roguish> not tomorrw, about 8 - 10 weeks.
[14:25:19] <SWPadnos> is this a milling machine, or a wire foam cutter?
[14:25:24] <Roguish> milling
[14:25:28] <SWPadnos> ok, good.
[14:27:52] <Roguish> anyway, thanks again. i'm off to collect a few receivables that are way late!!!!!!
[14:27:54] <Roguish> ciao.
[14:27:59] <SWPadnos> heh - see you
[20:31:22] <SWPadnos> hi there
[20:31:53] <kerry_> Hi Steven -- ray here
[20:32:29] <skunkworks> hey ray. How is the trip?
[20:32:35] <SWPadnos> Hi Ray. How's China treating you?
[20:33:51] <kerry_> Lots of walking
[20:33:56] <SWPadnos> heh
[20:34:08] <SWPadnos> is that China or the trade show doing that? ;)
[20:34:17] <kerry_> There must be 200 different CNC Lathe manufacturers.
[20:34:29] <kerry_> trade show
[20:34:32] <cradek> hi ray
[20:34:48] <kerry_> almost as large as IMTS
[20:35:43] <jepler> kerry_: bring one back for me .. just a small one
[20:36:09] <kerry_> Been trying to get them to put one in my backpack
[20:37:24] <SWPadnos> carry-on ;)
[20:37:25] <kerry_> just starting to get light here.
[20:37:57] <kerry_> I found several control makers that are running linux as the motion server.
[20:39:01] <cradek> just for the gui, or are they using rtai or something similar for actual control?
[20:39:29] <kerry_> kerry_ is now known as rayh
[20:40:41] <rayh> the gui stuff is ms the linux I'm guessing is rtai or some such.
[20:40:54] <rayh> but I've not been able to get that far into a system.
[20:41:09] <rayh> they are just a bit nervous of me.
[20:41:34] <rayh> I will try again today with one company.
[20:43:26] <skunkworks> any hexapods?
[20:45:30] <rayh> nothing
[20:46:07] <rayh> only found one puma knock off and it was demoing flex wireway
[20:46:41] <rayh> and one small part loading arm for a lathe.
[21:22:21] <rayh> What kinds of issues am I likely to face if I use step and direction drive with encoder feedback
[21:33:29] <alex_joni> rayh: hi there
[21:33:32] <alex_joni> issues?
[21:34:07] <rayh> Hi alex
[21:34:39] <rayh> I'm wondering about step and direction out with encoder feedback.
[21:34:55] <rayh> probably use 5i20 to read encoders
[21:35:02] <alex_joni> do you mean on steppers?
[21:35:13] <alex_joni> it probably can be tweaked to work
[21:35:43] <alex_joni> as long as the encoders only close position/ferror loop, not as a PID
[21:36:49] <rayh> Okay.
[21:37:25] <rayh> Probably servo motors
[21:37:40] <rayh> but with position control mode to the drive.
[21:38:55] <alex_joni> oh, so like the G320 / G340
[21:38:59] <alex_joni> that works great
[21:39:07] <alex_joni> at least the G340 I tried
[21:39:17] <rayh> Okay. Fantastic.
[21:40:49] <rayh> Did you use a separate encoder for PC and for gecko?
[21:41:10] <SWPadnos> the only thing that might make you do that is isolation
[21:41:24] <SWPadnos> otherwise it should be possible to run the encoder feedback to both
[21:41:28] <rayh> Yea
[21:41:43] <SWPadnos> may need a buffer though
[21:42:09] <rayh> The high end drives I'm seeing will create the pc encoder signals.
[21:42:20] <SWPadnos> ok. for AC motors and the like?
[21:42:27] <rayh> right
[21:45:06] <rayh> got any $ thoughts for a proper buffer for a gecko
[21:45:33] <SWPadnos> JonE sells a 4-channel buffer / error latch for $100, I think
[21:45:40] <SWPadnos> thats probably on the high side
[21:45:54] <SWPadnos> since a 74ls series part can do the buffering job just as well
[21:46:24] <rayh> I saw jon's board at fest
[21:46:46] <SWPadnos> the little one? (I think I was the first person to buy one ;) )
[21:47:18] <rayh> I just remember him showing me a card and talking about it.
[21:47:39] <SWPadnos> http://pico-systems.com/gecko.html
[21:48:09] <SWPadnos> the other interesting thing it does is provide power to the encoder even when the drivers are off, so you don't lose position in all stop cases
[21:49:43] <alex_joni> that's nice
[21:50:05] <rayh> Yes that is a good feature.
[21:51:05] <SWPadnos> so you can truly use your EMC system as a DRO ;)
[21:53:39] <rayh> I've seen a lot of Galil cards embedded in control systems here.
[21:53:53] <SWPadnos> aren't they pretty expensive?
[21:54:33] <rayh> Yes i think so. Have not been able to get a user to tell me how much.
[21:54:42] <SWPadnos> heh
[22:16:55] <alex_joni> ok, I'm off to bed
[22:16:57] <alex_joni> night all
[22:17:01] <SWPadnos> see you Alex
[22:17:37] <rayh> thanks alex
[22:18:25] <alex_joni> rayh: wot for?
[22:18:56] <rayh> the report on the gecko with encoder
[22:19:22] <alex_joni> oh.. that's nothing ;)
[22:19:35] <SWPadnos> all hail alex
[22:19:39] <rayh> not to me.
[22:19:40] <alex_joni> lol
[22:20:00] <alex_joni> rayh: I must warn you that I didn't use them a LOT
[22:20:04] <alex_joni> I sold a wirefeeder once
[22:20:14] <alex_joni> and it's still running (1.5 years later ;)
[22:20:28] <alex_joni> g340 + encoder on the wire
[22:20:38] <rayh> Right I remember that project.
[22:21:49] <alex_joni> heh.. I still have that pic
[22:21:51] <alex_joni> http://www.robcon.ro/emc/Resize%20of%20HPIM2892.JPG
[22:22:24] <alex_joni> 11.06.2005 (only 1 year old ;)
[22:23:47] <alex_joni> * alex_joni is off to bed
[22:24:02] <rayh> bed is good
[22:26:38] <alex_joni> sure sounds like a good idea ;)
[22:26:59] <alex_joni> btw, I had no idea the ubuntu live CD would be so interesting
[22:27:05] <alex_joni> http://dsplabs.cs.upt.ro/~juve/emc/.logs/counts/
[22:27:27] <SWPadnos> of course it is.
[22:27:37] <SWPadnos> I put a copy of it on cncgear as well, I think
[22:27:46] <alex_joni> SWPadnos: quite downloaded
[22:27:54] <alex_joni> maybe I'll look at making one for dapper
[22:28:03] <alex_joni> as the install is a Live CD
[22:28:14] <alex_joni> so you could try it out, and if it's ok.. push install ;)
[22:28:20] <SWPadnos> yep - it's there http://www.cncgear.com/EMC/
[22:28:49] <alex_joni> not sure if you do have the option to install from the breezy one
[22:28:54] <SWPadnos> yep
[22:28:57] <SWPadnos> I think you do
[22:28:58] <alex_joni> it SHOULD be.. but I didn't see it ;)
[22:29:11] <SWPadnos> I can't remember
[22:29:44] <SWPadnos> I did put a note on the download link saying that you can install to your hard drive if you wish
[22:31:39] <alex_joni> yeah, just read it
[22:31:44] <alex_joni> probably it can be done ;)
[22:31:51] <SWPadnos> I must have been right ;)
[22:31:51] <alex_joni> btw.. ever heard of xUbuntu ?
[22:32:02] <SWPadnos> yep
[22:32:06] <alex_joni> not Xubuntu
[22:32:08] <SWPadnos> and edubuntu ;)
[22:32:10] <alex_joni> xUbuntu ;)
[22:32:13] <SWPadnos> oh, maybe not then
[22:32:19] <SWPadnos> porn distro?
[22:32:24] <alex_joni> xUbuntu is an PC-/Xbox-enabled version of Ubuntu GNU/Linux distribution.
[22:32:31] <SWPadnos> an - one of those
[22:32:31] <alex_joni> lol
[22:32:36] <SWPadnos> ah, that was
[22:32:58] <alex_joni> xfce4 on it .. so pretty close to Xubuntu ;)
[22:33:14] <SWPadnos> XGL should perform well ;)
[22:34:22] <alex_joni> if it works at all
[22:34:35] <SWPadnos> true. it is an ATI chip in there, isn't it?
[22:35:37] <alex_joni> * alex_joni has nfc
[22:36:39] <SWPadnos> me, either. the last console I bought was the Turbo GrafX, I think
[22:37:16] <alex_joni> SWPadnos: I don't like this remark: https://wiki.ubuntu.com/LiveCD
[22:37:23] <alex_joni> As of Ubuntu 6.06 (Dapper Drake), you can also install off the LiveCD.
[22:37:52] <SWPadnos> I'm not sure if they're referring to the fact that the only graphical install method is with the liveCD
[22:38:06] <SWPadnos> the server disc is a text install, I think
[22:39:10] <alex_joni> https://wiki.ubuntu.com/LiveCDInstallHowTo?highlight=%28CategoryDocumentation%29
[22:39:57] <SWPadnos> I think I installed from your LiveCD onto my laptop or something
[22:40:02] <alex_joni> doesn't sound like something I would EVER try ;)
[22:40:25] <SWPadnos> and I'm pretty sure I didn't have to use a CLI at all (though it's not that hard for me, so I might not remember it ;)
[22:40:52] <alex_joni> CLI ?
[22:41:00] <alex_joni> command line install?
[22:41:03] <SWPadnos> command line interface
[22:41:07] <SWPadnos> e.g. terminal
[22:41:07] <alex_joni> ahh.. ok
[22:41:29] <alex_joni> that page sounds like LFS ;)
[22:42:30] <SWPadnos> LFS?
[22:44:30] <alex_joni> linux from scratch
[22:44:35] <SWPadnos> ah
[22:44:40] <alex_joni> except the compiling
[22:44:48] <SWPadnos> and the scratching
[23:31:30] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[23:31:39] <guess> guess is now known as skunkworksB