#hazzy Logs

Jul 20 2020

#hazzy Calendar

04:33 AM TurBoss: good morning
05:14 AM JT-Cave: morning
05:57 AM hazzy-m: morning
07:20 AM Lcvette: Element?
07:20 AM Lcvette: Good morning
07:20 AM TurBoss: Lcvette1!! \o/
07:20 AM Lcvette: :D
07:20 AM TurBoss: yes riot changed name
07:20 AM Lcvette: \o/
07:20 AM Lcvette: Probably a good idea
07:34 AM Lcvette: whats crackin in here
07:34 AM Lcvette: lcvbette had to get the coffee going
07:34 AM Lcvette: * lcvette had to get the coffee going
07:41 AM TurBoss: I'm trying to fix G92 in the 3d plot
07:41 AM Lcvette: thought you resolved ?
07:41 AM Lcvette: still busted?
07:41 AM TurBoss: yes...
07:42 AM Lcvette: /o\
07:42 AM TurBoss: is just visual but is bug
07:43 AM Lcvette: ok
07:43 AM Lcvette: whats it doing?
07:44 AM TurBoss: wierd things
08:00 AM Lcvette: TurBoss: do you know if linuxcnc can work with absolute encoders?
08:04 AM TurBoss: i saw some vids of people doing
02:30 PM Lcvette: https://www.youtube.com/watch?v=bCd072NUY9s
02:31 PM Lcvette: seems pathpilot is able to use run from line
02:31 PM Lcvette: any reason probe basic cannot?
02:33 PM Lcvette: hazzy: it appears that path pilot has run from line working, do you know what they are doing to make it functional?
02:39 PM hands[m]: you know if I am reading Path Pilots licensing documents correctly, technially anyone can ask for their source and they will send it on a CD for $14 bucks... So its available but not easy to obtain (something, something, letter of the law vs. spirit of the law, something something)
02:40 PM Lcvette: yeah i think there are a few here who have path pilot
02:41 PM Lcvette: i was just curious because it seemed that run from line got shuffled into the can't fix bin because of a linuxcnc issue
02:41 PM Lcvette: but if they are able to make it work it would seem maybe that is not the case?
02:42 PM Lcvette: i vaguely rmeember it being something that remap might break
02:42 PM hands[m]: There are some complexities to doing something like that "right" you would want to scan the code to calculate the correct "current" G and M codes (like G01 vs. G00 and Spindle & Coolant State)..
02:42 PM Lcvette: something to do with que busters
02:42 PM hands[m]: Oh and tool offsets
02:42 PM Lcvette: correct
02:43 PM hands[m]: It would be an interesting algorithm to write...
02:43 PM Lcvette: i know from experience there is a some wierd bug that we suspect is in vtk with tools loading and remap
02:44 PM Lcvette: if i run a program that uses the same tool but with a different tool in between, it breaks and will not load the program
02:44 PM Lcvette: very odd
02:44 PM Joco[m]: It’s due to how lcnc does the scan up to the new start point.
02:44 PM Lcvette: very fristrating as I have to work around it all the time by making seperate setups where one should be able to handle eveyrthing
02:45 PM Joco[m]: It honours the tool changes and with remap I think that is where it can get screwed up.
02:45 PM Lcvette: i agree
02:45 PM Lcvette: i am remembering it more now as we discuss it
02:47 PM Lcvette: i did see that tormach made comment when using run from line to do so at a tool change so it could properly load the correct tool, spindle speed, tool offset and any other data that is used at time of m6 call
02:47 PM Lcvette: https://www.youtube.com/watch?v=T-Vf3ho5_wU
02:48 PM Joco[m]: It would be worth a look into exactly what the issue was as if you could set a global gcode var that told the remap you were in run from line mode then maybe you could put the smarts in the remap to avoid the issue.
02:48 PM Joco[m]: Or some such approach.
02:48 PM hands[m]: How far down the widget rabbit hole should I go before we sync and figure out how to refactor to leverage the approach? I am thinking this week is a good week for me to cut stuff up, but I don't want to cut up parts that are mid-flight with other improvements.. and this stuff won't be easy to merge so stomping on files may be the only way to apply these changes.
02:49 PM Lcvette: https://github.com/LinuxCNC/linuxcnc/issues/246
02:49 PM Lcvette: hands: you talking to me?
02:49 PM Lcvette: is this for the probe basic vetical work?
02:50 PM hands[m]: Generically the channel
02:50 PM hands[m]: yes, vertical + how to structure for good reuse with horizontal
02:50 PM hands[m]: and how to time the work with what is going on with horizontal.
02:52 PM hands[m]: (trying to work out how to get two moving targets to leverage each others work)
02:52 PM Lcvette: i would think once vertical has been caught up and since most of horizontal is working pretty well it would just be something that gets maintained whenever an update to either is made
02:52 PM Lcvette: im not sure there is a good way to autoupdate things from one to another
02:52 PM Lcvette: but i also don't know an awful lot about what is possible in that realm either
02:53 PM hands[m]: ok for now I'll roll solo.. but I think at some point we might want to move to trying to encapsolate our updates to widgets and let Horizontal and Vertical just be layouts.
02:53 PM Lcvette: think it will require manual updating to each
02:53 PM Lcvette: that would be rgeat
02:53 PM Lcvette: * that would be great
02:54 PM hands[m]: the trick is if we can keep the UI changes inside each widget and not cross widgets..
02:54 PM hands[m]: (good MVVM model with Linux CNC being the service underneith)
02:58 PM Lcvette: i think there was some discussion about that previously and the issue was that the probe basic functionality stuff wasn't wanted for other gui's
02:58 PM Lcvette: i think there was some discussion about that previously and the issue was that the probe basic functionality stuff wasn't wanted for other gui's
02:58 PM Lcvette: so it kinda became a unique setup
02:59 PM hands[m]: I know I want the Probe Basic functionality just vertical ;-)..
02:59 PM hands[m]: (because I am a trouble maker)
03:00 PM Lcvette: i too have a machine that vertical was actually made for
03:16 PM TurBoss: hello
03:16 PM * TurBoss is back
03:17 PM TurBoss: goin to work on G92 Stuff
04:12 PM JT-Shop: hmm Riot has disappeared from my phone...
04:12 PM TurBoss: element
04:12 PM TurBoss: just changed the name
04:12 PM TurBoss: riot is to dark lol
04:14 PM JT-Shop: do I need to reinstall element now
04:14 PM Not-c0dc: [02qtpyvcp] 07TurBoss pushed 031 commit to 03VTK_G92 [+0/-0/±1] 13https://git.io/JJC0g
04:14 PM Not-c0dc: [02qtpyvcp] 07TurBoss 03ba280dd - fix change g92 once path is loaded
04:14 PM JT-Shop: oh wait I see element
04:14 PM TurBoss: cool
04:15 PM TurBoss: JT: ping
04:15 PM TurBoss: :P
04:16 PM TurBoss: Lcvette: you arround?
04:16 PM JT[m]: Pong
04:17 PM TurBoss: \ø/
04:17 PM TurBoss: I need a voluntier
04:17 PM TurBoss: he should stay in a kreppy house for a night
04:17 PM TurBoss: :D
04:18 PM TurBoss: nah.... I just need the G92 branch to get tested
04:18 PM TurBoss: I think Im donw
04:18 PM TurBoss: * I think Im done
04:19 PM * JT[m] uploaded an image: 20200720_160800_1710131187.jpg (2739KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BLqKgSbowTQSNSTBvzzHUWTz >
04:19 PM TurBoss: wow you busy
04:19 PM TurBoss: nice table
04:19 PM TurBoss: that can hold a elephant
04:19 PM JT[m]: 92
04:20 PM JT[m]: Was a machine at Briggs
04:20 PM Lcvette: TurBoss: :D
04:20 PM Lcvette: \o/
04:20 PM TurBoss: yep
04:20 PM Lcvette: hurray!!
04:21 PM Lcvette: you fixed?
04:21 PM TurBoss: do G92 work okay?
04:21 PM TurBoss: yes
04:21 PM TurBoss: i think
04:21 PM Lcvette: dunno did you push?
04:21 PM TurBoss: yes
04:21 PM TurBoss: <Not-c0dc "[qtpyvcp] TurBoss ba280dd - fix "> ^^
04:21 PM TurBoss: branch is VTK_G92
04:21 PM TurBoss: in qtpyvcp
04:22 PM TurBoss: I test
04:22 PM TurBoss: load a program with g92 in place with and without g5x
04:22 PM TurBoss: change g92 on the fly
04:22 PM TurBoss: change g5x on the fly
04:23 PM Lcvette: how to test for you?
04:23 PM TurBoss: issue a G92 X1 and restart
04:23 PM TurBoss: the reload the program
04:23 PM TurBoss: the offset should remain
04:23 PM TurBoss: * issue a G92 X1 and restart
04:23 PM TurBoss: then reload the program
04:23 PM TurBoss: the offset should remain
04:25 PM TurBoss: Lcvette: try to break it lol
04:27 PM TurBoss: any luck?
04:42 PM Lcvette: sorry got side tracked on a phone call, testing now
04:45 PM Lcvette: i cannot load tools anymore
04:45 PM Lcvette: what broke?
04:45 PM Lcvette: /o\
04:46 PM Lcvette: you guys are breaking things
04:46 PM Lcvette: lol
04:46 PM Lcvette: and its getting missed
04:46 PM Lcvette: i hope you can find where it broke
04:46 PM Lcvette: turboss ^^^
04:57 PM TurBoss: Lcvette: I saw the error
04:57 PM TurBoss: :/
04:57 PM * TurBoss uploaded an image: Captura de pantalla de 2020-07-20 23-48-00.png (46KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/BnJzWEfYRvuNQUuadGUduogW >
04:58 PM Lcvette: this did not hgappen before
04:58 PM Lcvette: trying to find why its happening now
04:58 PM TurBoss: is because vtk_g92 is old
04:58 PM Lcvette: seems i cannot enter the value for the pc_angle_offset
04:58 PM Lcvette: ?
04:58 PM Lcvette: whats old?
04:59 PM TurBoss: are you on the VTK_G92 branch?
04:59 PM Lcvette: you merged old to new?
04:59 PM Lcvette: /o\
04:59 PM Lcvette: overwriting new things with old things?
04:59 PM Lcvette: /o\
04:59 PM TurBoss: no....
04:59 PM TurBoss: if you go qtpyvcp master does the error persist?
04:59 PM TurBoss: I'm testing just now
05:00 PM Lcvette: yes master works
05:01 PM Lcvette: phwew
05:01 PM Lcvette: lcvette got scared
05:01 PM TurBoss: you are so dramatic
05:01 PM TurBoss: /o\
05:01 PM TurBoss: :P
05:01 PM Lcvette: lol
05:01 PM Lcvette: /o\
05:01 PM Lcvette: ]
05:01 PM TurBoss: \o/
05:02 PM Lcvette: * ]rtie symbol
05:02 PM Lcvette: lol
05:02 PM Lcvette: * that is my favorite symbol
05:02 PM Lcvette: \o/
05:02 PM Lcvette: hurray!!
05:03 PM Lcvette: when i try and run the part it was erroring because the tool thing
05:03 PM Lcvette: could not get very far in testing
05:04 PM Lcvette: is the vtk fix in just one file?
05:04 PM Lcvette: could i just copy the file to the master directory?
05:04 PM Lcvette: so i can test or?
05:05 PM TurBoss: sure
05:06 PM TurBoss: I0ll fix the vTK branch
05:06 PM TurBoss: dev got busted
05:06 PM TurBoss: frooze
05:12 PM Lcvette: dev is busted?
05:12 PM Lcvette: :o
05:12 PM TurBoss: my dev pc
05:13 PM TurBoss: ok pushed master to my fork
05:13 PM TurBoss: Lcvette: ^^
05:17 PM Lcvette: ok testing
05:17 PM TurBoss: cool thank
05:17 PM TurBoss: * cool thanks
05:19 PM Lcvette: think something is broken
05:20 PM TurBoss: I'm all ears
05:20 PM TurBoss: G92 affects all G5x offsets
05:21 PM * Lcvette uploaded an image: Screenshot_2020-07-20_18-11-52.png (74KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/OGSWpeWPujydQLOyZgyMMNNd >
05:22 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/gFjLPTJuDeilSVuptkSabkNO >
05:22 PM TurBoss: ok
05:22 PM Lcvette: i cannot change anything G5x i get tons of errors and pop up window
05:22 PM Lcvette: when i start getting those i cannot find a way out of the error loop
05:23 PM TurBoss: ops
05:24 PM Lcvette: yeah tried again and still same errors
05:24 PM TurBoss: okgot a fix
05:24 PM Lcvette: hurray!
05:25 PM TurBoss: I was testing I n mini VCP
05:25 PM Lcvette: do you have bnog screens?
05:26 PM Lcvette: * do you have big screens?
05:26 PM TurBoss: yes
05:26 PM Lcvette: to run probe basic?
05:26 PM TurBoss: yes yes i can
05:47 PM TurBoss: Lcvette: this is the definitive one
05:47 PM TurBoss: for now
05:47 PM TurBoss: :P
05:47 PM TurBoss: just pushed
09:36 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson pushed 032 commits to 03QPlainTextEdit [+0/-0/±2] 13https://git.io/JJCir
09:37 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson 03d3857cb - some doc strings
09:37 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson 0337fa0fd - more syntax patterns
10:21 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03QPlainTextEdit [+0/-0/±1] 13https://git.io/JJCXm
10:21 PM Not-c0dc: [02qtpyvcp] 07KurtJacobson 033ebb98e - code clean up and refactor