#linuxcnc Logs

Mar 01 2024

#linuxcnc Calendar

12:05 AM XXCoder: bleh
01:03 AM Deejay: moin
03:54 AM Tom_L: morning
04:23 AM rif_shed: evenin Tom_L
04:29 AM JT-Cave1: morning
06:26 AM -!- #linuxcnc mode set to +v by ChanServ
06:37 AM JT-Cave: XXCoder, I was not speaking about Pee Wee Herman but Pee Wee my hen
06:37 AM JT-Cave: she died yesterday
07:47 AM JT-Cave: https://www.youtube.com/watch?v=VdGGqV_8MJQ
07:48 AM * JT-Cave starts his chicken day
08:36 AM lcnc-relay: <satiowadahc#0> JT Nice ! since you went back to pyqt5 I got the first example I did for you actually working.
08:40 AM lcnc-relay: <satiowadahc#0> its a greedy search so if you type joint.0 into the text edit, it will load the first match it finds.
08:45 AM -!- #linuxcnc mode set to +v by ChanServ
08:45 AM JT-Shop: awesome
08:59 AM JT-Cave: satiowadahc#0 the GUI has always been in PyQt6 but I use Qt5 Designer because Qt6 Designer is not in debian 12 and it doesn't seem to make a difference
09:04 AM lcnc-relay: <satiowadahc#0> The halmeter widget is pyqt5...
09:04 AM lcnc-relay: <satiowadahc#0> I wonder if you can import pyqtt5 widgets into pyqt6...? you couldn't with 4 to 5...
09:05 AM JT-Shop: I don't think so, in the past if I had mixed pyqt versions it would error out
09:05 AM JT-Shop: changing from pyqt5 to 6 is usually not much more than changing the import
09:06 AM JT-Shop: there are some differences when accessing enums
09:06 AM JT-Shop: widget.setCheckState(Qt.Checked) 5
09:06 AM JT-Shop: widget.setCheckState(Qt.CheckState.Checked) 6
09:14 AM lcnc-relay: <satiowadahc#0> thats annoying... setChecked could take in a bool...
09:15 AM JT-Shop: it still does but if you want to use Qt.Checked in 6 you have to use Qt.CheckState.Checked
09:15 AM JT-Shop: and that was just an example of using an enum
09:19 AM lcnc-relay: <satiowadahc#0> fair enough.
09:22 AM JT-Shop: better example is Qt.Alignment.AlignLeft which works in both 5 and 6 but Qt.AlignLeft only works in 5
10:23 AM bjorkint0sh: https://www.youtube.com/watch?v=jrFv1O4dbqY
10:38 AM lcnc-relay: <JT (@jt-shop:matrix.org)> https://matrix.org/_matrix/media/v1/download/matrix.org/hNERgzZCrubAqPVdZmNrjuxa
11:14 AM Tom_L: JT-Shop, the video, is that an example of buddy() ?
11:14 AM Tom_L: ... you got wood
11:24 AM JT-Cave: no, that's an example of precision property
11:24 AM JT-Cave: buddy is not used anywhere
11:26 AM andypugh_: How is my IRC client using 800MB of memory? That make no sense
11:27 AM roycroft: lack of garbage collection most likely
11:27 AM roycroft: irc generates a lot of garbage :)
11:52 AM JT-Cave: hmm I have an issue now and must use qt6 designer which I found is installed...
11:52 AM JT-Cave: must be nap time
11:58 AM Tom_L: agreed
11:59 AM XXCoder: JT-Cave: ahh ok on chicken
12:33 PM Roguish: JT-Cave, hey, nap king. any chance you can do another .deb for flex? i only see one from 2 weeks ago.
12:47 PM Tom_L: Roguish, you can run from source as well
12:47 PM Tom_L: ./flex
12:48 PM Tom_L: just make sure a sim is runing and run that from a term
01:14 PM solarwind: Xenomai 4 and Dovetail look interesting
01:15 PM solarwind: have to do some reading, but the mechanism is a bit different from RTAI
01:43 PM Roguish: hey. andy is here......
01:44 PM Roguish: Tom_L, I just like the easy .deb install and run....
01:45 PM andypugh: I decided to reboot. It took a long time.
01:52 PM Unterhausen: I recall getting 100k ns latency on a pi4, is the current kernal particularly bad or something?
01:56 PM Leeloo_ is now known as Leeloo
02:11 PM andypugh: I have seen better than that from a Pi.
02:13 PM Tom_L: Roguish, i built a deb if you want it
02:13 PM Roguish: where can I find it
02:13 PM Tom_L: i haven't posted it yet but hang on
02:14 PM Roguish: no hurry
02:15 PM Tom_L: it won't run until you add widgets to it though
02:15 PM Tom_L: you may want to wait for jt
02:16 PM -!- #linuxcnc mode set to +v by ChanServ
02:16 PM Tom_dev: Starting TASK program: milltask
02:16 PM Tom_dev: Starting DISPLAY program: flex
02:16 PM Tom_dev: Can't execute DISPLAY program flex
02:17 PM Tom_L: unlike jet, you have to add widgets with qt designer first
02:21 PM Tom_L: Roguish, i put the deb here but it doesn't do much as is: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/
02:23 PM Tom_L: https://www.gnipsel.com/linuxcnc/flexgui/index.html
02:25 PM solarwind: Unterhausen 100µs is terrible
02:25 PM solarwind: also keep in mind, latency != jitter
02:25 PM solarwind: everyone here keeps confusing those two words
02:26 PM Tom_L: Roguish, add: DISPLAY=flexgui to a sim ini and you can play with it some
02:26 PM Unterhausen: distinction without a difference, really
02:26 PM Unterhausen: but I'm not going to argue about it
02:26 PM solarwind: they're two very different things
02:27 PM solarwind: Tom_L what's flexgui?
02:27 PM Unterhausen: all I care about is if my thread is still running when the next one starts, but that's a lot to say so I'll say latency
02:27 PM Tom_L: https://www.gnipsel.com/linuxcnc/flexgui/index.html
02:27 PM solarwind: oh LOL
02:27 PM Tom_L: a JT project
02:28 PM solarwind: pi 5 can do < 1µs latency and less than that jitter bare metal
02:28 PM solarwind: haven't tested via preempt_rt yet
02:28 PM Unterhausen: it has been too long since I ran one
02:29 PM solarwind: but it certainly can be tuned very well since it's a lot simpler than an x86 desktop
02:29 PM john__: actually flex will load with no widgets I "think"
02:29 PM Tom_L: it will, i just tried it
02:29 PM Tom_L: before i posted the deb
02:29 PM Unterhausen: it would be interesting if someone could fix pi kernels to have less latencyh
02:30 PM Tom_L: skunkworks had a config that tuned it better than default
02:30 PM solarwind: I'll do it
02:30 PM solarwind: I need to do it anyway. skunkworks message me what you have when you get a chance
02:39 PM Tom_L: JT-Cave, where is the ui file for flex if you install it with a deb?
02:40 PM Tom_L: in the config folder?
02:50 PM lcnc-relay: <JT (@jt-shop:matrix.org)> https://matrix.org/_matrix/media/v1/download/matrix.org/inyOoxjDLUgVzViROgItSdnI
02:50 PM Tom_L: gettin there
02:50 PM XXCoder: nice
02:51 PM XXCoder: I hear some people like to hit em with bats while driving by
02:51 PM Tom_L: we had to put curb mailboxes on this street due to a problem dog in the neighborhood
02:52 PM Tom_L: the mailman was afraid of a chihuahua
02:53 PM Tom_L: i had some leftover 3" thickwall pipe i used on a grinder stand i used for it
02:53 PM Tom_L: tacked a plate to the top and mounted the box to that
02:54 PM JT-Cave: everything except the executable is installed in usr/lib/python3/dist-packages/libflexgui
02:55 PM Tom_L: do you have to reinstall after editing the ui file?
02:55 PM Tom_L: i wouldn't think so
02:57 PM JT-Cave: the one you created in a configs dir?
02:57 PM Tom_L: is that where it goes?
02:58 PM Tom_L: i haven't tried making one with the install deb
03:00 PM JT-Cave: the one that gets installed with the deb only has a broken file open button
03:01 PM Tom_L: yeah i saw that
03:05 PM Tom_L: do you have a current list of working widgets?
03:10 PM Tom_L: JT-Cave, edit your ini settings page: DISPLAY=flexgui
03:10 PM Tom_L: i ran your 'status' test one
03:11 PM JT-Cave: most of the status is working
03:12 PM Tom_L: i just wanted to figure out how to load the gui part
03:12 PM Tom_L: and now i see
03:12 PM Tom_L: the webpage says DISPLAY=flex though
03:13 PM JT-Cave: forgot to upload the html page
03:14 PM Tom_L: so you can just edit the ui in the config folder then
03:19 PM JT-Cave: To use your ui file you created with the Qt Designer add the GUI key
03:19 PM JT-Cave: GUI = file-name.ui
03:20 PM Tom_L: right i've tested that
03:20 PM Tom_L: do you think all the widgets you used in jet are active in flex yet?
03:21 PM Tom_L: i may try editing it as a 'example' ui
03:23 PM lcnc-relay: <roguish> alright guys. what is the easiest, simplest way to install and try it out....
03:23 PM JT-Cave: none of the actions are done
03:23 PM Tom_L: Roguish, did you grab the deb?
03:23 PM Tom_L: i'll walk you thru the status.ui one if you want
03:24 PM Tom_L: it just displays a bunch of stats
03:24 PM lcnc-relay: <roguish> yes. I have the deb you linked
03:24 PM Tom_L: did you grab the source in a folder as well?
03:25 PM Tom_L: he's got some examples
03:25 PM lcnc-relay: <roguish> well. no problem. i can wait..... JT is still workin it.
03:26 PM Tom_L: edit the [DISPLAY] section: DISPLAY=flexgui and GUI=file-name.ui
03:27 PM Tom_L: create a ui file to your liking and point the GUI= to it
03:27 PM Tom_L: following the widget names on his webpage
03:28 PM Tom_L: https://www.gnipsel.com/linuxcnc/flexgui/index.html
03:28 PM Tom_L: not quite up to date
03:40 PM JT-Shop: the dro and offset labels I just added them to the docs but not to status.py yet
03:42 PM lcnc-relay: <roguish> ok, cloned the git
03:43 PM lcnc-relay: <roguish> ran the examples
03:43 PM JT-Shop: cool
03:43 PM lcnc-relay: <roguish> it's a start...
03:44 PM lcnc-relay: <roguish> at least now i can just update the git, and play with it
03:44 PM lcnc-relay: <roguish> as you proceed
03:44 PM JT-Shop: awesome
05:05 PM roycroft: it's the weekend!
05:06 PM JT-Shop: two mortises to go...
05:09 PM JT-Shop: interesting vise https://youtu.be/uV08ej6V7dY?list=PLH4J0b3KfGaNED27Y1kCvS_mSQtyXsiwC&t=1487
05:10 PM Tom_L: looks like it folds up for vertical too
05:11 PM JT-Shop: https://youtu.be/oKZl24Y_7-M?list=PLH4J0b3KfGaNED27Y1kCvS_mSQtyXsiwC&t=131
05:12 PM Tom_L: cool
05:13 PM JT-Shop: never seen one like that before
05:13 PM lcnc-relay: <unterhausen> you can still get an emmert
05:13 PM Tom_L: old school
05:14 PM lcnc-relay: <unterhausen> there are lots of patternmakers vises out there though
05:14 PM JT-Shop: what is an emmert
05:14 PM Tom_L: https://www.ebay.com/itm/116008360540?itmmeta=01HQY4PMK05EFYEREB4XA3HH38&hash=item1b02a31a5c:g:uMQAAOSwnSNleJN6
05:14 PM lcnc-relay: <unterhausen> I thought about getting a cmt emmert clone back when they were more affordable
05:14 PM roycroft: it's an old, high end vise
05:14 PM roycroft: mainly used by patternmakers
05:15 PM Tom_L: https://www.ebay.com/itm/375277229177?itmmeta=01HQY4PMK00K1H7T4JV4HE276X&hash=item5760441479:g:T4MAAOSwFENl26nd
05:16 PM roycroft: i want to get a high vise for my bench, otherwise i'm really happy with my workholding options
05:16 PM lcnc-relay: <unterhausen> not sure $400 is a good price for a broken emmert
05:16 PM roycroft: and i still haven't gotten around to drilling the holdfast bores
05:16 PM roycroft: i really need to do that, because i'm constantly doing things that would be easier with a holdfast
05:17 PM roycroft: and i have some really nice hand-forged holdfasts
05:17 PM lcnc-relay: <unterhausen> $400 for a broken emmert is better than $700 for a broken emmert
05:18 PM lcnc-relay: <unterhausen> I want holdfasts, but I can't make myself bore a hole for one in the top of my bench
05:22 PM roycroft: i just haven't figured out the best place for the holes
05:22 PM roycroft: or even how many i want
05:22 PM roycroft: i don't want the bench to look like swiss cheese in the end, so i want wherever i drill the holes to be the right place the first time
05:24 PM roycroft: i'm thinking i only need 3-4 holefast bores
05:24 PM roycroft: i don't need a dozen holes in the bench
05:24 PM JT-Shop: the more holes you have the easier it is to clean the bench of chips
05:27 PM roycroft: and the lighter it is when it's time to move it
05:28 PM roycroft: but i built it to be massive on purpose
05:28 PM roycroft: i'd like it to stay that way
05:29 PM roycroft: i have not moved it one mm since i built it
05:29 PM roycroft: and if i move to the new place, it might move 3-4 times when i first move into the shop, but after that it will probably never move again
05:39 PM * JT-Shop thinks cutting the last two mortises can wait until tomorrow when I'm not tire
05:39 PM JT-Shop: d
05:54 PM JT-Shop: say goodnight Gracie
07:05 PM lcnc-relay: <skunkworks8841> hmm - There was a local public radio station that used to do 'old time radio..' I don't think they do it anymroe
07:05 PM lcnc-relay: <skunkworks8841> anymore
07:14 PM lcnc-relay: <skunkworks8841> the extra oil cooler also leaks.. took one of them to the local radiator place and he is going to clean it up and see if it is worth fixing
07:16 PM lcnc-relay: <skunkworks8841> (for the international crawler) did get it started - the thing has no oil pump and depends on the injector pump to pull the fuel from the tank.. I ended up filling up the fuel tank until gravity let
07:16 PM lcnc-relay: <skunkworks8841> the fuel flow out of the filters and into the injetor pump.. THen it started right up. Could use a simple low pressure electric fuel pump
07:21 PM XXCoder: https://youtu.be/gol_p2aWrJg
07:21 PM XXCoder: wow! didnt know they used compressed air
07:30 PM lcnc-relay: <mikemader#0> I just saw that the other day, very cool, and it worked very well.
07:31 PM roycroft: my new picard hammer finally arrived today
07:31 PM roycroft: it's been on back order for some time now
07:32 PM XXCoder: did it come with earl gray tea bags?
07:32 PM roycroft: it is a joinery hammer, and, very aptly, it is french style, not english style
07:32 PM roycroft: picard is a german brand, btw
07:33 PM XXCoder: cool
07:33 PM roycroft: and oddly, every picard tool i have needed some fine tuning when i got it - this hammer being no exception
07:33 PM roycroft: it's *almost* ready to use
07:33 PM XXCoder: what tuning do hammer need?
07:34 PM roycroft: the striking surfaces are not quite smooth enough and refined enough
07:34 PM roycroft: so a little grinding and polishing work
07:34 PM XXCoder: nyway that tea I menioned is jean-luc picard favorite tea lol
07:34 PM XXCoder: interesting
07:35 PM roycroft: well, it's the character's favorite, but that was only after a heated argument between patrick stewart and the producers
07:35 PM XXCoder: oh didnt know that
07:35 PM roycroft: stewart's favorite tea is lapsang souchong, and he insisted that that picard's favorite
07:35 PM roycroft: but the producers insisted on going with the lame, pedestrian flavor that everybody knows
07:36 PM XXCoder: I guess stewart argument didnt work out
07:36 PM roycroft: earl grey is "exotic" to folgers coffee drinkers
07:36 PM roycroft: no, he lost
07:36 PM XXCoder: I tried earl gray for lols once. it was meh
07:37 PM roycroft: if you bought it in teabags at a supermarket it was almost certainly meh
07:37 PM roycroft: but if you get some good earl grey from a proper tea shop it can be very nice
07:37 PM XXCoder: I suppose. i wasnt much of tea drinker
07:37 PM XXCoder: always preffered water
07:37 PM NetPipe: earl grey or english breakfast ?
07:37 PM XXCoder: my breakfast is always soylent drink
07:37 PM NetPipe: arnt they close ?
07:38 PM NetPipe: one just has more caffeine
07:38 PM roycroft: some of the supermarket stuff i swear has no bergamot in it at all
07:38 PM NetPipe: do you only do 10 dips or steep for minuts at a time ?
07:39 PM roycroft: they just take boring black tea, and if there is a bergamot orange on the other side of the building, they call it close enough and label it earl grey
07:39 PM roycroft: i only brew loose tea
07:39 PM roycroft: and the earl grey i get has chunks of bergamot rind in it
07:39 PM NetPipe: twingy makes the best teas, and tzao makes passion berry
07:40 PM NetPipe: manderine orange
07:42 PM NetPipe: chai and pepperment for some reason arnt good daily driver teas feels too much like water retention even from small ammounts and makes more thirst
07:45 PM NetPipe: yerba matte is good stuff too
07:45 PM NetPipe: might cause telepathy though
07:45 PM roycroft: i encourage you to try some lapsang souchong tea, xxcoder
07:46 PM roycroft: it is smoky and tastes rich and wonderful
07:46 PM XXCoder: how much do it depend on smell for taste?
07:47 PM NetPipe: is raspberry pi 4 enough os to run linuxcnc great ?
07:47 PM NetPipe: its missing the printer port
07:47 PM roycroft: a fair amount, as with any tea
07:47 PM roycroft: if you use a mesa card for motion control a rpi4 is fine
07:47 PM XXCoder: it should use mesa yeah. oh slow
07:47 PM NetPipe: what about those modbus cards ?
07:48 PM NetPipe: usb to modbus converter
07:48 PM XXCoder: I hope there will be buolds for rpi5. interesting to hear how well it can run it
07:48 PM XXCoder: jitter, latency etc
07:49 PM NetPipe: there is rpi 5 version already
07:49 PM NetPipe: https://www.linuxcnc.org/iso/rpi-5-debian-bookworm-6.1.61-rt15-arm64-ext4-2023-11-17-1520.img.xz
07:49 PM NetPipe: https://netpipe.ca/?page_id=507
07:51 PM NetPipe: would be neat if nvum was supported
07:54 PM NetPipe: https://store.mesanet.com/index.php?route=product/product&product_id=290 one of these ?
07:55 PM XXCoder: oh thats cool.
08:03 PM lcnc-relay: <skunkworks8841> Oh thank goodness.. I found all the manuals for the crawler..
08:04 PM roycroft: i just pulled a scotty again
08:04 PM roycroft: we had an emergency request for some documents that were just taken off the fair's website temporarily - they are needed tonight, and are not stored where they can be accessed by the public
08:04 PM roycroft: our web person phoned me and meekly begged for help
08:05 PM roycroft: i told her i could get them online in a couple hours
08:05 PM roycroft: 20 minutes later i had built a new website and populated it with all the files
08:05 PM roycroft: many refreshing beverages have been promised me :)
08:06 PM lcnc-relay: <skunkworks8841> lol - nice!
08:06 PM XXCoder: yeah
08:07 PM roycroft: underpromise and overdeliver
08:07 PM roycroft: that is the key to success
08:07 PM XXCoder: georgi sure didnt like that
08:07 PM XXCoder: he told so to scotty
08:09 PM lcnc-relay: <skunkworks8841> I had my boss email me about our external email filtering software (that someone wanted because he used outlook and didn't like all the spam.) That same person is now upset that some emails are getti
08:09 PM lcnc-relay: <skunkworks8841> ng blocked - because the external email filter is blocking them... Yet he can white list them though the interface that he has access to.
08:09 PM roycroft: always tell them it will take three times as long as it really takes
08:10 PM * roycroft does a lot of white list maintenance for other people, even though it's way more work for them to ask for help than to just do it themselves
09:47 PM Leeloo: I installed the latest Debian distribution and run latency-histogram: is this "normal"/OK? https://i.imgur.com/P7R27Uc.png
11:39 PM XXCoder: interesting machine https://youtu.be/V8r8TBaW4Ak
11:39 PM XXCoder: bit annoying guy
11:40 PM XXCoder: mill is not manual but its also not cnc. pantograph thing