#linuxcnc Logs

Dec 05 2018

#linuxcnc Calendar

02:00 AM Deejay: moin
02:52 AM Blumax: Helllo
02:53 AM Blumax: I have a small problem with LinuxCNC, when I use the num pad, by moment if I ask a displacement (on all the axes) the movement does not stop, its continues until the limit. A solution to that ?
04:28 AM Jin^eLD: morning
04:28 AM XXCoder: yo
04:42 AM jthornton: morning
04:42 AM XXCoder: yo
04:43 AM XXCoder: https://reason.com/blog/2010/05/17/how-to-make-brownies-pentagon
04:43 AM XXCoder: 26 pages, brownies can last 10 years lol
04:46 AM MarcelineVQ: that's the power of butter
04:47 AM MarcelineVQ: wait what, there's no water or fat in this recipe... pass
04:48 AM XXCoder: i searched "needs repair" on ebay and dang theres so many watches. wonmder why
04:48 AM XXCoder: it should last 10 years so yeah fat decays. thought I saw fat in it though
04:49 AM MarcelineVQ: I think there's vital information missing from the section 3.3.1
04:49 AM MarcelineVQ: because this thing mentions water at the top but there's no water in the instructions.
04:50 AM XXCoder: it should specify water quality and requirement
04:50 AM XXCoder: page 7 and 8 has recipe
04:51 AM MarcelineVQ: Ah there is shortening, vastly inferior to butter in baking :X shortening for flaking your pastry. Oh there's a pdf? I was just going by this article's interpretation
04:51 AM XXCoder: yeah its there
04:51 AM XXCoder: suggest take a look because its interesting to see goverment requirements
04:52 AM XXCoder: makes sense since if it dont specify company will make shitty product. like add sawdust
04:54 AM MarcelineVQ: hey now, cellulose is good for you isn't it :>
04:54 AM XXCoder: oh didnt know you was terminiyte
04:54 AM XXCoder: sorry
04:55 AM MarcelineVQ: all is forgiven
04:55 AM XXCoder: lol
04:56 AM XXCoder: anyway I bet while shortening sucks it allows miliary soldiers to have brownies when fighting
04:56 AM XXCoder: something besides same old MREs
04:56 AM MarcelineVQ: mostly it's just that butter is more expensive while performing a similar function, minus some flavour
04:57 AM MarcelineVQ: dunno though, if I wanted to remind a soldier what they're fighting for I'd feed them some tasy motherfucking brownies
04:57 AM XXCoder: remember everything is relivive
04:58 AM jthornton: I sent them bacon flavored popcorn and other things
04:58 AM XXCoder: those brownies would be damn tasty
05:00 AM jthornton: how do I find out what version of libdrm I have on the raspberry pi?
05:01 AM jthornton: I get this error MESA-LOADER: failed to retrieve device and internet suggests it's the version of libdrm...
05:02 AM XXCoder: you have syapastic on your pi?
05:02 AM Tom_L: morning
05:02 AM XXCoder: synaptic
05:02 AM jthornton: installing it now
05:02 AM XXCoder: hey
05:02 AM jthornton: morning
05:03 AM Tom_L: who's makin brownies???
05:03 AM XXCoder: not me, in least not 26 page recipe one lol
05:03 AM jthornton: 31°F clear
05:03 AM Tom_L: 21F Hi 51
05:03 AM XXCoder: 28f clear
05:04 AM jthornton: high 45°F
05:05 AM XXCoder: 40f clea rhigh
05:07 AM Tom_L: they were salting the roads last evening but it's clear so who knows wtf they were up to
05:08 AM XXCoder: clear sky can make road pretty slippy if there was enough humdity in air
05:08 AM XXCoder: we dont use salt here but antiice chemical not too sure what ut us
05:08 AM XXCoder: it is
05:09 AM Tom_L: both here, just depends where it's at
05:09 AM Tom_L: brine
05:11 AM XXCoder: cool
05:11 AM XXCoder: fewer older cars there eh
05:17 AM jthornton: chickens get up at 5:17 this morning...
05:21 AM jthornton: I wonder when romaine lettuce will be back on the market?
05:22 AM XXCoder: dunno
05:22 AM XXCoder: last time I read it was down to few states and brands
05:22 AM jthornton: we still don't have any on the shelves at the store
05:23 AM XXCoder: i dont buy em so unno if back in here. yours might be one of those few states that is in list still
05:24 AM jthornton: what list?
05:24 AM XXCoder: of states that might have problem
05:25 AM jthornton: no sick people in Missouri
05:25 AM jthornton: https://www.cdc.gov/ecoli/2018/o157h7-11-18/map.html
05:25 AM XXCoder: would be sad uif romaine is gone forever
05:25 AM XXCoder: no more 7 layer salad
05:25 AM XXCoder: interesting
05:26 AM XXCoder: sad that they wont pass water quality test laws for farmers
05:26 AM jthornton: https://www.ydr.com/story/news/2018/11/30/romaine-lettuce-back-some-grocery-stories-weekend-after-recall/2164929002/
05:26 AM XXCoder: prevent ecoli outbreaks
05:45 AM Loetmichel: *GNAH*... slowly but surely it gets on my nerves... now not only screwdrivers and pliers "vaporize", but also the batterys of the (private) battery drill... i am sitting here with a lapb psu and crocodile clamp cables tacked onto the battery drill doing countersinks in plastic... it is HIGH time that all the new workers here get their own tools...
05:46 AM XXCoder: jeez
05:58 AM weenerdog: howdy
06:04 AM jthornton: morning
06:04 AM Deejay: hey there
06:07 AM rmu: jthornton: dpkg -s <packagename> e.g. libdrm2
06:15 AM jthornton: hmm this page suggests the error is from having an old libdrm but I have 2.4.74-1 https://www.raspberrypi.org/forums/viewtopic.php?t=193902
06:16 AM Jin^eLD is now known as Jin|away
06:17 AM rmu: jthornton: are you sure this message indicates a problem? the forum page says this message is just an annoyance
06:17 AM jthornton: just running the simple.py on the RPi gives me the MESA-LOADER error http://zetcode.com/gui/pyqt5/firstprograms/
06:17 AM jthornton: and they are correct it is annoying!
06:19 AM rmu: IIRC qt on rpi is built with opengles, not opengl. not sure that matters.
06:20 AM rmu: it matters if you want to try qtvcp on the pi, the backplot will not work
06:22 AM jthornton: I'm just programming a chicken coop automation thing with a 7" touch screen so I'll just back down to pyqt4
06:23 AM weenerdog: whatchya making the coop do?
06:23 AM weenerdog: egg gathering hexapod robot? 12 axis chicken plucker?
06:24 AM jthornton: https://paste.ubuntu.com/p/FStNvks3Sd/
06:24 AM jthornton: control the pop door and lights
06:26 AM weenerdog: cool
06:30 AM weenerdog: i gotta eventually figure out a sun tracker for solar heat collectors. this house is loaded for bear for solar. previous owner put in an outdoor wood furnace.
06:31 AM weenerdog: which is not so cool. you cant cut wood fast enough to run it. but it has lines run down to house, heat exchanger, ducts, everything. all i have to do for solar heat is the fun, sciency part.
06:32 AM weenerdog: and i'm on top of the mountain so i get light from sunrise to sunset
06:33 AM jthornton: cool
06:33 AM jthornton: I heat my 30' x 50' x 12' shop with a couple of sticks of wood a day
06:34 AM jthornton: also heat the machine shop and garage with a few sticks of wood a day
06:34 AM jthornton: LOTS of insulation lol
06:34 AM weenerdog: i do about 6 sticks a day in the house
06:34 AM gregcnc: how much insulation in the walls?
06:34 AM XXCoder: my room needs insulation!
06:34 AM weenerdog: but my dad is old and stays with me so i keep it pretty toasty
06:35 AM weenerdog: not much but its brick. i have bunches in the attic.
06:35 AM jthornton: the big shop has 8" in the walls and 6" in the roof
06:36 AM jthornton: I put 3.5" in the house attic then covered that with 12" unfaced
06:36 AM gregcnc: 8" wall is significant
06:36 AM jthornton: before adding the 12" I would burn more than one tank of propane every winter
06:37 AM jthornton: yea the whole shop is wrapped in 2" insulation on the outside under the tin and 6" inside everywhere
06:37 AM jthornton: then OSB on the walls
06:45 AM rmu: weenerdog: get photovoltaic and a heat pump
06:45 AM jthornton: yea got the stolen pc going with linux mint 18.3 and linuxcnc with decent latency... time to swap them out with this slow one and put the slow one back where the other one was as a server
06:46 AM rmu: weenerdog: better investment, you can use electricity in summer, but you don't use thermal solar in summer (much)
06:47 AM weenerdog: it doesn't get hot enough here to run anything in summer. the high at my house in 2018 was 82f
06:48 AM rmu: je ne comprend pas
06:48 AM weenerdog: rmu : i wear sweaters a fair amount in summertime in the evenings here
06:48 AM weenerdog: inside
06:50 AM rmu: so it is not hot enough to be running what?
06:51 AM weenerdog: i wouldn't use a heat pump in the summer
06:51 AM rmu: wha not
06:52 AM rmu: why not
06:52 AM weenerdog: because it is not hot here
06:52 AM rmu: what does that have to do with anythin
06:52 AM weenerdog: i must have misread
06:52 AM rmu: i'm heating 600m² with a 15kW (?) unit year round
06:53 AM weenerdog: thats a castle lol
06:54 AM rmu: cost in electricity would be in american pesos about 3000 per year
06:56 AM rmu: heat pumps extract the energy mostly from latent heat in vapor (condensing and sometimes freezing it)
06:57 AM rmu: with extremely dry cold air it doesn't work efficiently
06:58 AM rmu: there are other systems that need a buried heat exchanger that use more or less geothermal heat or heat in ground-water, but those are more expensive and prone to "issues"
07:10 AM Loetmichel: ahh, found the culprit that took my battery drill battery.. "mine was empty, so i put it on the charger and you were not at your desk so i thought you dont need it." ... thanks a lot...
07:11 AM XXCoder: what the heck
07:12 AM XXCoder: people who think its fine to grab other people stuff suck
07:19 AM weenerdog: take a battery apart and shoehorn the largest 110v capacitor you can inside and charge it up :)
07:19 AM weenerdog: next time he does it, release the magic smoke from his drill
07:19 AM XXCoder: have you heard of usbkiller?
07:19 AM weenerdog: ja
07:19 AM XXCoder: similiar thing but for usb
07:20 AM weenerdog: unless he touches the contacts carrying it. then problem really solved
07:21 AM XXCoder: too much of a revenge
07:21 AM jthornton: I'm happy with the latency of the pc I stole from the garage < 25,000
07:23 AM XXCoder: nice
07:25 AM weenerdog: i need to test the pc i want to use
07:27 AM jthornton: just boot from the livecd or dvd as it is now and run the latency test
07:27 AM jthornton: for pci, pcie, and ethernet cards run the latency-histogram without the base thread
07:28 AM weenerdog: i'm reading at linuxcnc trying to figure out what sort of interface to chase down.
07:28 AM XXCoder: big 2 to improve latency is kill off power management and have any decent gamer card or formerly decent
07:28 AM XXCoder: video card
07:29 AM weenerdog: the computer i'm thinking of using has a @ 10 year old geforce card in it
07:32 AM jthornton: all mine use the onboard video with no problems
07:36 AM XXCoder: yeah it really depends on model
07:36 AM XXCoder: weenerdog: should be fine
07:37 AM XXCoder: jt some types really hit the cpu
07:37 AM XXCoder: ints would hurt latency
07:56 AM JT-Shop: well the feral cat found the food I put out last night I hope it was the cat
07:58 AM * JT-Shop needs a good mouser near the wood pile
08:15 AM jthornton: wow egg production quadrupled since yesterday!
08:39 AM jesseg: oh, did she lay a 4-yoke egg?
08:41 AM JT-Shop: actually I got 5 times the production today, 1 yesterday and 5 today
08:56 AM JT-Shop: well my ups package left doraville ga again lol
08:59 AM JT-Shop: you gotta love it when ups trips over the sign saying not to leave packages on the deck to leave a 3k package on the deck all night...
09:20 AM jesseg: lol
09:20 AM pcw_home: better than Amazon that leaves packages in the bushes
09:21 AM cradek: JT-Shop: a PO box is good for receiving stuff securely
09:22 AM cradek: you don't need a huge one - if it's too big they put the note in there
09:25 AM JT-Shop: they are usually pretty good except when a new driver delivers lol
09:27 AM JT-Shop: amazon delivers itself?
09:42 AM skunkworks: cradek: agreed - we do a po box and it is nice. You just have to go to the post office every so often :)
09:43 AM cradek: yeah that's the tradeoff, and if something doesn't fit in the box you have to go during business hours
09:43 AM cradek: (I like having 24 hour access to shipping and pickups otherwise)
10:00 AM weenerdog: starting to understand what i need in terms of getting stepper motors to chooch w/ parallel port
10:06 AM weenerdog: what do you do, wire your limit switches inline in the output power of the stepper controllers?
10:09 AM cradek: no, you hook them to the computer so linuxcnc can be smart about limits
10:10 AM weenerdog: ah. thank you.
10:11 AM roycroft: my post office has parcel lockers, so most of my large parcels get stuck in a locker and a key put in my p.o. box
10:11 AM roycroft: they just added another 40 lockers this year
10:12 AM roycroft: i almost never have to deal with a postal worker any more, other than for packages that need a signature, and when things are really busy, like this time of year
10:22 AM cradek: roycroft: I've had that happen a few times too, it's kinda random what happens :-/
11:20 AM fragalot: hey
11:21 AM ziper: https://www.youtube.com/watch?v=6rsyypvMi54
11:37 AM Rab: ziper, great band, seen many times.
11:41 AM ziper: Rab, any recently?
11:42 AM Rab: ziper, negative, probably been 15 years.
12:05 PM jthornton: how can I chown a hard drive? I have some old hard drives that still have the os on them as root
12:06 PM pcw_home: just re-install over the old OS
12:06 PM pcw_home: re-partitioning trumps chown
12:11 PM jthornton: I need to copy a bunch of files off them and wanted to use one as a backup disk
12:44 PM pcw_home: installing a new OS should give you the option of saving your existing file system ( I did this when upgrading from Ubuntu 16.04-32bit to Ubuntu 18.04-64bit on this PC )
12:45 PM pcw_home: only painful stuff was installed binaries in my home dir
12:46 PM pcw_home: you could also install the new OS on a blank/dont-care drive and the add the old drive with valuable data as the second SATA drive to copy from
01:12 PM jthornton: sudo chown -R username:username /partition/mount-point works after you find the mount point
01:41 PM FinboySlick: with the caveat that you probably don't want to run jthornton's command if you expect that drive to still boot the OS.
02:13 PM jthornton: it's just a storage drive and the OS will be removed
02:14 PM FinboySlick: Yeah, just pointing it out to make sure.
02:14 PM jthornton: curious to see what happens when I reboot lol
02:15 PM FinboySlick: Depending on what you chowned it with, it'll probably throw lots of permission denied errors. Though it might still work.
02:15 PM jthornton: what do you mean by still work?
02:16 PM FinboySlick: Well, it might still boot. I'm not sure how it'll cope with things like /etc/shadow not being owned by root though.
02:16 PM jthornton: how would it boot if all the OS has been removed?
02:17 PM FinboySlick: Well, I thought you were just going to chown without removing anything.
02:17 PM FinboySlick: What do you mean by removing the OS though? Just delete everything that isn't in /home?
02:18 PM jthornton: it's not the hard drive with the current os on it it's the old hard drive and I am just going to use it for storage and backup
02:18 PM jthornton: aye and when I'm done messing about I'll wipe the drive and just make one partition
03:32 PM Deejay: gn8
04:17 PM andypugh: My Faro arm arrived. It uses potentiometers, so should be easy to interface. Looks like a job for a multi-channel ADC talking to an Arduino.
04:33 PM Rab: That doesn't seem very precise. I'm surprised they're not using encoders.
04:33 PM Rab: andypugh, what is your intended use for the arm?
04:33 PM andypugh: It’s pretty old.
04:34 PM andypugh: The manual mentions that the supplied PC has a 287 maths coprocessor and 1MB of RAM
04:34 PM andypugh: I want to mess about with one, mainly. And it’s an interesting kinematics toy.
04:37 PM Blumax: Hello
04:37 PM Blumax: I have a small problem with LinuxCNC, when I use the num pad, by moment if I ask a displacement (on all the axes) the movement does not stop, its continues until the limit. A solution to that ?
04:38 PM CaptHindsight: i recall getting pricing for a Faro arm 10+ years ago, $50kusd
04:38 PM CaptHindsight: or that might have been with a laser scanner
04:40 PM CaptHindsight: https://www.faro.com/products/factory-metrology/faro-super-6dof-trackarm/ maybe it was an earlier version of this
04:41 PM CaptHindsight: andypugh: how many ohms are the pots?
04:41 PM andypugh: 2k
04:41 PM andypugh: (ish)
04:41 PM andypugh: I haven’t pinned them all out yet.
04:42 PM CaptHindsight: just wondering the ballpark
04:42 PM andypugh: I need to work out how they are wired and whether pot-mode or vr-mode
04:44 PM andypugh: One of these.
04:44 PM andypugh: https://www.ebay.ie/itm/FARO-ARM-METRECOM-MODEL-AMETRECOM-91-FOR-COLLEGE-MACHINE-SHOP-INSPECTION-LAB-/191266230840
04:45 PM andypugh: In fact, that one.
04:45 PM jthornton: so you managed to get UPS to deliver it?
04:46 PM CaptHindsight: wonder what they used it for in a medical setting?
04:47 PM andypugh: Skeletal measurment
04:48 PM andypugh: (I haven’t pinned it out as the connector is a DB15HD (VGA) and I don’t have a suitable socket, and holding the multimeter on the terminals while turining joints takes more hands than I am equipped with :-)
04:49 PM CaptHindsight: have any old VGA cables around? I stll have a few in their wrappers from the DVI crossover days
04:50 PM jthornton: <FinboySlick> well it does indeed boot when I moved it to a different pc :) so even though I did a chown on the mount it did not change the drive any
04:50 PM CaptHindsight: probably time to dump any PATA cables leftover
04:50 PM andypugh: I had a look (while convincong myself I would never need them) but the VGA cable is male both ends.
04:51 PM CaptHindsight: some video game accessories still use PS2 connectors
04:53 PM Rab: Ever needed a scrap of ribbon cable, and remembered all the PATA cables you scrapped as e-waste?
04:54 PM CaptHindsight: my Mesa cards keep my ribbon cable collection alive
04:55 PM CaptHindsight: what to do with a box of old wireless mice and keyboards that all had proprietary USB dongles
04:56 PM CaptHindsight: I got an older Yaskawa servo drive, was serial only
04:57 PM CaptHindsight: glad I had kept all the adapters and cables
04:57 PM CaptHindsight: worst part was having to use <win97 to run the software
05:06 PM gregcnc: 97 must have been limited release
05:08 PM andypugh: He used <
05:14 PM CaptHindsight: which version of Windoze first had USB drivers?
05:14 PM pjm: w95 wasnt it
05:15 PM CaptHindsight: was around there
05:15 PM CaptHindsight: was it that 95 didn't initially have them then later you could add them but they weren't official until 98?
05:17 PM CaptHindsight: I recall designing a tablet PC around that time and USB was a problem
05:17 PM CaptHindsight: also being frustrated that there wasn't a working browser for Linux on ARM yet
05:22 PM weenerdog: i'm frustrated with my brain for being unable to make solidworks do what i want it to
05:24 PM gloops: the first rule - there are no solids
05:25 PM * weenerdog puts gun in his mouth lol
05:28 PM jthornton: weenerdog: what are you trying to do?
05:28 PM weenerdog: just simple stuff. rotate bodies the way i want. stuff like that. i'll get it. its just new
05:29 PM jthornton: like rotate parts in an assembly?
05:29 PM weenerdog: well, right now, rotate sketches in a part
05:30 PM CaptHindsight: weenerdog: yeah, just keep trying
05:30 PM weenerdog: like... i extracted a face from one part, pasted into a new part drawing, playing hell trying to rotate it 180 deg lol
05:30 PM andypugh: I am pretty experte in Inventor and don’t know if I could rotate a sketch in a part. Seems an odd thing to do
05:30 PM jthornton: iirc hmmm where is that crap crs is working on me and I don't have sw down here
05:30 PM CaptHindsight: NX, SW, Creo, Catia they all are very similar but different
05:31 PM weenerdog: unless its upside down when you paste it (no i dont know why)
05:31 PM jthornton: yea you can rotate a sketch i just can't remember where the menu item is
05:31 PM CaptHindsight: and they change it every version or two just for fun
05:31 PM weenerdog: i'm just brainwashed from 25 years of autocad
05:31 PM CaptHindsight: ^^ the menus
05:32 PM CaptHindsight: heh, and I never really used autocad enough to get the hang of it
05:32 PM CaptHindsight: I'm usually trying to do something autocad doesn't do
05:33 PM weenerdog: oh i've already figured out that sw is way more capable
05:33 PM weenerdog: the problem is between the chair and keyboard :P
05:33 PM CaptHindsight: I tend to get caught up in moving the model around vs getting work done
05:34 PM CaptHindsight: get the model in your head so you don't add holes that are impossible to machine
05:35 PM gregcnc: rotating copied sketches is a pain
05:35 PM weenerdog: i'm making parts to assemble so i can design my router build. figured it would be a good way to learn sw :)
05:36 PM JT-Shop: Tools > Sketch Tools > Rotate
05:36 PM * JT-Shop goes back to the beer cave
05:36 PM weenerdog: lol its grayed out
05:36 PM gregcnc: because you have vertical and horizontal relations
05:36 PM weenerdog: its mocking me
05:37 PM weenerdog: thanks gregcnc
05:38 PM CaptHindsight: weenerdog: just spend a few days playing, you'll get it
05:38 PM gregcnc: puh, you know I never actually tired that
05:38 PM jthornton: do you have a sketch open?
05:38 PM gregcnc: rotate breaks the constraints
05:38 PM weenerdog: ja jt
05:38 PM gregcnc: so it should work
05:40 PM andypugh: Try swearing at it?
05:40 PM CaptHindsight: https://youtu.be/WBkgs4u5tW0?t=117 so just like real traffic
05:44 PM CaptHindsight: there a good video explaining how constraints work in SW
05:46 PM CaptHindsight: if you added constraints to something and then try to move it you're probably doing it wrong
05:48 PM CaptHindsight: https://www.youtube.com/watch?v=ZfoFophtJk0
05:48 PM weenerdog: backstory - i cheated drawing sbr16 rails by grabbing a drawing off the internet. i guess the part had constraints before i copied the geometry i copied
05:48 PM CaptHindsight: I never trust anything imported
05:49 PM CaptHindsight: I once got a reference design from Intel for a motherboard in Orcad...
05:50 PM CaptHindsight: thyey used some other schematic capture app to deisgn it and then translated it without telling (warning) me
05:50 PM CaptHindsight: looked good but nothing in the database worked properly
05:51 PM CaptHindsight: same for most 3d models downloaded from 3d model sources
05:53 PM jthornton: I used to pull my hair out making imported assemblies work as they always came without any constraints
05:55 PM CaptHindsight: i just expect imports to be crap until proven good
05:55 PM CaptHindsight: lots of lazy users of CAD software
06:22 PM Vitran: Just checking to see if I can post here or if it will block me.
06:23 PM Vitran: Wow. I think I got it. Hello LinuxCNC
06:23 PM andypugh: Hi! You mad eit in?
06:23 PM Vitran: yep
06:23 PM Vitran: I was banging my head against the lathe
06:23 PM andypugh: (You were asking for an invite on the forum, and we all looked blank?)
06:24 PM Vitran: Well, I could see other people type, but it said I didn't have authroity even after I tried registering my nickname
06:24 PM Vitran: Trying again on a new day seems to have worked
06:25 PM MrHindsight: IRC uses open source software so....
06:25 PM MrHindsight: it mostly works
06:25 PM andypugh: I think Freenode have a spam problem, and have changed things, which is why we (who have been here a while) are unfamiliar with the hoops you had to jump through,
06:26 PM MrHindsight: ever notice that if you compile and configure apps yourself they work so much better than pre-packaged?
06:26 PM andypugh: Mine don’t :-)
06:26 PM MrHindsight: Linux in general
06:27 PM Vitran: I am at the final stages of my CNC project that has gone on for far too long. But I am hitting my head against this screen https://imgur.com/s8L9Tx6
06:28 PM andypugh: Ah
06:28 PM andypugh: Yes
06:28 PM andypugh: That
06:28 PM andypugh: That’s a fixed bug
06:28 PM andypugh: Which version of LinuxCNC?
06:28 PM Vitran: Ah! Great.
06:30 PM Vitran: 2.7.14
06:30 PM andypugh: Hmmm
06:31 PM Vitran: I haven't plugged it into internet in a long time as last time I did it did an update to the kernel that made linuxcnc stop working
06:31 PM Vitran: so I did a fresh instal and updated the .hal files to match
06:31 PM Vitran: but that was a year ago
06:32 PM andypugh: 2.7.14 is the latest
06:32 PM andypugh: Maybe the problem was only fixed in the dev version?
06:33 PM andypugh: No, it is fixed in 2.7, but possibly not released yet..
06:34 PM andypugh: Yes, not yet fixed in 2.7.14
06:35 PM andypugh: You can fix it yourself, if you want?
06:35 PM Vitran: Sounds like a plan
06:35 PM Vitran: but I don't have much in the lines of linux skills
06:36 PM Vitran: I am not exactly sure what it is saying on the screen though. It seems to complain that it doesn
06:37 PM Vitran: t know what kernel version I have?
06:37 PM andypugh: You have preempt-rt
06:37 PM andypugh: Which means that LinuxCNC isn’t running in kernel space, so the system can’t answer the question
06:38 PM andypugh: Open a terminal
06:38 PM andypugh: which pncconf
06:38 PM andypugh: That will find the file that you are running when you run pncconf
06:39 PM andypugh: (probably /usr/bin/pncconf )
06:39 PM andypugh: then:
06:39 PM andypugh: sudo gedit /usr/bin/pncconf
06:39 PM andypugh: (or, if that fails, sudo mousepad /usr/bin/pncconf )
06:43 PM Vitran: Got it. I opened it in nano, but about the same
06:43 PM andypugh: I am not sure how to search in nano, but you want line 1641
06:44 PM andypugh: It currently says “ elif hal.is_rt and not hal.kernel_version == actual_kernel:”
06:44 PM andypugh: and it needs to say: elif hal.is_kernelspace and hal.kernel_version != actual_kernel:
06:53 PM Vitran: Yeah. It worked
06:53 PM Vitran: Is there a way to manually turn an output pin?
06:53 PM Tom_L: that's just a PNCconf error? not a runtime error?
06:53 PM Tom_L: setp
06:54 PM Tom_L: i think
06:55 PM Vitran: setp hm2_5i25.00.7i64.0.2.output-01, yes, but where can I type that when in pncconf? Is there a means of turning that on? That is the e-stop power circuit that enables the main breakers.
06:55 PM Vitran: setp hm2_5i25.00.7i64.0.2.output-01 TRUE is the command
06:55 PM Tom_L: i've never used pncconf
06:56 PM andypugh: Vitran: Not directly in Pncconf, but if you open a terminal at the same time “halcmd setp hm2_5i25.00.7i64.0.2.output-01 TRUE”
06:58 PM Vitran: neat
06:58 PM Vitran: Didn't know you could do that
06:58 PM andypugh: It’s a useful truck.
06:58 PM andypugh: In fact, without linuxCNC running at all you can start a HAL session
06:59 PM andypugh: halrun
06:59 PM andypugh: loadrt hostmot2
06:59 PM andypugh: loadrt hm2_pci
06:59 PM andypugh: show pin
06:59 PM andypugh: (and so on)
07:00 PM andypugh: If Linuxcnc _is_ running, then “halcmd -kf” will enter an interactive hal prompt where you can type hal commands and use tab-completion and history.
07:01 PM Vitran: That sounds better than HAL Configurator
07:01 PM Vitran: with tab completion I mean
07:05 PM andypugh: Well, not really, as it is interactive and transirnt
07:10 PM Vitran: Can I ask for another error solution? https://i.imgur.com/zOVHIYT.jpg
07:10 PM andypugh: You can ask…
07:11 PM andypugh: But that’s a new one to me.
07:11 PM Vitran: I tried first making the motor go up/down which it did
07:11 PM andypugh: Is this a servo machine?
07:11 PM Vitran: Yes
07:12 PM Vitran: Velocity being used to control position. Velocity is controled by voltage
07:12 PM Vitran: This is on a 7i77
07:15 PM Vitran: I think this was where I was in August when I did the Debian9 installation. I had the probe part working and thought that plugging into the internet and doing a full system update may fix the linking issue. LinuxCNC was unhappy with the updated kernel or something which was why I reinstalled to the Debian9 version
07:16 PM andypugh: Is it possible that there is an encoder scale box that has an invalid value in it? self.enc_scale (in test.py) is used all over.
07:18 PM Vitran: The servo motors are connected to the servo drive and the servo drive outputs an encoder signal. I have tuned it so that it produces 10000 pulses per inch. In the scope I can see that one revolution (as per the servo motor software) is 1" of travel is 10000 pulses.
07:19 PM Vitran: I have used the HAL Configurator to tune that through comparisons on the servo drive's output to what LinuxCNC sees
07:20 PM Vitran: Oh, wait, I understand what you are asking. I will look more closely at the pncconf thing. One sec.
07:25 PM Vitran: I don't see anything out of the ordinary. The encoder scale is set to 10000
07:30 PM Vitran: I don't know if this helps or hurts. Going back to the scope window shows this error now https://i.imgur.com/bri6o3C.jpg
07:31 PM andypugh: Hmm, broken pile points at a graphics problem. Are you logged in by ssh?
07:31 PM andypugh: (probably not, but that’s a term I recognise from that)
07:31 PM Vitran: No? I am at the computer
07:32 PM Vitran: Well, typing on a computer beside the linuxcnc computer
07:32 PM andypugh: I would be tempted to skip the axis test for now, and see if the config works..
07:32 PM Vitran: I have configs that do work
07:32 PM Vitran: The challenge is getting the motors tuned. They are a voltage based so they drift without active control
07:32 PM andypugh: It looks like there’s something a bit wierd going on in your system (but we would have heard by now if all systems worked as well as yours….)
07:34 PM Vitran: When I run a program it says the axis have following errors
07:34 PM Vitran: which I expected as it is drifting
07:36 PM Vitran: Hmmm. Maybe I just put a small 'I' and see if it will use that to stay in position. I don't think it will. Right now it has a PID of 1,0,0
07:38 PM andypugh: It shouldn’t drift very far if the PID is working
07:38 PM andypugh: Make the f-error limits bigger to see if perhaps the encoder scale and the analogue output disagree about which direction is positive
07:46 PM Vitran: Will do. Thank you for the help Andy. It is late and I may tackle this again tomorrow with some friends. Hopefully by the end of the month I will have some PID working on the servos so I can mount them.
08:31 PM justan0theruser is now known as justanotheruser
09:13 PM Rab: Zomg, FreeCAD has SpaceNavigator support!
09:13 PM Rab: https://www.freecadweb.org/wiki/3Dconnexion_input_devices/en
09:30 PM flyback is now known as fishheads
09:31 PM fishheads is now known as fishhead
09:31 PM fishhead is now known as i8086
09:31 PM i8086 is now known as flybak
09:32 PM flybak is now known as flyback
09:44 PM Rab: Hmm, wondered what was inside these things: https://www.fictiv.com/blog/posts/spacenavigator-3d-mouse-teardown
09:44 PM flyback: HEH
09:45 PM flyback: i AM IN THE process of cleaning up and figuring out how to image the hard drives
09:45 PM flyback: on a p100 32mb ram running nt4
09:45 PM flyback: and a p3 384 mb ram running win2k
09:45 PM flyback: pain in the ass because the nt4 can't do usb and the cdrom is broken, and the nic is a old isa one without pxe
09:45 PM flyback: they are cnc machines
10:08 PM flyback: https://www.youtube.com/watch?v=MaWUwWEexLo