#hazzy Logs

Feb 23 2020

#hazzy Calendar

12:17 AM Lcvette: JT_shop is your website mesaus?
12:33 AM Lcvette: They're used to be really well written instructions for using Mesa flash utility on Mesa us, but it's gone now :(
01:00 AM CaptHindsight: https://github.com/jethornton/mesaflash
01:02 AM CaptHindsight: http://tom-itx.no-ip.biz:81/~webpage/emc/xilinx/xilinx14_install_index.php
01:17 AM Lcvette: @freenode_CaptHindsight:matrix.org: thanks
06:02 AM dremeier[m]: g morning @ all
06:04 AM dremeier[m]: with prob_basic master lcnc will not start, rebase to v0.2.2 it works
07:36 AM Lcvette: do you have the latest qtpyvcp?
07:36 AM Lcvette: morning
07:50 AM Lcvette: i think it may be neededfor the new vcpstacked widget
08:56 AM dremeier[m]: sure, latest qtpyvcp
09:50 AM hazzy-m: morning
10:06 AM JT-Shop: morning
10:07 AM hazzy-m: JT-Shop: hey!
10:14 AM Lcvette: morning
10:15 AM Tom_L: morning
10:19 AM Lcvette: hazzy and turboss, the error only seems to occur if probe basic is shut down with a tool in the spindle
10:21 AM hazzy-m: strange
10:24 AM * dremeier[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/FTvarlLQHWHSzKrzjgasIBje >
10:24 AM dremeier[m]: linuxcnc linuxcnc/configs/atc_sim/vmc_index_metric.ini
10:25 AM * Lcvette posted a file: error_with tool_in_spindle_at_startup.mkv (5495KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QrnzBgCiSbKHmqnCHZmyCgTQ >
10:25 AM Lcvette: see video ^^^
10:25 AM Lcvette: hazzy turboss ^^^
10:31 AM * hazzy-m sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/eoQmUHdIgMJOAiojhvKGoDYt >
10:32 AM hazzy-m: there is no tool change in that file ....
10:32 AM TurBoss: :o
10:32 AM TurBoss: hello
10:34 AM Lcvette: ?
10:35 AM Lcvette: thats the same error i was getting if i had the same tool runn twice with a tool between them in the tool change sequence
10:36 AM Lcvette: when did you get that error hazzy?
10:37 AM Lcvette: under what conditions?
10:37 AM hazzy-m: when trying to jog the ATC
10:37 AM Lcvette: jog?
10:37 AM Lcvette: did you reference?
10:40 AM * hazzy-m sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/bEYWxzhIqZSlDrtOeNpORolF >
10:40 AM hazzy-m: yes
10:40 AM Lcvette: tool zero not in the carousel
10:40 AM * hazzy-m sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/EKflcfruwVvPhUMKSksPrjcf >
10:41 AM hazzy-m: why does it try to reload the backplot every time I jog?
10:41 AM hazzy-m: that's one problem
10:44 AM Lcvette: 3d chips does have a tool
10:44 AM Lcvette: tool number 1
10:45 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ctRPYfDkurHxziCdpptNoIEB >
10:45 AM Lcvette: and it is not in the carousel
10:45 AM Lcvette: load tool 1 in spindle and try again
10:45 AM Lcvette: or in the carousel and try again should load
10:47 AM Lcvette: once tool 1 is loaded in the spindle or the carousel the program loads
10:47 AM Lcvette: that error should be more if a notification though
10:47 AM Lcvette: not an error
10:48 AM Lcvette: the system in my opinion really should look at the tool table and not the carousel
10:49 AM Lcvette: so if you have more than the number of tools in your carousel for a program, the tools will be expected to be loaded by hand rather then from the atc
10:49 AM Lcvette: that should also eliminate the error i would think from using the same tool twice
10:50 AM Lcvette: to run a program the tool must be in the tool table but not necessarily in the carousel or spindle
10:54 AM Lcvette: at elast i think that should be the norm
10:54 AM hazzy-m: Lcvette: I agree
10:54 AM Lcvette: otherwise you will not be able to load programs if the carousel is full
10:55 AM hazzy-m: that's what I was taking about yesterday
10:55 AM Lcvette: where?
10:55 AM Lcvette: must have missed it
10:55 AM hazzy-m: you should be able to have as many tools in the TT as you want, but the pocket number must be limited to how many pockets your ATC has
10:56 AM Lcvette: true
10:56 AM hazzy-m: if you try to load a tool that is not in the ATC it should give you a pop up asking you to load the tool manualy
10:56 AM Lcvette: right now though loading is restricted to the carousel and spindle
10:56 AM Lcvette: as you just saw when trying to load 3d chips
10:56 AM hazzy-m: so on a machine with only manual tool change pocket number should always be -1
10:56 AM Lcvette: tool# 1 was inthe tool table and defined but it failed to oload the program
10:57 AM hazzy-m: on a machine with an ATC the pocket number should be 0-numpockets
10:57 AM hazzy-m: and the tool table should store what tools are in the ATC
10:58 AM Lcvette: how to fix though?
10:58 AM hazzy-m: I had a play with random tool changer yesterday, and it rewrited the tool table as expected
10:58 AM Lcvette: turboss was stumped
10:59 AM hazzy-m: but it was working as a random changer, so we would have to find a way to tell it to put the tool back in the same location it came from since your ATC is not random
10:59 AM Lcvette: mine is random
10:59 AM Lcvette: it stores the tool wherever it wants to
10:59 AM Lcvette: not back in the same pocket
10:59 AM Lcvette: hazzy^^
11:00 AM hazzy-m: really?
11:00 AM Lcvette: yes
11:00 AM hazzy-m: closes pocket then?
11:01 AM Lcvette: sometimes
11:01 AM Lcvette: sometimes it will put a tool back in an open pocket near the next tool to be called
11:01 AM Lcvette: but they do not always go back in the same pocket
11:01 AM Lcvette: im not sure how it chooses
11:02 AM Lcvette: its certainly random
11:02 AM Lcvette: but works perfectly
11:02 AM Lcvette: hazzy that error message you got
11:03 AM * Lcvette posted a file: case_op_2_offending_file.ngc (59KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dEbVNupBxCZWJZrvgjxPQIpQ >
11:03 AM Lcvette: this file cannot be made to load
11:03 AM Lcvette: because it uses a tool twice
11:04 AM Lcvette: with a tool in between ops
11:04 AM Lcvette: or multiple tools in between the two same tool ops
11:04 AM Lcvette: it facing the top of the part first, then after some adap[tive clearing is using the facemill to face the newly cleared lower open pocket
11:05 AM Lcvette: but for some reason the vtk was not wanting to recognize the tool was in the carousel after being returned int he m6remap
11:05 AM Lcvette: turboss i think ended up just making the error non critical and turning it into a notification
11:06 AM TurBoss: not merged
11:06 AM TurBoss: but the error remains
11:06 AM Lcvette: which is fine but like you discovered it errors if you don't have a tool in the spindle or carousel still and should be looking to the tool table for its tool calls when loading instead
11:06 AM Lcvette: hazzy ^^^ as turboss stated
11:07 AM Lcvette: turboss is there a way for it to look to the tool table for the tool and not the atc?
11:07 AM Lcvette: that is how it should be
11:07 AM TurBoss: it should be done in macros
11:08 AM Lcvette: i don't think thats right
11:08 AM Lcvette: the tool table is not in the macro
11:08 AM Lcvette: only the carousel
11:08 AM Lcvette: which limits what tools will allow the program to load
11:08 AM Lcvette: it should load the same as non atc does
11:09 AM dremeier[m]: ^^ that sounds perfect, plus the ToolTable should have a colume for the pocket number
11:10 AM TurBoss: we need a way to fetch data from the tool table in the subroutines
11:11 AM Lcvette: once the program is loaded, and a tool is called, if it is not in the carousel or spindle, it should present a dialog to load the tool manually
11:12 AM dremeier[m]: <TurBoss "we need a way to fetch data from"> the system variables http://linuxcnc.org/docs/2.6/html/gcode/overview.html#sec:comments can do this?
11:13 AM dremeier[m]: <Lcvette "once the program is loaded, and "> that is a must have :-)
11:14 AM dremeier[m]: ^^ that i was asking days ago :-)
11:15 AM Lcvette: it should also return the tool in spindle to the carousel
11:15 AM Lcvette: prior to the tool change
11:15 AM Lcvette: and then with the carousel full, it should present a dialog stating the carousel is full and the tool in spindle must be removed manually to continue
11:16 AM dremeier[m]: πŸ‘οΈ
11:16 AM Lcvette: im pretty sure these messages are already in the remap files for those conditions
11:17 AM Lcvette: how does the vtk run through program load in non atc probe basic?
11:21 AM dremeier[m]: what was vtk? πŸ€”
11:21 AM Lcvette: That is the backplot
11:21 AM Lcvette: Plugin?
11:22 AM Lcvette: Or widget
11:23 AM Lcvette: Turboss or hazzy correct me if I'm wrong, but vtk was used because the backplot from axis, gmochappy etc was not compatible with qtpy
11:24 AM hazzy-m: no
11:24 AM hazzy-m: we have the gremlin as well
11:24 AM hazzy-m: it works
11:24 AM hazzy-m: but not as nice as the VTK one
11:25 AM Lcvette: I agree, vtk is much nicer
11:25 AM dremeier[m]: what widget is it in designer? I like the ais backplot
11:25 AM dremeier[m]: * what widget is it in designer? I like the axis backplot
11:26 AM Lcvette: but when we tried the other backplot while toruble shooting it still gave an error with the double tool
11:26 AM Lcvette: but was a different error
11:26 AM Lcvette: sek i will test and report again
11:27 AM hazzy-m: Lcvette: I think its a problem in the ATC remaps
11:28 AM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/MuazSCOkslcOVzOxMlwLxuIW >
11:29 AM Lcvette: this is the error when trying to load that file with the same tool used twice with the old backplot
11:30 AM dremeier[m]: I use this https://github.com/LinuxCNC/linuxcnc/tree/master/nc_files/remap_lib/python-stdglue glue, because it works in real machine and has more options. maybe you like it too
11:44 AM * hazzy-m uploaded an image: image.png (189KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/GxCugTPWRRvyXudJiDQDkoQM >
11:44 AM hazzy-m: so I have it reading pockets from the tool table
11:44 AM hazzy-m: it works!
11:44 AM hazzy-m: T1 is in pocket 11
11:45 AM Lcvette: yeah?
11:45 AM hazzy-m: and the HAL pins show that correctly
11:45 AM Lcvette: will the remap write to the tool table also?
11:45 AM hazzy-m: not yet
11:46 AM TurBoss: what about a components that writes the tool table?
11:46 AM hazzy-m: now we have to set up the remap to do the right things
11:46 AM TurBoss: or will mess with linux cnc begin reading the file
11:46 AM Lcvette: ok
11:46 AM Lcvette: :D
11:46 AM hazzy-m: I think we might be able to use the (DEBUG, EVAL(tool_table.set_tool_pocket(tool_num, pocket_num) from the sub
11:47 AM TurBoss: cool!
11:47 AM Lcvette: hurray
11:47 AM Lcvette: this will fix the loading thing?
11:48 AM Lcvette: :o
11:55 AM TurBoss: ```
11:55 AM TurBoss: (DEBUG, EVAL[vcp.getWidget{"dynatc"}.rotate{#<Steps_to_move>, "cw"}])
11:55 AM TurBoss: ```
11:55 AM TurBoss: this is how atc is moved
11:55 AM TurBoss: same for tooltable?
11:57 AM Lcvette: dunno
11:57 AM hazzy-m: TurBoss: yes
11:57 AM TurBoss: great
11:57 AM hazzy-m: Lcvette: all the toolchange is in the toolchane sub?
11:58 AM hazzy-m: what about the epilog and prolog?
11:58 AM hazzy-m: are those files?
11:58 AM * hazzy-m is not up on the tool change stuff
11:58 AM TurBoss: hazzy: what does that do?
11:58 AM TurBoss: i have a kind of idea but...
11:58 AM Lcvette: it calls various other remaps
11:59 AM hazzy-m: TurBoss: we are going to try to store the pockets the tools are in in the tool table, rather than in ngc variables
11:59 AM TurBoss: hurray!
11:59 AM TurBoss: that would prevent furture problems
11:59 AM TurBoss: with vars begin relocated
11:59 AM Lcvette: toolchange, m10, m11, m12, m13, m21, m22, m24, m25
12:00 PM Lcvette: hazzy ^^^
12:00 PM Lcvette: thats fantastic
12:00 PM Lcvette: thats what we hoped to do long ago
12:00 PM Lcvette: so then the pocket numbers would be fixed?
12:01 PM hazzy-m: yes
12:01 PM Lcvette: consecutive
12:01 PM TurBoss: hazzy: how can I help? , by staying quiet?
12:01 PM hazzy-m: if a pocket number is set to 0 the tool will be in the spindle
12:01 PM hazzy-m: if the pocket number for a tool is -1 then it will ask to manualy load it since it os not in the ATC
12:01 PM Lcvette: how will the atc know when the carousel is full?
12:02 PM hazzy-m: other wise it will get the tool from the pocket set in the tool table
12:02 PM Lcvette: 12 tools in carousel 56 pcokets in tool table
12:03 PM hazzy-m: we will limit the number of pockets in the tiool table the the actual number of pockets in the ATC
12:03 PM hazzy-m: probably change the pocket entry to a drop down
12:04 PM hazzy-m: you can select "In Spindle", the pocket nomber from 1-12 or "external"
12:04 PM hazzy-m: "In SPindl" would corespond to pocket 0
12:04 PM hazzy-m: external would corespond to a pocket of -1
12:04 PM TurBoss: hazzy: if you need any modifications to the ATC Widget
12:04 PM TurBoss: feel free to ask
12:04 PM Lcvette: great
12:04 PM hazzy-m: will do
12:05 PM hazzy-m: but I don;t thing any will be needed
12:05 PM TurBoss: > my widgets doesn't contain bugs
12:05 PM TurBoss: they only dont work as spected
12:05 PM Lcvette: turboss how does the atc widget know the pockets?
12:05 PM Lcvette: is it by 1-12 or by the var numbers?
12:06 PM TurBoss: the subs send with eval
12:06 PM Lcvette: lol
12:06 PM TurBoss: ΒΊ1-12
12:06 PM TurBoss: fixed for now
12:08 PM hazzy-m: TurBoss: LOL
12:08 PM Lcvette: i wierd, i just tested something
12:08 PM * hazzy-m sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ggjJNMUUYHQwkHMHYiFdJREI >
12:08 PM Lcvette: you can apparantly legally save different tools to the same pocket number
12:08 PM TurBoss: :o
12:09 PM Lcvette: i also discovered something wierd
12:09 PM TurBoss: hazzy: how did you trigger that??
12:09 PM Lcvette: i opened the atc widget tool table file... vmc.tbl
12:09 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ynjrZUSBgOekDcPxHqKJSlCw >
12:09 PM Lcvette: these have pluses and are 6 decimal places
12:10 PM Lcvette: so the issue we hit the other day i guess would not have efected this one?
12:10 PM Lcvette: notice t1 and t2's pocket number
12:10 PM Lcvette: saved from within probe basic tool table and reloaded
12:11 PM hazzy-m: TurBoss: launch `linuxcnc config/atc_sim/vmc_index_inch.ini`, home, ref ATC and jog atc
12:11 PM TurBoss: ok
12:12 PM TurBoss: that sim is diferent
12:12 PM TurBoss: that the one in PB
12:12 PM hazzy-m: Lcvette: right now pockets are completely ignored by QtPyVCP and LinuxCNC
12:12 PM hazzy-m: so you can put anything there
12:12 PM Lcvette: ah gotcha
12:12 PM Lcvette: how about the 6 decimal place format?
12:13 PM Lcvette: with proper spacing
12:13 PM TurBoss: oh you have pb sim in local
12:13 PM hazzy-m: that's a nice looking tool table :)
12:13 PM TurBoss: :|
12:13 PM Lcvette: abd the Z+0.000000
12:13 PM hazzy-m: TurBoss: no, its in dev
12:13 PM hazzy-m: `~/dev/cnc/probe_basic$ linuxcnc config/atc_sim/vmc_index_inch.ini`
12:13 PM Lcvette: wonder if i copy and save as tool table it holds its formatting
12:13 PM TurBoss: ok i saw
12:13 PM TurBoss: xD
12:14 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/iIFaXaCghePhmRuCCEUVKMqk >
12:14 PM hazzy-m: Lcvette: that is the new more better tool table format I did yesterday
12:14 PM Lcvette: hazzy i used thaty ini with atc and ref'd everything and all is well
12:15 PM TurBoss: you broke
12:15 PM Lcvette: oh it is?
12:15 PM Lcvette: :D
12:15 PM TurBoss: just reference breaks vtk :o
12:16 PM Lcvette: i cannot break it
12:16 PM Lcvette: imnot getting that error hazzy
12:16 PM TurBoss: do you have a tool in the spindle?
12:17 PM Lcvette: just tried that too an still no errors
12:17 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/IGdozjkqiebfEpPMdbSeAeuR >
12:18 PM Lcvette: hazzy, will the new tool table record negative z offsets?
12:18 PM hazzy-m: Lcvette: someone else got it the other day too
12:18 PM hazzy-m: this one does too....
12:18 PM Lcvette: what elkse could i be doing different?
12:18 PM hazzy-m: it has always supported negative z offsets I thingk
12:18 PM Lcvette: i did what you said caused here
12:18 PM hazzy-m: does it load a file for you?
12:18 PM Lcvette: yes the docs say it does
12:19 PM Lcvette: im not getting any vtk errors
12:19 PM Lcvette: everything is running and jogging around fine
12:19 PM Lcvette: i loaded tool in spndle, re referenced everything
12:19 PM Lcvette: can't break it
12:19 PM hazzy-m: I think its because the file set with INI `[DISPLAY] OPEN_FILE = ~/linuxcnc/nc_files/blank.ngc` does not exist on my machine
12:20 PM Lcvette: ah that might be
12:20 PM hazzy-m: so its still a bug
12:20 PM TurBoss: ok doesn't matter if I have tool or no in the spindle
12:20 PM hazzy-m: because a lot of people might try to load a nonexistant file
12:21 PM Lcvette: would be good to have no file loaded be needed
12:21 PM Lcvette: and to have an unload button that does not require loading another file
12:23 PM * TurBoss uploaded an image: image.png (49KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NuqWtjNLjHRcOVWFMHVMkLlE >
12:23 PM hazzy-m: that's what LCNC requires
12:23 PM hazzy-m: what?
12:23 PM Lcvette: Etchesketch
12:23 PM hazzy-m: :O
12:23 PM TurBoss: xD
12:24 PM TurBoss: tort.ngc
12:24 PM TurBoss: is correct
12:24 PM hazzy-m: torture
12:24 PM TurBoss: so if no file loaded atc reference breaks vtk
12:24 PM TurBoss: lol
12:26 PM TurBoss: hazzy: hazzy did you notice VTK having tool rotation and translation=
12:26 PM TurBoss: ??
12:29 PM hazzy-m: No!
12:37 PM TurBoss: can we just nuke the toolfile coment?
12:39 PM Lcvette: :o
12:40 PM Lcvette: Constance Dane
12:47 PM Lcvette: 70's tv shows
12:48 PM hazzy-m: TurBoss: why?
12:48 PM TurBoss: to get rid of the linuxcnc parsing that line error
12:48 PM hazzy-m: Oh, I hate that
12:49 PM hazzy-m: But LinuxCNC is supposed to support comments and a file header before an opening ---- delimiter
12:49 PM TurBoss: maybe ( )
12:50 PM hazzy-m: I think we should fix it in LinuxCNC
12:50 PM TurBoss: yes
12:50 PM hazzy-m: If the line starts with a ; ignore it
12:50 PM hazzy-m: As and not print a message
12:51 PM TurBoss: ERROR ERROR nothing happened
12:51 PM TurBoss: lol
12:51 PM hazzy-m: Hahahaha
12:51 PM Lcvette: lol
01:05 PM * TurBoss uploaded an image: image.png (52KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/bLSCaYRQqSykFXpcvoRRCicj >
01:07 PM Lcvette: :o
01:07 PM Lcvette: Technocnc
01:07 PM TurBoss: xDD
01:07 PM Lcvette: ooncha ooncha ooncha
01:08 PM Lcvette: Lol
01:08 PM TurBoss: \o/
01:08 PM Lcvette: :D
01:36 PM Lcvette: Hazzy you need help with the remap stuff?
02:50 PM -!- #hazzy mode set to +o by weber.freenode.net
03:03 PM D-Flo[m]: Hey guys! Did you have any luck with the tool table?
03:08 PM TurBoss: we are awaiting for a @hazzy status report
03:24 PM -!- #hazzy mode set to +o by weber.freenode.net
03:39 PM * hazzy-m has been riding his little motorcycle and climbing mountains :)
04:08 PM TurBoss: cool!
04:53 PM JT-Shop: https://gnipsel.com/images/wood-working/delta-planer/
05:13 PM TurBoss: nicew!"
05:26 PM JT-Shop: yea my planer had a DRO now :)
05:39 PM nug45[m]: Good Evening !!!! I have jumped out of bed and done something and it works !!!!!
05:41 PM * nug45[m] uploaded an image: image0.jpeg (1200KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/aYwUUoIgoTIRXiJOPnxvSPJj >
05:41 PM * nug45[m] uploaded an image: image1.jpeg (678KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/qApXCnlwaURMgwOEenqMzkMb >
05:42 PM nug45[m]: I made it display !!! Tomorrow if i can sleep i will test it with a HAL pin in the post guI on my test rig !!!!!
06:03 PM nug45[m]: KCJ are you there ?????
06:52 PM Lcvette: What's that?
06:52 PM Lcvette: Lots meter?
06:54 PM Lcvette: * Looa meter?
06:55 PM Lcvette: * Load meter?
06:55 PM Lcvette: o/
06:55 PM Lcvette: o/ hey hazzy
06:56 PM Lcvette: How did you make our on the tool table thing?
06:56 PM Lcvette: * How did you make out on the tool table thing?
06:57 PM hazzy-m: nug45: hurray!!!!
07:00 PM hazzy-m: nug45: did a little more work on the grips, new screws and got them fitted nicely
07:00 PM * hazzy-m uploaded an image: ima_9b56163.jpeg (186KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/WciMcNXExxZRgKgYCwfKrtmL >
07:23 PM hazzy-m: Oops, thought that was a PM πŸ˜‚
07:24 PM Lcvette: Nice
07:28 PM hazzy-m: i'm stuck on the ATC
07:28 PM Lcvette: What with? Maybe i can help
07:30 PM hazzy-m: sek
07:30 PM * hazzy-m goes to dev
07:31 PM Lcvette: Ok
07:34 PM * hazzy-m uploaded an image: image.png (345KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ssIhjdtDEWbwMePzrSlFFRoF >
07:35 PM Lcvette: Ok, whatcha stuck on?
07:37 PM hazzy-m: the tool-prep-pocket and tool-prep-number values don't seem to be correct
07:38 PM hazzy-m: and they don't match from the NGC parameters and the HAL pins
07:39 PM Lcvette: Are you trying to rewrite the whole remap? Or just pull in data at the top of the original from Tyne tool table instead of vat file?
07:39 PM Lcvette: * Are you trying to rewrite the whole remap? Or just pull in data at the top of the original from The tool table instead of vat file?
07:39 PM Lcvette: * Are you trying to rewrite the whole remap? Or just pull in data at the top of the original from The tool table instead of var file?
07:40 PM hazzy-m: I have not changed anything at this point
07:40 PM hazzy-m: just trying to understand what data is available
07:40 PM hazzy-m: and seeing how it corisponds to the tool table data
07:41 PM Lcvette: The current tensions don't care about the toll table at all
07:41 PM Lcvette: * The current remaps don't care about the toll table at all
07:41 PM hazzy-m: right
07:41 PM Lcvette: They ate just writing to the var file
07:42 PM Lcvette: Might be easy to try and use the tool table data instead if the var data to start
07:42 PM Lcvette: Up top of toolchange.ngc
07:43 PM Lcvette: Define pockets 1-12 with table data
07:46 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/dqtyofDEJDlxgBRyzPMBCqBK >
07:47 PM hazzy-m: what would you put there instead?
07:47 PM Lcvette: $5190 is a persistent var parameter numbr
07:47 PM Lcvette: just some emptys we use to make it work
07:47 PM Lcvette: i would use the tool table
07:48 PM Lcvette: * #5190 is a persistent var parameter numbr
07:48 PM Lcvette: * #5190-#5201 is a persistent var parameter number block
07:48 PM Lcvette: or json ?
07:48 PM Lcvette: settings something that can be persistent
07:49 PM Lcvette: using the var file was oging to be iffy because of uncertain future use by linuxcnc of the var numbers and finding large enough blocks for bigger toolchangers
07:52 PM Lcvette: so maybe something like:
07:52 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/lZkWShSFJVYwEsvvwjmytbtm >
07:52 PM Lcvette: hazzy: ^^^
07:53 PM Lcvette: the tricky part is being able to grab the data from the tool table i think
07:54 PM Lcvette: * using the var file was going to be iffy because of uncertain future use by linuxcnc of the var numbers and finding large enough blocks for bigger toolchangers
07:55 PM Lcvette: im not sure how you name the tool table pocket numbers
07:55 PM Lcvette: i guess in this method the tool table would need to have the first block of tools always in pockets 1-12
07:56 PM Lcvette: and the remainder of the tools below that point?
07:56 PM Lcvette: not sure how that works
07:57 PM Lcvette: i think everything else would still work
07:57 PM hazzy-m: yes, the problem is getting the data from the tool table
07:57 PM Lcvette: oh, thought you were doing that already
07:57 PM Lcvette: needs to be bidrectional
07:58 PM Lcvette: remap needs to both read from and write to the tool table to keep it current
07:58 PM Lcvette: if that is not possible then this will not work
07:59 PM Lcvette: the var parameter block is constantly changing while in use with the remaps
07:59 PM Lcvette: is updated as tool changes are made
08:00 PM Lcvette: tracking the tool number in what par number
08:00 PM Lcvette: * tracking the tool number in what var number
08:00 PM Lcvette: * tracking the tool number in what var number
08:00 PM hazzy-m: its easy to write to the tool table
08:01 PM Lcvette: yeah?
08:01 PM Lcvette: how about the widget?
08:01 PM Lcvette: tool table widget
08:02 PM Lcvette: instead of reading from the file, could the columns and rows be made to be read?
08:02 PM Lcvette: like a line edit
08:02 PM Lcvette: or label etc
08:03 PM Lcvette: gets complicated
08:03 PM Lcvette: /o\
08:03 PM Lcvette: lol
08:06 PM Lcvette: turboss o/
08:06 PM Lcvette: any thoughts?
08:06 PM TurBoss: YO
08:07 PM TurBoss: * yo
08:07 PM Lcvette: yo
08:07 PM Lcvette: hazzy is trying to find how to reas from the tool table
08:08 PM Lcvette: any ideas?
08:08 PM TurBoss: πŸ˜•
08:10 PM Lcvette: ~o~
08:10 PM Lcvette: how about the widget?
08:13 PM hazzy-m: Lcvette: the sub files don'r read from the widgets, though it might seem that way
08:13 PM Lcvette: what are they readong from?
08:13 PM hazzy-m: when you push a sub call button IT reads the values from the widgets and passes them to the sub as parameters
08:14 PM Lcvette: yes
08:14 PM Lcvette: no different that the var file
08:14 PM hazzy-m: so this would not work for things like an M6 remap, since you can't pass parameters to it
08:14 PM Lcvette: right?
08:14 PM Lcvette: ah thats right
08:14 PM Lcvette: i keep forgetting
08:15 PM Lcvette: chris morley said that a python remap was a better option then rs274
08:15 PM Lcvette: would a python remap beable to read from a file?
08:15 PM hazzy-m: I think it is
08:15 PM hazzy-m: that's what I'm looking at now
08:15 PM Lcvette: lol
08:15 PM Lcvette: ok
08:16 PM hazzy-m: we can read from a tool table then
08:16 PM Lcvette: im just python illiterate
08:16 PM hazzy-m: and we might be able to even read from a database and not be limited to the standard tool table
08:16 PM Lcvette: so become little help
08:16 PM Lcvette: :o
08:16 PM Lcvette: like what renedev was trying to do?
08:19 PM Lcvette: could a python remap be able to put in settings from the gui to be setup for different machines or would each machine require a custom p[ython remap be written?
08:21 PM hazzy-m: IT COULD ABSOLUTELY PULL IN SETTINGS
08:21 PM hazzy-m: SORRY
08:21 PM hazzy-m: i CAN'T GET OUT OF CAPS LOL
08:21 PM Lcvette: WHY ARE YOU SCREAMING AT ME
08:21 PM Lcvette: lol
08:21 PM hazzy-m: the key was stuck down xD
08:21 PM Lcvette: hahaha
08:22 PM Lcvette: so then the whoe reason i fought a python remap was because i thought it would make others trying to use the atc function have to know python
08:22 PM hazzy-m: haha
08:22 PM Lcvette: but if there was a simple way to enter some settings for poket count and other settings etc then maybe its an even easier option
08:23 PM hazzy-m: we could have a YAML file for defining all the properties of the ATC
08:23 PM hazzy-m: with change position, num pockets, whether its random or not etc.
08:24 PM Lcvette: making it simple and easy and within the common non coders grasp is the intention for probe basic
08:24 PM Lcvette: i wanted to make sure it was able to be used as a tool for those who did not know coding
08:24 PM Lcvette: because i knew how fristrating for me it was
08:28 PM Lcvette: I would imagine there's already a full python ATC remap out there somewhere
08:51 PM D-Flo[m]: Did the tool table bug fix (: ToolTable - Fix error loading tool table with non space separated values) get pushed to the non-dev version?
08:51 PM Lcvette: Not yet
08:52 PM Lcvette: There is a other bug that popped up that needs addressing
08:52 PM D-Flo[m]: Is that related to the ATC?
08:52 PM Lcvette: No
08:53 PM D-Flo[m]: Sorry I am trying to follow along... Will the current fix allow me to use the table?
08:54 PM Lcvette: There is a bug that the fix made
08:56 PM D-Flo[m]: πŸ˜”
08:56 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/UAaiOFUEEqMWratFvYIRqGwb >
09:05 PM Lcvette: hazzy: any idea on the new bug?
09:05 PM Lcvette: or turboss?
09:12 PM * Lcvette uploaded an image: Screenshot_2020-02-23_22-04-54.png (49KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/AycjsNnoLFdIwEdyppNXTCap >
09:12 PM TurBoss: nothing there
09:12 PM Lcvette: seems there is nothing on line 159
09:12 PM Lcvette: ~o~
09:13 PM Lcvette: maybe something supposed to be there
09:13 PM Lcvette: looks like that line repeats
09:13 PM TurBoss: when does it trigger?
09:13 PM TurBoss: on boot?
09:14 PM * Lcvette uploaded an image: Screenshot_2020-02-23_22-06-50.png (25KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YPUYuWVlxugAQvSAPzkKYHFt >
09:14 PM Lcvette: noseems to trigger when you home the machine
09:14 PM Lcvette: and only happens if when started a tool is in the spindle
09:15 PM Lcvette: so maybe the tool load is what triggers it?
09:16 PM Lcvette: i made a video
09:16 PM Lcvette: did you see?
09:16 PM * Lcvette posted a file: error_with tool_in_spindle_at_startup.mkv (5495KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/aYZtTDRWdrgbClqJfKEXmsoo >
09:17 PM Lcvette: turboss ^^^
09:17 PM Lcvette: maybe something with the tool load hazzy did?
09:17 PM Lcvette: but i don't know where it is
09:19 PM TurBoss: when the error plops for the first time
09:19 PM TurBoss: can you paste the whole text?
09:20 PM Lcvette: don't understand
09:20 PM Lcvette: there is no pop up error its only in the temrinal
09:20 PM TurBoss: yes thats wha i need
09:20 PM TurBoss: the whole error
09:20 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/emknoCTBYbIAvEkvvnBFSnay >
09:21 PM Lcvette: this is the whole error
09:21 PM TurBoss: ok
09:21 PM Lcvette: i also noticed that the tool table formatting hazy did is not in the probe basic regular sim
09:22 PM Lcvette: only saw the changes to the tool table in the atc sim
09:22 PM Lcvette: i copied the tool table over from the atc sim to probe basic sim and renamed it wondering if that would resolve but it didn't
09:23 PM Lcvette: it also does on atc sim too so i think different thing maybe
09:38 PM TurBoss: I can't figure from where it comes
09:38 PM Lcvette: did you find?
09:38 PM Lcvette: no
09:38 PM Lcvette: :(
09:39 PM TurBoss1: nope
09:42 PM hazzy-m: I don't know where that comes from
09:42 PM Lcvette: /o\
09:42 PM Lcvette: ghost line 159
09:42 PM hazzy-m: its caused by an incorect format string in a LOG statemet
09:43 PM hazzy-m: probably too many values to log, or a string trying to be fornated as a float or something like that
09:43 PM hazzy-m: but I can't see what caused it
09:43 PM * hazzy-m uploaded an image: image.png (150KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/cGKnkBUXzDPsuhmdybMOeFhp >
09:43 PM hazzy-m: making a little progress
09:43 PM Lcvette: :o
09:43 PM Lcvette: you fopund a way?
09:44 PM hazzy-m: now it at least reads the pocket numbers from the tool table and sends the right ones to the NGC sub
09:44 PM Lcvette: \o/
09:44 PM hazzy-m: it says selected pockets is 10 in the terminal, which is the same as in the tool table
09:44 PM hazzy-m: so that is working
09:45 PM TurBoss: amazing!
09:45 PM hazzy-m: I think we can make this happen!
09:45 PM Lcvette: \o/
09:45 PM Lcvette: hurray!
09:45 PM hazzy-m: and we can keep the remap in NGC if you like Lcvette '
09:45 PM hazzy-m: will just pass it more parameters
09:45 PM Lcvette: either way
09:45 PM Lcvette: sounds good to me!
09:45 PM hazzy-m: like whether the tool is in the ATC or needs to be loaded manualy
09:46 PM Lcvette: probably be good to get it working in ngc and then muigrate to python
09:46 PM Lcvette: once a working format is in place
09:46 PM hazzy-m: we can even do all the complicated checks to determine the next available pocket in python, and then pass it to the NGC remap
09:46 PM Lcvette: that would be awesome to have that working for the manual tool change if csrousel full or tool not in atc
09:46 PM hazzy-m: will simplify the NCG part, but still leave it very flexable
09:46 PM Lcvette: fantastic!!!
09:47 PM Lcvette: so a mic of both
09:47 PM Lcvette: * so a mix of both
09:47 PM hazzy-m: yes
09:47 PM Lcvette: hybrid remap
09:47 PM Lcvette: :o
09:47 PM D-Flo[m]: πŸ™Œ
09:47 PM Lcvette: \o/
09:47 PM hazzy-m: complicated stuff in python, easy stuff that people will need to change for their specific machine in NGC
09:48 PM Lcvette: oh that would be perfect
09:48 PM D-Flo[m]: That’s the way us dummies like it!
09:48 PM hazzy-m: CNG = clean natural gas
09:48 PM hazzy-m: NGC = next generation control
09:48 PM hazzy-m: lol
09:48 PM Lcvette: will probably make the ngc stuff smaller and less complicated too no?
09:48 PM hazzy-m: D-Flo: lol
09:48 PM * hazzy-m must sleep
09:48 PM hazzy-m: Lcvette: much smaller
09:48 PM Lcvette: super aesome!
09:48 PM hazzy-m: gn8
09:48 PM Lcvette: get some sleep!!
09:48 PM Lcvette: night!
09:49 PM D-Flo[m]: Goodnight!
09:52 PM Lcvette: TurBoss: i wonder if the bug has always been there but is now coming to the surface because of the load tool in spindle at start up
09:52 PM Lcvette: do you know where that code is?
09:52 PM Lcvette: maybe something there is a clue?
09:53 PM TurBoss: I'm nuking every %
09:54 PM Lcvette: yeah?
09:54 PM * Lcvette uploaded an image: image.png (88KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LcZrJUoJsJLOxFUBXgDQxnrX >
09:56 PM TurBoss: no change
09:57 PM Lcvette: /o\
09:58 PM Lcvette: its infuriating
10:02 PM Lcvette: Can you make the error there?
10:57 PM Lcvette: My new riot app is buggy
11:04 PM TurBoss: yes?
11:04 PM TurBoss: why?
11:07 PM Lcvette: Keeps going blank with spinning wheel
11:07 PM Lcvette: But if i type or comes back
11:09 PM Lcvette: Yours doing that.
11:12 PM TurBoss1: didnt notice