#linuxcnc | Logs for 2013-09-07

Back
[00:16:20] <uw> someone972_, do you have to compile it? why not use the image or repos from a deb based disto
[00:17:26] <zultron> someone972_, I've got RPMs for el6.
[00:17:27] <someone972_> I'm building a very basic CNC machine that runs off of USB since I don't have access to a parallel port, so I was going to attempt to add basic support for it in LinuxCNC (for my own use)
[00:17:41] <zultron> fedora RPMs in the works.
[00:17:42] <someone972_> It's also so I can just mess around and make changes to help understand the code
[00:18:06] <someone972_> I'm getting farther on compilation, now it's stuck on Boost::Python
[00:18:22] <zultron> Where you stuck?
[00:18:25] <someone972_> Apparently boost::python cant find pyconfig.h
[00:19:00] <someone972_> In file included from /usr/include/boost/python/detail/prefix.hpp:13:0, from /usr/include/boost/python/module.hpp:8, from conftest.cpp:44: /usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
[00:20:22] <zultron> Hmm. Haven't run into that one.
[00:22:22] <zultron> Can you paste the entire gcc command line?
[00:23:04] <zultron> That looks pretty basic, since the file should be in /usr/include/python<version>.
[00:23:12] <zultron> someone972_, ^^^
[00:23:32] <someone972_> g++ -c -g -O2 -I/usr/include/python2.7 conftest.cpp >&5
[00:24:04] <zultron> Heh. And I assume /usr/include/python2.7/pyconfig.h exists.
[00:24:26] <someone972_> ah, it's pyconfig-64.h
[00:26:43] <someone972_> Would making a symbolic link to it called pyconfig.h work do you think?
[00:27:16] <zultron> Doubtful. Hold on a sec.
[00:28:48] <zultron> I've got a 64-bit fedora 19 install, but need to boot it up....
[00:29:11] <zultron> And it'll take a bit to get a dev environment installed. :P
[00:29:51] <someone972_> I'll be here all night, so if you really want to do that then go ahead :P
[00:30:01] <zultron> In el6 64-bit, pyconfig-64.h is in the same location.
[00:30:20] <zultron> You on 64 or 32 bit?
[00:30:57] <someone972_> 64
[00:31:09] <someone972_> In the pyconfig-64.h it has these as the first lines:
[00:31:23] <someone972_> Hmm, it's eating the comments
[00:31:34] <zultron> pastebin.ca
[00:31:35] <someone972_> pyconfig.h. Generated from pyconfig.h.in by configure. pyconfig.h.in. Generated from configure.in by autoheader.
[00:33:50] <someone972_> The only 64-bit-y things I can see is that longs are defined as 8 bytes
[00:34:44] <someone972_> By the way, does LinuxCNC compile as 64 bit?
[00:34:49] <zultron> This sounds like some kind of multilib problem. I'd guess even if you get past this one, you'll bump up against it again, since you haven't fixed the core problem.
[00:34:56] <zultron> Yes.
[00:35:30] <someone972_> I presume it would create a pyconfig.h if I installed the 32-bit version of python
[00:35:48] <zultron> It would, if that's possible.
[00:36:07] <zultron> Surprisingly, these header files are part of the base python package, not part of a -devel packae.
[00:36:11] <zultron> package
[00:36:41] <someone972_> Maybe I'll just try my luck with a symbolic link and see how far that gets me
[00:36:50] <someone972_> All that can happen is it fails again
[00:36:53] <zultron> Can't hurt.
[00:40:54] <someone972_> Now it says it can't find patchlevel.h
[00:41:19] <someone972_> Not sure what that belongs to
[00:41:21] <zultron> I thout that would happen.
[00:41:46] <zultron> Here's the BR list for el6. See if you have something similar installed.
[00:41:48] <zultron> http://pastebin.ca/2444840
[00:42:42] <zultron> I'm guessing python-devel?
[00:43:03] <someone972_> You guessed right
[00:43:38] <zultron> Curious that they put that header in the base python pkg. I'm surprised more folks don't get confused.
[00:43:41] <zultron> https://bugzilla.redhat.com/show_bug.cgi?id=531901
[00:44:22] <someone972_> If config gets to the part where it has the block of #'s and tells you to run make, does that mean it completed successfully?
[00:44:35] <zultron> Yep.
[00:45:39] <zultron> RH-derivatives are new territory for LinuxCNC, though, so configure completing successfully isn't a guarantee that the build will succeed, too. :)
[00:46:04] <zultron> If you have any trouble, can you let me know? Fedora's my next target for building packages.
[00:46:15] <someone972_> I guess I'll find out soon, so far the build is working fine
[00:46:47] <zultron> Which version of LinuxCNC are you compiling?
[00:46:49] <someone972_> I'm doing the simulator btw, I figure I should try and get it to even compile before doing anything with realtime stuff
[00:46:57] <someone972_> Let me check
[00:47:23] <someone972_> 2.6.0 pre I think?
[00:47:23] <zultron> Where'd you download it? Tarball or git?
[00:47:26] <someone972_> git
[00:47:30] <zultron> Which branch?
[00:47:33] <zultron> Master?
[00:48:16] <someone972_> I used this command from the wiki: git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
[00:48:23] <someone972_> For annonymous checkout
[00:48:32] <zultron> Ah ha, then you're compiling master.
[00:48:56] <zultron> If you want to run an RT kernel, you're going to have some trouble.
[00:49:08] <zultron> The master branch only supports the RTAI kernel.
[00:49:28] <someone972_> I'd actually prefer not to run a special kernel at all
[00:49:39] <zultron> And the only RTAI kernel RPM I've ever heard of is the one I wrote, and it doesn't work. :)
[00:49:46] <someone972_> Ha!
[00:50:24] <zultron> If you don't want to run a special kernel, you're not going to be able to use it for anything requiring real-time latency.
[00:50:50] <someone972_> I'm thinking that shouldn't be a problem for my simple little cnc that I built
[00:50:52] <zultron> There's a way around this if you're willing to relax that restriction.
[00:51:10] <someone972_> Most of the step generation is probably going to be done on the controller if I can get it to work
[00:51:56] <someone972_> Bugger, I wasn't paying attention to how to run linuxcnc after I built it
[00:52:16] <zultron> That'll help, but the rule of thumb passed around here says even the servo thread needs to keep latency within 100mS or so, and you won't get that without an RT kernel.
[00:52:41] <zultron> Try this: . ../scripts/rip-environment
[00:52:47] <zultron> then: linuxcnc
[00:53:09] <zultron> And to see how atrocious (or awesome) your latency is, try: latency-test
[00:54:04] <someone972_> it appears to be running
[00:54:09] <zultron> Congrats!
[00:54:11] <someone972_> Now to find this latency-test
[00:55:03] <someone972_> Oh dear, I spoke too soon
[00:55:11] <someone972_> The config screen popped up at least
[00:55:48] <zultron> Are you in Europe?
[00:55:52] <zultron> Bedtime here.
[00:56:34] <someone972_> I'm in mid-US
[00:56:36] <someone972_> http://pastebin.com/2TErzGfw
[00:56:48] <someone972_> Seen anything like that before?
[00:57:39] <zultron> Hrm, that's a new one, too....
[00:57:44] <someone972_> http://pastebin.com/LZ2betCq
[00:57:51] <someone972_> There's the debug if it helps
[01:00:58] <zultron> Problem is you're missing this module: hal_gm.so
[01:01:56] <zultron> Check your build log to see why it wasn't built, or do a 'find' to see if it's built but misplaced.
[01:02:32] <zultron> No, maybe that's not it, hold on
[01:03:28] <zultron> You ran ./configure with --enable-simulator?
[01:03:36] <someone972_> ya
[01:04:14] <zultron> When I build the simulator, also no hal_gm.so, but I can fire up the axis gui, no problem.
[01:04:39] <zultron> I'm running universal-build-candidate-3, but that shouldn't make a differnce.
[01:06:43] <zultron> Which configuration did you select in the gui?
[01:07:11] <someone972_> I've tried My Configurations, 3-axis stepper, and stepper-mm
[01:07:15] <someone972_> and they all do the same thing
[01:07:16] <zultron> Look at hal/drivers/hal_gm.c. That's a rather obscure hardware interface.
[01:08:34] <zultron> configs/GM6-PCI/3-axis-stepper.hal tries to load that module.
[01:09:14] <someone972_> Ah, demo_sim_cl works
[01:09:34] <zultron> There y'are.
[01:12:30] <zultron> If you decide you need real-time later on, let me know. I'll have the whole thing packaged in the next couple of weeks for non-EOL Fedoras, including a couple of RT kernels.
[01:12:57] <zultron> RTAI is unlikely, though, so you'll have to run the universal-build-candidate-3 branch instead.
[01:13:04] <zultron> So I'm off to bed. Good luck.
[01:15:16] <someone972_> Thanks, you've really helped a lot
[01:15:20] <someone972_> http://postimg.org/image/q15d58u35/
[01:15:30] <someone972_> I don't know if that's horrible or not :P
[01:17:05] <someone972_> Looking at some of the other numbers people get, it looks pretty bad
[01:17:33] <zultron> np. Yes, that's horrible. Latencies of 1/4 second. You're shooting to get under 100 microseconds.
[01:18:31] <someone972_> Oh boy, I'm way off
[01:20:14] <someone972_> I guess I'll head out as well. Thanks again for all the help, I'm sure I'll be back at some point in the future :P
[01:20:15] <zultron> If you want to spend $45 and make the latency issues just go away, check this out: http://bb-lcnc.blogspot.com/p/machinekit_16.html
[01:20:39] <zultron> Ping me if you need help. I'm stoked there's finally another Fedora user around here. :)
[01:20:50] <zultron> Ciao
[01:20:56] <someone972_> Bye
[01:37:07] <CaptHindsight> I use Fedora but not for Linuxcnc. I forgot how to package for SELinux
[01:59:17] <DJ9DJ> moin
[04:55:08] <kengu> any good photos of wood router dust collectors as i think i need to build or get one
[04:56:44] <kengu> http://woodworking.rockler.com/hardware/Router-Dust-Collector some kind of collar/hood as in some here
[04:57:15] <kengu> http://www.rockler.com/product.cfm?page=31892&site=ROCKLER or likes perhaps
[04:57:35] <ReadError> i got one let me find the link
[04:57:54] <ReadError> http://www.kentcnc.net/nc/
[04:57:58] <ReadError> should be pretty easy to make
[04:58:08] <ReadError> couple magnets and the profile for the router
[04:58:52] <kengu> http://www.alibaba.com/product-gs/480073904/Dust_collector_Square_linear_guideway_CNC.html?s=p
[04:59:13] <kengu> ReadError: uu. that is good
[05:02:44] <ReadError> simple to make really
[05:03:23] <kengu> yeah. just need to laser some those acrylic parts and figure out a ..umm.. material for the brushes
[05:05:13] <kengu> ReadError: great. thanks for the tip.
[05:05:54] <kengu> that surface sensing tool did also look handy
[05:09:15] <kengu> just glue some paint brushes around the spindle (;
[05:10:59] <ReadError> you can buy that brush strip
[05:11:22] <kengu> aah.. brush strip
[05:11:28] <kengu> now i have a name for it
[05:11:50] <ReadError> i have no idea if thats what its called
[05:12:15] <kengu> it did help
[05:12:32] <kengu> ebay is full of things with brush strip
[05:23:15] <kengu> http://www.jaseals.co.uk is one supplier
[12:21:07] <IchGuckLive> hi all B)
[12:30:21] <IchGuckLive> hi PetefromTn how is the weather in the USA
[12:31:09] <PetefromTn> Hey Ich, yeah it is a pretty damn beautiful day here today In East Tennessee. We are planning to have a bonfire out back tonight and roast some marshmallows..
[12:31:37] <IchGuckLive> its rainy and not nice here in germany
[12:32:34] <PetefromTn> Oh that sucks....been watching a tournament from Germany lately. They recently held the World Field Target Federation World Championships there. It was finished this past week.
[12:33:20] <IchGuckLive> tonigt the olympic 2020 is anounced
[12:33:24] <PetefromTn> http://www.ft-shooting.de/WM-FTS-2013/
[12:37:37] <pcw_home> Itts hot here today, these last few day of heat have been the only real summer we've had
[12:43:32] <IchGuckLive> someone has seen the lunar rocket live
[12:45:48] <PetefromTn> Too far away for me to see the launch. Have been there for several shuttle launches tho in the past.
[12:49:12] <IchGuckLive> the lanch has been in virgina not at capside
[12:56:08] <IchGuckLive> ok im off by
[15:21:26] <andypugh> I wonder how hard it would be to hack my lab PSU for More Power! Specifically a hgher voltage.
[15:35:28] <Loetmichel> andypugh_ depends
[15:35:52] <Loetmichel> on some lab psus it is simply another Resostor in the "limiter" circuit
[15:36:02] <Loetmichel> on some you have to switch the transformer
[15:36:24] <Loetmichel> and on some the transistors will blow at higher voltages
[15:36:36] <Loetmichel> ... all for linear supplys
[15:36:47] <Loetmichel> smps have another set of kinks ;-)
[15:54:50] <andypugh> I just had a moderately random thought.
[15:55:47] <andypugh> My house knows when I am in. Or at least aspects of my house do. If my mobile phone is connected to my WiFi, then I am in. I wonder how hard it would be to make that change the heating thermostat setting?
[15:56:51] <kengu> not hard
[15:57:50] <andypugh> As things stand I would have to use linuxCNC and a servo to turn the knob, but I suspect there are cleverer ways if I replace elements of the heating system. :-)
[15:58:46] <andypugh> Great, I needed a new project. I only have about 40 years of projects stacked up at the moment.
[16:09:40] <Loetmichel> hrhr
[16:11:29] <Loetmichel> thats easy. buy these for all thermostat knobs: http://www.elv.de/elv-funk-elektronik-thermostat-eth-comfort200.html
[16:11:42] <Loetmichel> and use the phone directly to change the temperature
[16:12:26] <Loetmichel> tehre is even an "app" to lower the thermostat setting wehn leaving the house and loosing contact to the thermostats
[17:04:49] <DJ9DJ> gn8
[17:37:29] <Tom_itx> andypugh, how much more voltage do you need
[17:37:57] <andypugh> 50V would be nice, enough to wake up an 8i20, for example.
[17:40:18] <Tom_itx> how much current?
[17:40:46] <andypugh> 1A is probably enough.
[17:41:22] <andypugh> I do actually have something, but it is a slightly scary combination of a transformer with diodes on top and a capacitor. :-)
[17:41:45] <Tom_itx> voltage doubler?
[17:41:59] <andypugh> Not so easy with DC?
[17:42:58] <Tom_itx> i found a doubler chip but not for what you're looking for
[17:43:04] <Tom_itx> 5 to 12v
[17:43:23] <Tom_itx> not the usual 7660 one
[17:44:23] <andypugh> I just found this: http://www.ebay.co.uk/itm/In-5-40V-Out-12-50V-Adjustable-DC-DC-Step-up-Converter-/140359290091
[17:44:36] <Tom_itx> boost converter would work
[17:44:50] <Tom_itx> if you can find one in the right range
[17:45:06] <andypugh> But it would be nicer if my existing bench PSU would just do it.
[17:45:52] <Tom_itx> stuff one of those inside
[17:46:03] <andypugh> There is a nice 60V 10A supply on eBay. But a bit more than I want to spend.
[17:46:19] <Tom_itx> i got a bunch of buck supplies for like a buck a piece
[17:46:24] <andypugh> I like the variable voltage and current limiting features.
[17:46:37] <Tom_itx> with 7seg led for around 5
[17:47:41] <Tom_itx> http://www.ebay.co.uk/itm/LM2596-LED-Voltage-Regulator-DC-Buck-Adjustable-Step-Down-Converter-Module-New-/400548207393?pt=UK_BOI_Electrical_Test_Measurement_Equipment_ET&hash=item5d42889b21
[17:47:44] <Tom_itx> much like those
[17:52:46] <andypugh> Those are pretty nice. Do they remember the setpoint between power-downs?
[17:53:28] <andypugh> One big 24V supply and an array of those would be quite a neat way to provide the voltages for a CNC controller.
[17:54:29] <andypugh> Or are the buttons for changing what the dosplay shows, rather than the voltage setpoint?
[17:56:11] <andypugh> I just bought 4, they are bound to come in handy :-)
[18:11:25] <Tom_itx> yeah they keep their setting
[18:11:32] <Tom_itx> pot adjustable
[18:12:03] <Tom_itx> the buttons activate the display and switch between input volts and output volts
[18:12:10] <Tom_itx> so you can turn the display off as well
[18:12:38] <Tom_itx> also got some without the display
[18:13:24] <Tom_itx> i used a fixed version on my mesa card in my psu
[18:14:02] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/misc_stuff/5v_switcher.jpg
[18:14:06] <Tom_itx> same chip
[18:14:15] <Tom_itx> only i can't build em for what you paid
[18:15:37] <Tom_itx> if used in a vibration environment, i'd put a dot of hot glue on the pot once set
[18:16:44] <Tom_itx> 25v max input iirc
[18:16:48] <Tom_itx> or thereabouts
[18:16:54] <Tom_itx> maybe a bit more
[18:17:13] <Tom_itx> that's why i used the centertap from one of my supply transformers for it
[18:18:26] <Tom_itx> the blue multiturn pot at the top is the adjuster on the ones you just got
[18:19:41] <Tom_itx> http://www.ebay.co.uk/itm/DC-Buck-Step-Down-Voltage-Adjustable-Converter-Power-Module-Regulator-LM2596-New-/161073415917?pt=UK_BOI_Electrical_Test_Measurement_Equipment_ET&hash=item2580b946ed
[18:19:55] <Tom_itx> there's the one without the display
[18:19:58] <Tom_itx> i got some of both
[18:20:58] <andypugh> it costs me 5x as much as that just to post something to China. I have no idea how they can sell that cheaply and post for free.
[18:21:13] <Tom_itx> me either
[18:22:21] <Tom_itx> my part cost from digikey was around $10
[18:23:46] <Tom_itx> http://www.ebay.co.uk/itm/120W-DC-Converter-Boost-Charger-Power-Supply-10-32V-to-35-60V-Step-Up-Regulator-/251214710705?pt=UK_Sound_Vision_Amplifier_Parts&hash=item3a7d9047b1
[18:23:55] <Tom_itx> similar, only boost instead of buck
[18:26:41] <andypugh> Does anyone rely on encoder _counts_ going to zero on index or reset, rather than position?
[18:27:00] <andypugh> I know for a fact that bldc relies on the rawcounts _never_ being reset.
[18:27:16] <Tom_itx> i doubt it
[18:27:23] <andypugh> smart-serial encoders can't currently have two S32 pins...
[18:27:58] <andypugh> So I need to choose between emulating "counts" and "rawcounts" and my first choice would be rawcounts
[18:28:10] <Tom_itx> http://www.ebay.co.uk/itm/10A-12V-80V-DC-DC-Boost-Converter-Power-Supply-500W-600W-Voltage-Regulator-/261209693854?pt=LH_DefaultDomain_3&hash=item3cd14f9e9e
[18:28:14] <Tom_itx> 10A !
[18:28:19] <Tom_itx> hard to believe for that cost
[18:28:39] <andypugh> Too hard :-)
[18:28:59] <Tom_itx> that would get you the volts you want
[18:29:36] <andypugh> I already bought: http://www.ebay.co.uk/itm/261239532385?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
[18:30:03] <andypugh> Perfectly OK for 8i20 and suchlike I think.
[18:30:06] <Tom_itx> yeah
[18:30:19] <Tom_itx> i doubt you need 10A for that
[18:30:40] <Tom_itx> that one is probably 2-3A
[18:30:46] <Tom_itx> didn't read the specs yet..
[18:32:33] <Tom_itx> pushing 50v would put the caps at their absolute limit
[18:34:07] <Tom_itx> i removed the input cap on my buck regulator because it was only 16v and the input was 25v
[18:34:12] <Tom_itx> added an external cap instead
[18:35:30] <andypugh> That big boy you found + transformer + input cap would be quite a nice lab PSU.
[18:35:39] <andypugh> I guess the one I got would, too.
[18:36:32] <andypugh> Move the caps to the back so the voltage display shows through the case, make the voltage control a remote knob, job done..
[18:36:37] <Tom_itx> just don't push the upper limit on yours unless you replace the cap
[18:38:15] <Tom_itx> it says output 5-55v which would exceed the cap rating :)
[18:40:18] <Tom_itx> that big one i found has current adjust as well
[18:40:37] <Tom_itx> read the silkscreen print on it
[18:44:26] <andypugh> But £9.50 postage!
[18:44:59] <andypugh> I wil bear in mind the fact that it exists, though.
[18:45:45] <andypugh> There is probably a pretty decent stepper supply to be had there.
[18:58:25] <Tom_itx> andypugh, you can get an interweb enabled thermostat
[18:58:33] <Tom_itx> then get an 'ap for that' for your phone
[18:59:20] <Tom_itx> our gas service offers them for free but we have to allow them to control them during peak hours
[19:00:04] <Tom_itx> 15min down time per given period or such.. i haven't signed up for one
[19:00:33] <andypugh> I probably would, I can see the wider-scale benefits.
[19:01:16] <Tom_itx> but with a wifi thermostat you could set it from anywhere
[19:47:26] <CaptHindsight> http://www.youtube.com/watch?v=UjMJOfCyDaA Kuka robot for CNC milling
[19:47:28] <Tecan> (UjMJOfCyDaA) "Sculpting a Large Bust of Bethoven" by "RobotCNC" is "Tech" - Length: 0:02:50
[19:49:51] <CaptHindsight> besides replacing the KUKA KRC1 controller with Linuxcnc has anyone seen a retrofit for these to add a rotary table?
[19:50:05] <andypugh> I am imagining what Beethoven would have made of that :-)
[19:51:03] <CaptHindsight> heh, the Milwaukee hackerspace ended up getting a Kuka that works, now they want to add a rotary table
[19:52:09] <CaptHindsight> http://www.roboticsolutionsinc.com/ looks like these guys might have RE'd the controller to add an extra axis
[19:53:20] <andypugh> It doesn't _sound_ hard
[19:53:59] <CaptHindsight> supposedly the KRC-1 control cabinet runs Windows 95
[19:54:27] <CaptHindsight> I wish them well
[21:16:50] <jp__> aux axis are pretty vommon on robots
[21:16:59] <jp__> common
[21:31:28] <CaptHindsight> jp__: I'm not familiar with the Kuka controllers. Are the auxiliary axis setup for real time coordination to be able to mill at a reasonable speed?
[21:33:18] <CaptHindsight> http://www.kuka-robotics.com/en/products/addons/positioner/1_axis/PA_Content_Drehtisch_Vertikal.htm
[21:34:51] <CaptHindsight> http://www.kuka-robotics.com/res/sps/6909821b-e060-4dc6-859f-44f38750586c_PF0001_KPF1-V_en.pdf a bit short on details
[23:44:48] <jp__> yes they are usually capable of coordinated motion with the rest of the robot
[23:47:05] <jp__> no different than having an 6,7 or 8 axis machine