#hazzy | Logs for 2019-03-30
Back
[09:03:06] -!- logs has joined #hazzy
[09:03:07] -!- mode/#hazzy [+o logs] by ChanServ
[09:06:58] <Lcvette> JT: I misunderstood what you wanted, i figured you were wanting an interactive graphic
[09:07:11] <Lcvette> didn't know you were going to have a data box below it
[09:07:35] <JT[m]1> yea just need to show what each setting is for
[09:20:54] <Lcvette> how is everything setup? is it individual boxes or is the Drill Op data box unit
[09:43:40] <JT[m]1> not sure what you mean, but each Op is on a seperate page in the stacked widget
[09:52:52] <Lcvette> asking if everything is individual box entries or if they are built as a group
[09:53:31] <Lcvette> ie, is it a completed widget you import
[09:53:32] <JT[m]1> I still don't understand the question
[09:53:41] <JT[m]1> no
[09:53:42] <Lcvette> or do you build it individually in the gui
[09:53:56] <JT[m]1> it's just in the gui atm
[09:56:58] <JT[m]1> I've not figured out how to build something like that yet... need some hints from hazzy
[09:57:58] <JT[m]1> then I need to make a simple widget and figure out how to add it to the qt designer even though I did the other day for qwidget I forgot what I did... I'll look again
[09:58:30] <Lcvette> reason i was aksing is because i would like to use some of those
[09:58:31] <Lcvette> :D
[09:58:39] <Lcvette> but i wanna make them graphical interactive
[10:01:00] <JT[m]1> right now I have one keypad and all the buttons are in the same button group for every Op and there is a few pages of code to make it work
[10:01:14] <JT[m]1> what is graphical interactive?
[10:02:26] <Lcvette> just have the boxes on the graphic
[10:02:37] <Lcvette> for data entry
[10:02:51] <Lcvette> rather than the graphic and a seperate entry window with boxes
[10:03:28] <JT[m]1> also the entire conversational unit is tied together with code so the way it works is you setup the Op variables for each op you want and enable that Op then add the coordinates for the ops then generate the G code file
[10:03:40] <JT[m]1> I understand that now
[10:03:44] * Lcvette uploaded an image: Screenshot_2019-03-30_10-03-26.png (157KB) < https://matrix.org >
[10:04:16] <JT[m]1> you need a keypad, then the boxes need to be checkable
[10:04:30] <Lcvette> now that i see you have more boxes, i can design grpahical representation for what they all are and add more boxes
[10:04:55] <Lcvette> figured could have some buttons for the option items
[10:05:02] <Lcvette> peck drill etc
[10:05:14] <Lcvette> and they would maybe ungray a box
[10:05:20] <Lcvette> for data entry
[10:06:47] <JT[m]1> I might try and make a keypad for doing this, so you drag the keypad into the page and tell it what button group to monitor...
[10:07:04] <Lcvette> could we not use the vkp?
[10:07:19] <JT[m]1> dunno how it works
[10:07:51] <Lcvette> its not finished yet, but when you click in a box a vkp of whatever type you assign pops up
[10:08:05] <Lcvette> so if its a number pad the number pad pops up
[10:08:06] <JT[m]1> ah thats why I don't see it
[10:08:16] <JT[m]1> is that the huge keyboard?
[10:08:25] <Lcvette> thats one of them
[10:08:29] <Lcvette> but there are different ones
[10:08:51] <Lcvette> there are gcode vkp's and just small numpad vkp's
[10:09:19] <Lcvette> you can assign which pops up for the entry box
[10:09:19] <JT[m]1> I really don't care for pop up keypads that cover stuff up I might want to look at lol
[10:09:46] <Lcvette> but the data being entered is all thats important correct?
[10:09:53] <Lcvette> doesn't matter how it gets there right?
[10:10:07] * JT[m]1 goes to do a few things before going to town
[10:10:21] <Lcvette> or is the keypad you made special in some way that it is tied in somehow?
[10:10:37] <JT[m]1> yea it's special for sure
[10:10:54] <Lcvette> ok
[10:11:07] <JT[m]1> it knows where to put the data based on what box is selected
[10:12:07] <Lcvette> ok
[10:12:08] <Lcvette> i see
[10:12:13] <Lcvette> so the keypad is the brain
[10:12:35] <Lcvette> rather then the box groups
[10:14:48] <JT[m]1> the keypad groups send any keypress to to the keypad handler and also what button is pushed, the data button groups can be checked to see who is checked and because they are a group only one can be checked, then I use a dynamic property in the button that has the line entry name and read that to know where to put the keypress
[10:15:44] <Lcvette> ok
[10:15:45] <JT[m]1> in the data button group that has the line entry name...
[10:15:47] <Lcvette> im with you
[10:16:19] <JT[m]1> if a line entry or label was checkable I could use that without the button
[10:16:54] <JT[m]1> I'm guessing if you subclassed the qpushbutton you could make it look like a line entry...
[10:17:17] <Lcvette> ok
[10:17:32] <JT[m]1> but then you still need a lable telling you what it is so the button works for that
[10:18:27] <JT[m]1> the keypad is just regular buttons and I use the text of the button
[10:19:37] <Lcvette> so if a vkp were made the same way it would work
[10:21:01] <Lcvette> just make the same keypad but make it a pop up
[10:21:42] <Lcvette> i know for yours you like the industrial version but PB is more of a graphical interface
[10:21:49] <Lcvette> i think its good to have a variety
[10:22:44] <Lcvette> also yours is strictly touch screen where probe basic is really more designed to be universal as keyboard or touch
[10:22:59] <Lcvette> so the pop up vkb's are a necessary evil
[10:23:24] <JT[m]1> I do like where your going with the graphical
[10:24:04] <JT[m]1> for a keyboard input just selecting the line edit is good enough
[10:24:19] * JT[m]1 will be back in a bit
[10:24:25] <Lcvette> k
[10:48:59] * Lcvette uploaded an image: drill_dims_white.png (60KB) < https://matrix.org >
[12:17:01] * JT[m]1 uploaded a video: line-edit-focus.mp4 (34KB) < https://matrix.org >
[12:19:35] <Lcvette> nice!
[12:19:41] <Lcvette> the green highlight?
[12:22:37] * JT[m]1 sent a long message: < https://matrix.org >
[12:22:58] <JT[m]1> might work for your image with qlineedits
[12:23:05] <Lcvette> yeah for sure!
[12:23:10] <Lcvette> i use them in probe basic
[12:23:39] <JT[m]1> idea just popped in my head on the way home from town
[12:24:05] <JT[m]1> too bad you can't group a line edit...
[12:24:11] <Lcvette> hurray!
[12:24:44] <Lcvette> if you put it in a Qgroupbox?
[12:25:05] <JT[m]1> hmm, didn't think of that...
[12:25:12] <Lcvette> \o/
[12:25:22] <Lcvette> thats why there no i in team
[12:25:29] <Lcvette> \o/\o/\o/\o/\
[12:25:38] <Lcvette> :D
[12:26:29] <JT[m]1> but I don't think a group box works the same way as a button group but I'll test to see
[12:28:28] <JT[m]1> yea line edits are their own beast and only one can have focus on the page even if not in a group box
[12:32:32] <Lcvette> ok
[12:32:34] <Lcvette> thought
[12:33:00] <Lcvette> if you have a qlineedit feeding a qlabel
[12:33:21] <Lcvette> then the core program uses the qlabel for its magic?
[12:34:59] <JT[m]1> if you're using line edit and keyboard it greatly simplfies the process, you select each line edit and put the data in then the generate gcode will work like normal
[12:35:16] <JT[m]1> all the button group stuff is for touch screens only
[12:36:24] <Lcvette> im confused
[12:36:38] <Lcvette> when i say keypad im referring to the numberical keypad
[12:36:52] <Lcvette> are you referring to the buttons?
[12:37:02] <Lcvette> peck drill etc?
[12:38:49] * Lcvette uploaded an image: image.png (6KB) < https://matrix.org >
[12:38:49] <JT[m]1> what I'm saying is if you use a keyboard to type in the numbers after using the mouse to select the item and using the mouse to select options like peck drill and enable then you go to a coordinate screen and enter in the xy coordinates for each hole then go to the g code screen and assemble the g code by pressing on the buttons with your mouse
[12:39:24] <JT[m]1> keyboard = physical keyboard
[12:41:43] <JT[m]1> that image of the keypad is only needed for touch screens
[12:42:40] <Lcvette> but a mouse and regular keyboard works?
[12:42:52] <Lcvette> if thats the case then i don't see why a virtual keyboard wouldn't
[12:43:09] <Lcvette> unless im m,issing something
[12:43:42] <JT[m]1> it could work but you won't see what your typing if the virtual keyboard covers it up
[12:44:02] <Lcvette> it wouldn't
[12:44:13] <JT[m]1> in my touch screen the physical keyboard is not used
[12:44:21] <JT[m]1> they one I saw was huge lol
[12:44:29] <Lcvette> that was only one
[12:44:34] <Lcvette> and it was a full keyboard
[12:44:38] <Lcvette> there are many
[12:44:48] <Lcvette> and they can be assigned to specific entry boxes
[12:45:03] <JT[m]1> IMHO it's much better to just have the keypad for a touch screen in a fixed place than a pop up
[12:45:05] <Lcvette> if you only need numbers, your can assign only a small numerical pad like the one you have
[12:45:31] <Lcvette> JT, thats fine for a touchscreen only
[12:45:37] <Lcvette> but probe basic is either or
[12:45:51] <Lcvette> it needs provisions for both
[12:46:15] <JT[m]1> ah I thought it was keyboard only, that doubles the difficulty
[12:46:16] <Lcvette> pop up is the only way that will work
[12:46:20] <Lcvette> no
[12:46:49] <Lcvette> there will be a settings item to be able to turn the vkb's on/off
[12:47:41] * JT[m]1 lives in the "Show Me" state lol
[12:48:33] <Lcvette> sek
[12:54:33] <Lcvette> hell i can't remember where we put them now
[12:54:36] <Lcvette> its been so long since we were building them
[12:54:46] <Lcvette> they used to have their own branch
[12:54:48] <Lcvette> vkb
[12:56:31] <JT[m]1> I still see vkb on my local but dunno about remote
[12:57:21] <JT[m]1> yep it's still on remote too
[13:00:25] * Lcvette uploaded an image: Screenshot_2019-03-30_13-00-11.png (23KB) < https://matrix.org >
[13:00:51] <Lcvette> thats a gcode editor keyboard
[13:01:20] <JT[m]1> yea seen that one I think...
[13:01:54] <JT[m]1> seems to be missing a bunch of letters though... it would be huge if you had all the g and m code words
[13:03:39] <Lcvette> can add a button to go to a full keyboard also
[13:04:19] <Lcvette> that way you can minimize for 98% of the entering you do and when you have those oddball entries you just hit the expand to full keyboard button
[13:05:35] <Lcvette> i did a bunch of research on vkb back when we were toiling with them
[13:05:46] <Lcvette> lots of neat features you can do with them
[13:10:28] <Lcvette> you mesn put individual g codes on a vkb?
[13:10:30] <Lcvette> like G1, G2, G3 etc?
[13:10:39] <Lcvette> that wouldn't make much sense
[13:11:12] <Lcvette> it would be huge
[13:11:23] <Lcvette> it be hige if you had to make static buttons on a screen too
[13:11:25] <Lcvette> lol
[13:26:37] * Lcvette uploaded an image: drill_dim.png (65KB) < https://matrix.org >
[13:56:41] <Lcvette> o/
[14:17:17] -!- JT-Shop has quit [Read error: Connection reset by peer]
[14:18:18] -!- jthornton has quit [Read error: Connection reset by peer]
[14:19:01] -!- JT-Shop has joined #hazzy
[14:19:50] -!- jthornton has joined #hazzy
[14:41:31] -!- JT-Shop has quit [Read error: Connection reset by peer]
[14:42:02] -!- JT-Shop has joined #hazzy
[14:58:05] -!- jthornton has quit [Read error: Connection timed out]
[14:58:42] -!- jthornton has joined #hazzy
[15:33:27] -!- jthornton has quit [Read error: Connection reset by peer]
[15:33:48] -!- JT-Shop has quit [Read error: Connection reset by peer]
[15:33:54] -!- jthornton has joined #hazzy
[15:34:12] -!- JT-Shop has joined #hazzy
[15:45:54] <TurBoss> o/
[15:46:53] <Lcvette> \o/
[15:46:56] <TurBoss> :D
[15:46:58] <Lcvette> :D
[15:47:05] <Lcvette> o/ \o
[15:48:46] <Lcvette> turboss, did you test the fix?
[15:48:52] <TurBoss> no
[15:48:58] <Lcvette> :(
[15:50:20] <TurBoss> checking
[15:50:28] <Lcvette> \o/
[15:50:33] <Lcvette> hurray!
[15:57:59] <TurBoss> \o/
[15:58:13] <TurBoss> -o`
[15:58:32] <Lcvette> on gaurd
[15:58:44] <Lcvette> guard
[15:58:50] <TurBoss> engarde
[15:59:31] <Lcvette> same thing
[15:59:34] <Lcvette> :D
[16:32:49] -!- JT-Shop has quit [Read error: Connection reset by peer]
[16:32:52] -!- jthornton has quit [Read error: Connection reset by peer]
[16:33:24] -!- JT-Shop has joined #hazzy
[16:33:25] -!- jthornton has joined #hazzy
[16:38:56] * JT[m]1 uploaded a video: smart-mdi.mp4 (852KB) < https://matrix.org >
[16:45:20] <TurBoss> 👍
[16:56:14] <TurBoss> Lcvette: where does the remap stores what pocket to go?
[17:06:19] -!- JT-Shop has quit [Read error: Connection reset by peer]
[17:06:22] -!- jthornton has quit [Read error: Connection reset by peer]
[17:06:47] -!- JT-Shop has joined #hazzy
[17:06:51] -!- jthornton has joined #hazzy
[17:19:27] -!- persei8 has joined #hazzy
[17:21:22] <persei8> Is this where I can ask technical questions about qtpyvcp? I know you guys are busy so I hope you don't mind.
[17:21:34] <TurBoss> yes
[17:21:54] <TurBoss> feel free to ask!
[17:22:25] <persei8> OK thanks.
[17:23:11] <persei8> What I am trying to do is make the display of a DRO dependent on the state of a radio button, but can't figure out the rules editor.
[17:23:45] <persei8> I want to display either ABS, REL or DTG on the DRO depending on a radiobutton, similar to how gmoccapy does it.
[17:24:23] <persei8> I think I need some sort of signal that defines if a button is checked or not.
[17:25:12] <TurBoss> give me a sek
[17:26:01] <JT[m]1> well you could use a stacked widget like I do I'll show you a short video
[17:26:46] <persei8> OK
[17:27:30] <TurBoss> there is no signal to toggle that on the drowidget
[17:27:36] * JT[m]1 uploaded a video: dro.mp4 (84KB) < https://matrix.org >
[17:27:59] <Lcvette> yo turboss back
[17:28:54] <JT[m]1> persei8: what have you got so far? and how did you start the gui?
[17:29:22] <persei8> If there is no signal to change that, then I guess I need to select one of 3 widgets. This must be a stacked widget.
[17:29:59] <JT[m]1> persei8: I used status labels to build my dro not the dro widget
[17:30:04] <persei8> I have a complete panel like Probe Basic. Just making some changes to it. I start the gui with editvcp in a terminal.
[17:30:47] <Lcvette> probe basic uses status loabels as well
[17:31:05] <persei8> Yes, PB uses status labels, so I just want to select which position indicator to use.
[17:31:44] <persei8> But the selection has to be based on which radio button is checked.
[17:32:05] <JT[m]1> persei8: the three buttons in the video have a dynamic property called page (can be anything) and it is an int, I use that int to change pages on the stacked widget
[17:32:45] <persei8> OK, going to watch a video. :)
[17:32:58] <JT[m]1> def droChangePage(self, button):
[17:32:59] <JT[m]1> self.droStack.setCurrentIndex(button.property('page'))
[17:33:19] <JT[m]1> all buttons are in a button group
[17:33:38] <JT[m]1> self.droBtnGrp.buttonClicked.connect(self.droChangePage)
[17:33:58] <Lcvette> yup
[17:34:06] <Lcvette> that would be a good way to do it
[17:34:13] <Lcvette> or a tab widget
[17:34:46] <Lcvette> but that would put the selector in a defined imovable position
[17:35:22] <persei8> I think the video shows what I want to do. Hoping to not have to use any python code.
[17:36:50] <persei8> Are the pages on the stacked widget switched via the rules editor?
[17:38:11] * JT[m]1 uploaded a video: gmoccapy-dro.mp4 (321KB) < https://matrix.org >
[17:38:28] <JT[m]1> no the three lines above switch the pages
[17:38:35] <Lcvette> > [Lcvette](https://matrix.to/#/@lcvette:matrix.org): where does the remap stores what pocket to go?
[17:38:36] <Lcvette> not sure i understand this one fully, are you wanting to know where the tool is stored?
[17:39:20] <TurBoss> Lcvette: I want to know how to move the ATC following the sim
[17:39:26] <TurBoss> I can read hal pins
[17:39:54] <TurBoss> but cant read the var file to often
[17:40:36] <TurBoss> :P
[17:40:52] <Lcvette> the remap stores tools to pockets in voltatile memory until shutdown
[17:41:06] <Lcvette> when it saves them to the var file
[17:41:29] <TurBoss> how do I acces that memory?
[17:41:33] <TurBoss> :|
[17:41:44] <Lcvette> i don't know of a way
[17:41:55] <persei8> JT - can you possibly send me the .ui for that panel? I promise to delete it after I look at your implementation of the stacked widget.
[17:42:53] <TurBoss> its on the github
[17:42:55] <Lcvette> i think that was a problem hazzy couldn't figure out either
[17:43:15] <TurBoss> hmmmm
[17:43:23] <JT[m]1> https://github.com
[17:43:37] <persei8> OK, thank you all for the help.
[17:44:14] <TurBoss> you are welcome!
[17:45:27] -!- persei8 has quit [Quit: http://www.kiwiirc.com - A hand crafted IRC client]
[17:46:52] <JT[m]1> I almost got dizzy looking at gomaccappppy
[17:50:40] <Lcvette> yeah, i cant get used to gmoccapy
[17:55:14] <Lcvette> JT: for the stacked widgets, you just make some buttons for them and then assign them to the stacked widget page you want them to display?
[17:58:30] <JT[m]1> add a dynamic property to some qpushbuttons, I called it page and make it an int
[17:58:48] <JT[m]1> put the buttons in a button group
[17:59:06] <JT[m]1> self.droBtnGrp.buttonClicked.connect(self.droChangePage)
[17:59:27] <JT[m]1> def droChangePage(self, button):
[17:59:27] <JT[m]1> self.droStack.setCurrentIndex(button.property('page'))
[18:00:17] <JT[m]1> that code would go in probe_basic.py under init
[18:00:26] <Lcvette> ok
[18:01:23] <JT[m]1> so if you have three pages page one is 0 and page two is 1 etc
[18:01:43] <Lcvette> gotcha
[18:04:38] * JT[m]1 wanders out to git his Weihenstephan
[19:00:05] * JT[m]1 uploaded a video: hole-ops.mp4 (2629KB) < https://matrix.org >
[19:03:06] <TurBoss> wow
[19:05:36] <JT[m]1> did you like getting data from the MDI box?
[19:12:21] <Lcvette> nice JT!
[19:13:16] <JT[m]1> thanks
[19:13:29] <JT[m]1> did you get a stacked widget to work?
[19:15:49] <Lcvette> i decided to keep formatting consistent and stick with tabs
[19:16:36] <Lcvette> unless tabs won't work wioth the programming?
[19:21:27] <JT[m]1> what do you mean? for conversational?
[19:21:41] * JT[m]1 uploaded a video: tool-table.mp4 (98KB) < https://matrix.org >
[19:22:28] <Lcvette> yeah
[19:23:48] <JT[m]1> same syntax for the tab widget as the stacked widget to change pages
[19:24:24] <JT[m]1> but you don't need that to change pages in a tab widget you have the tabs lol
[19:25:47] <Lcvette> Right
[19:26:57] <Lcvette> I didn't know if changing pages with the fancy button carried information elsewhere for conversational or if it was just a page turner
[19:27:35] <jthornton> naw just a page selector
[19:28:31] <Lcvette> Cool
[19:29:14] <Lcvette> Are you thinking of adding any patterning to conversational
[19:29:23] <Lcvette> Linear or circular array
[19:30:21] <jthornton> the g code generator have that and engraving and a lot of stuff that can be added, just depends on your needs
[19:30:47] <jthornton> I never do any arrays of holes but engraving I do so I might add that
[19:30:48] <Lcvette> Ah
[19:43:28] -!- persei8 has joined #hazzy
[19:44:46] <Lcvette> turboss, question
[19:44:51] <TurBoss> yo
[19:44:55] <Lcvette> yo
[19:45:10] <Lcvette> i have two items, one instide the other
[19:45:29] <TurBoss> qml?
[19:45:30] -!- persei8 has quit [Client Quit]
[19:45:35] <Lcvette> i am styling the containing object and it is styling the object inside as well and i don't want it too
[19:45:45] <Lcvette> qt
[19:45:58] <TurBoss> qss?
[19:45:59] <Lcvette> qss
[19:46:44] * Lcvette uploaded an image: Screenshot_2019-03-30_19-46-28.png (15KB) < https://matrix.org >
[19:47:36] <Lcvette> when i fix the borders on verrtical tab, it changed the border on the contained tab that is horizontal also which doesn't work
[19:48:04] <Lcvette> ive looked online for a solution but all i have found don't work
[19:48:56] <TurBoss> how does your qss look?
[19:49:36] * Lcvette sent a long message: < https://matrix.org >
[19:51:19] <TurBoss> duno...
[19:51:41] <TurBoss> does the veritcalbuttons have an id?
[19:53:03] <Lcvette> i am trying to give the inner tabwidget its own qss now
[19:53:12] <Lcvette> didn't think to do that
[19:54:29] <Lcvette> hurray!
[19:54:32] <Lcvette> \o/
[20:04:00] <TurBoss> worked? hurray!
[20:04:11] <Lcvette> o/
[20:04:13] <Lcvette> :D
[20:09:31] <Lcvette> TurBoss: did you test yet?
[20:09:47] <TurBoss> I have something
[20:09:51] <TurBoss> I'll push
[20:10:00] <Lcvette> \o/
[20:10:24] <TurBoss> not finished
[20:11:55] <TurBoss> now requires manual reference the carousel firstr
[20:16:50] <TurBoss> OG<
[20:17:23] <Lcvette> OG<?
[20:18:23] <TurBoss> :)
[20:19:14] <Lcvette> whats OG<?
[20:19:23] <TurBoss> nothing
[20:23:11] <TurBoss> tryed ?
[20:25:39] <TurBoss> I'll stop for a while
[20:25:40] <Lcvette> yes
[20:25:45] <Lcvette> :D
[20:25:50] <TurBoss> this isnt goin well
[20:25:54] <Lcvette> work on pulses
[20:26:37] <TurBoss> I tryed reading the carousel comp status but isn't used lol
[20:26:45] <Lcvette> lol
[20:27:05] <Lcvette> what was the problem with the first way we were doing it?
[20:27:31] <TurBoss> it doesn't follow the remap movements
[20:27:37] <TurBoss> only M6 ones
[20:27:50] <Lcvette> ah
[20:29:07] <Lcvette> lcvette is brainstroming
[20:35:32] <Lcvette> turboss, can we make it work off of commands?
[20:35:46] <TurBoss> more details
[20:36:00] <Lcvette> all the commands are in the temrinal window
[20:36:41] <TurBoss> could but not sure how helps
[20:38:20] <Lcvette> what information are you not getting right now?
[20:40:24] <TurBoss> I need when the carousel starts moving and in wich direction and how many steps to move
[20:40:55] <TurBoss> in hal
[20:40:59] <Lcvette> can you use the commands sent from the remap?
[20:41:08] <Lcvette> that end up in the terminal?
[20:41:18] <Lcvette> M11 P# M12 P3
[20:41:21] <TurBoss> no they are just prints
[20:41:25] <Lcvette> P#
[20:42:05] <Lcvette> can't read prints?
[20:42:16] <Lcvette> asking because i don't know
[20:42:44] <TurBoss> no but we can set a pin from the remap
[20:42:49] <TurBoss> no?
[20:43:03] <Lcvette> maybe
[20:43:21] <Lcvette> ?
[20:43:35] <Lcvette> i know very little about hal stuff, im still learning it
[20:43:51] <Lcvette> i get lost when it becomes code stuff
[20:43:58] <TurBoss> easy
[20:44:13] <Lcvette> but its outputting mdi commands
[20:44:26] <Lcvette> it looks like
[20:44:43] <Lcvette> M11 P#
[20:44:49] <Lcvette> M12 P#
[20:44:52] <TurBoss> what you are seeing is the coments from the ngc files
[20:45:02] <TurBoss> lines ( )
[20:45:20] <TurBoss> whe need another pipe
[20:45:27] <TurBoss> using hal pins
[20:45:34] <TurBoss> I'll read a bit
[20:45:37] <Lcvette> oh
[20:47:05] <Lcvette> is qml missing a movement?
[20:47:17] <Lcvette> the numbers skip
[20:50:18] * Lcvette sent a long message: < https://matrix.org >
[20:50:54] <Lcvette> TurBoss: this is spitting out commands
[20:51:21] <Lcvette> o<M11> P5
[20:51:44] <Lcvette> thats the calculated movement
[20:51:49] <TurBoss> yes
[20:51:54] <TurBoss> we neeed that
[20:52:01] <TurBoss> the M10
[20:52:16] <Lcvette> the m10 is the calculation
[20:52:31] <Lcvette> the M11 P5 is the resulting command
[20:52:51] <TurBoss> or M12
[20:53:01] <Lcvette> M11 is rotate carousel fwd P5 is 5 steps
[20:53:04] <Lcvette> correct
[20:53:08] <TurBoss> yes
[20:53:14] <Lcvette> M10 just cal;culates the direction and steps
[20:53:16] <TurBoss> but that way you need 2 signals
[20:53:26] <TurBoss> m10 is just one signal
[20:53:33] <TurBoss> we can calculate it latter
[20:55:39] <TurBoss> but is a good point!
[20:56:00] * TurBoss sent a long message: < https://matrix.org >
[20:56:06] <TurBoss> look at the print
[20:56:14] <TurBoss> we need to send something there
[20:56:41] <Lcvette> yeah?
[20:56:42] <TurBoss> or use 2 signals doesn't matter
[20:56:44] <Lcvette> can do?
[20:56:53] <TurBoss> checking
[20:56:59] <Lcvette> i think if we can use two signals it may be easier
[20:57:06] <TurBoss> ok
[20:57:09] <Lcvette> that way we can use the buttons maybe easier?
[20:57:25] <Lcvette> since they are M11 P1 and M12 P1
[20:57:51] <TurBoss> i don't follow
[20:58:02] <Lcvette> may uncomplicate some of the peripheral connections
[20:58:25] <Lcvette> the atc fwd and atc rev buttons
[20:58:32] <Lcvette> they are just M11 and M12
[20:58:38] <TurBoss> is fine
[20:58:40] <TurBoss> no?
[20:59:42] <Lcvette> right now i get an error message
[21:00:28] * Lcvette uploaded an image: Screenshot_2019-03-30_21-00-08.png (27KB) < https://matrix.org >
[21:01:55] <TurBoss> thoose signals should be disconencted
[21:02:00] <TurBoss> in designer
[21:02:38] <Lcvette> ah ok
[21:05:28] <TurBoss> should be drived from the backend
[21:05:48] <Lcvette> should just be an mdi button
[21:05:53] <TurBoss> yes
[21:05:55] <Lcvette> M11
[21:05:57] <Lcvette> M12
[21:07:43] <Lcvette> but it looks like its working much better then it was before
[21:07:54] <Lcvette> except the qml is a bit off
[21:08:05] <TurBoss> yes
[21:08:11] <TurBoss> its all disconnected
[21:08:15] <Lcvette> but that is from the signals we are talking about
[21:08:17] <TurBoss> but sits there
[21:08:29] <Lcvette> sits where?
[21:08:33] <TurBoss> still*
[21:09:31] <Lcvette> mine moves
[21:09:41] <Lcvette> just the numbers skip
[21:10:05] <TurBoss> can we use m100?
[21:11:14] <Lcvette> m199-m999
[21:11:18] <Lcvette> can use
[21:11:26] <TurBoss> M100-199
[21:11:32] <TurBoss> user mcodes
[21:12:17] <Lcvette> \o/
[21:12:20] <Lcvette> hurray!
[21:12:28] <TurBoss> what?
[21:12:39] <Lcvette> we can use it then
[21:17:19] <TurBoss> I had an Idea
[21:17:32] <Lcvette> talk to me goose
[21:17:40] <Lcvette> o/ \o
[21:17:52] <TurBoss> not sure if could work
[21:18:16] <TurBoss> instead of m10 11 12 .ngc
[21:18:36] <Lcvette> :O
[21:18:41] <TurBoss> in the remap
[21:19:04] <TurBoss> I'll do a test
[21:19:11] <TurBoss> give me a second
[21:20:31] <TurBoss> ok I'll do M110
[21:22:36] <Lcvette> so you'll make a secondary output from the remap that sends a signal to M110
[21:22:40] <Lcvette> for the qml
[21:22:43] <TurBoss> ye
[21:22:48] <Lcvette> :D
[21:31:40] <roguish[m]> JT's Code Wizard.... yeah
[22:25:32] <TurBoss> Lcvette: you arround?
[22:25:59] <Lcvette> yes, standing by
[22:26:02] <Lcvette> \o/
[22:26:27] <TurBoss> how do I define the remap on the init
[22:26:31] <TurBoss> tried this:
[22:26:34] <TurBoss> ```
[22:26:35] <TurBoss> REMAP=M111 modalgroup=6 ngc=m111
[22:26:36] <TurBoss> REMAP=M112 modalgroup=6 ngc=m112
[22:27:04] <Lcvette> hmmm
[22:27:16] <Lcvette> sek let me try and remember its been a year
[22:30:05] <Lcvette> ```
[22:30:05] <Lcvette> REMAP=M111 modalgroup=6 argspec=p ngc=m111
[22:30:06] <Lcvette> REMAP=M112 modalgroup=6 argspec=p ngc=m112
[22:30:08] <Lcvette> ?
[22:30:14] <TurBoss> ok!
[22:30:39] <Lcvette> if its the same as M11 and M12 thats what they use
[22:30:54] <Lcvette> did you make an M111 and M112 ngc file it pulls from?
[22:30:59] <TurBoss> yup
[22:31:08] <Lcvette> \o/
[22:31:16] <TurBoss> seems to work
[22:31:19] <TurBoss> nedd to wire all
[22:32:37] <Lcvette> that worked?
[22:41:34] <TurBoss> I made the remaps in shell
[22:41:42] <TurBoss> ```#!/usr/bin/env bash
[22:41:43] <TurBoss> halcmd setp atc_widget.steps_cw $1
[22:41:44] <TurBoss> exit 0
[22:41:52] <TurBoss> this is for M111
[22:41:56] <TurBoss> or 12
[22:42:03] <TurBoss> well is the same
[22:42:22] <TurBoss> it works if manually run from terminal
[22:44:15] <Lcvette> yeah?
[22:44:19] <Lcvette> hurray!
[22:58:16] <TurBoss> hurray!
[23:09:27] <hazzy-m> o/
[23:09:31] <hazzy-m> WOW
[23:09:45] <hazzy-m> you all have been busy! Great work!
[23:10:13] <hazzy-m> JT's code generator is really impressive
[23:10:33] <TurBoss> HEY!
[23:10:44] <hazzy-m> hey!
[23:10:51] <TurBoss> almost broken
[23:10:55] <TurBoss> :)
[23:10:56] <hazzy-m> lol
[23:11:04] <TurBoss> I ended doing M111 and M112
[23:11:26] <TurBoss> to edit a hal pin from sub
[23:11:51] <hazzy-m> nice!
[23:11:52] <TurBoss> I'll push
[23:12:18] <Lcvette> o/
[23:12:23] <Lcvette> Hurray
[23:12:34] <Not-e6c6> [02qtpyvcp] 07TurBoss pushed 0315 commits to 03ATC_Remap [+3/-0/±29] 13https://git.io/fjk2c
[23:12:36] <Not-e6c6> [02qtpyvcp] 07Lcvette 03b920c10 - added tools to tool table for testing
[23:12:37] <Not-e6c6> [02qtpyvcp] 07TurBoss 0359f6dce - comment unused stuff
[23:12:39] <Not-e6c6> [02qtpyvcp] 07TurBoss 03dbe8844 - component part 1
[23:12:40] <Not-e6c6> [02qtpyvcp] ... and 12 more commits.
[23:12:43] <hazzy-m> so you can remap to a bash script?
[23:12:49] <TurBoss> yes
[23:12:56] <TurBoss> if is in your PATH
[23:13:00] <Lcvette> How is it turboss?
[23:13:02] <hazzy-m> wow, that is awesome!
[23:13:46] <TurBoss> you may need to copy M111 and M112 from macros to nc_files
[23:14:18] <Lcvette> They don't run in macros folder?
[23:14:21] <TurBoss> nop
[23:14:26] <TurBoss> not sure how
[23:14:32] <TurBoss> could be invesigated
[23:14:59] <Lcvette> K
[23:15:45] <Lcvette> Checking now
[23:16:02] <TurBoss> thanks
[23:17:42] <Lcvette> where do i need to copy the M111 and 112 files to?
[23:17:55] <TurBoss> linuxcnc/nc_files
[23:19:58] <Lcvette> still needs manual ref?
[23:20:16] <TurBoss> no
[23:21:38] <TurBoss> still pretty broke
[23:24:38] <Lcvette> not working here
[23:24:46] <Lcvette> maybe im doing something wrong?
[23:26:20] <Lcvette> TurBoss: any thoughts?
[23:26:35] <TurBoss> any errors on terminal?
[23:27:27] <Lcvette> no
[23:27:35] <Lcvette> tools are loading, but no spindle movements
[23:27:48] <TurBoss> did you copied the files?
[23:27:56] <TurBoss> can you check its properties
[23:27:57] <TurBoss> ?
[23:28:17] <Lcvette> it works for tool change but not when loading tools
[23:28:23] <TurBoss> ah
[23:28:33] <TurBoss> does rev buttons work?
[23:28:53] <Lcvette> no
[23:28:59] <Lcvette> fwd button does work
[23:29:02] <TurBoss> ok