#hazzy | Logs for 2020-03-25
Back
[00:04:58] <CaptHindsight> so how will one add these widgets if they wish to use them?
[00:05:42] <CaptHindsight> after installing qtypyvcp then git clone the https://github.com ?
[00:06:45] <CaptHindsight> and how about at runtime?
[00:07:59] <CaptHindsight> if you build a VCP using the computer vision widgets do you have to have the same repo installed?
[01:00:52] <TurBoss> CaptHindsight: I don't know yet
[01:06:25] -!- c-log has quit [Ping timeout: 250 seconds]
[01:06:52] <CaptHindsight> ok
[01:09:51] -!- c-log has joined #hazzy
[01:10:06] <TurBoss> CaptHindsight: got iy
[01:10:07] <TurBoss> * CaptHindsight: got it
[01:10:10] <TurBoss> very easy
[01:10:21] <TurBoss> booting development machine
[01:11:13] <TurBoss> ```
[01:11:13] <TurBoss> pip install --user git+https://github.com/kcjengr/qtpyvcp-computer-vision.git
[02:00:13] -!- c-log has quit [Ping timeout: 264 seconds]
[02:03:20] -!- c-log has joined #hazzy
[03:36:03] -!- jmarsac has joined #hazzy
[04:08:34] -!- c-log has quit [Ping timeout: 240 seconds]
[04:12:27] -!- c-log has joined #hazzy
[05:17:54] -!- c-log has quit [Ping timeout: 256 seconds]
[05:20:12] -!- c-log has joined #hazzy
[06:12:34] <jthornton> morning
[06:34:34] <TurBoss> early morning
[06:34:53] <TurBoss> sup JT?
[06:42:17] <jthornton> not much just waking up
[07:31:32] <hazzy-m> morning
[07:31:53] <dremeier[m]1> good morning at all
[07:47:06] <TurBoss> morning hazzy dremeier (@dremeier:matrix.org)
[07:47:38] <TurBoss> hazzy: pip install widgets works
[09:06:49] <hazzy-m> TurBoss: hurray!
[09:40:46] <dremeier[m]1> hazzy: are you still working on the HalBarIndicator widget? What can I do to help?
[09:43:09] <hazzy-m> dremeier: it still needs to have the logic fixed for painting a bar with a negative value
[09:43:40] <hazzy-m> It’s a bit complicated to get it working right
[09:43:56] <hazzy-m> There is a branch if you want to have a look
[09:57:58] -!- c-log has quit [Ping timeout: 265 seconds]
[10:01:10] -!- c-log has joined #hazzy
[10:01:10] -!- c-log has quit [Changing host]
[10:01:10] -!- c-log has joined #hazzy
[10:24:24] <roguish[m]> good morning once again.....
[10:25:49] <Lcvette> dremeier: how are you dpoing dremeier
[10:26:00] <Lcvette> * dremeier: how are you doing dremeier are through the corona virus
[10:26:11] <Lcvette> how is your son?
[10:27:32] <roguish[m]> nice morning out west.... http://12.201.135.206
[11:08:01] <dremeier[m]1> Lcvette: thanks for asking, my son if fine now, I'm almost fine. We only had a strong cold. But yes the corona makes a strange time here.
[11:13:09] <dremeier[m]1> hazzy: I had a look at the branch, but the behavior for negative values, as you said, and values are not zero is strange. This was working with the branch from TurBoss.
[11:38:37] -!- MovT_ has quit [Ping timeout: 246 seconds]
[12:37:28] <JT-Shop> hmm google searching works but none of the links work
[12:46:46] -!- TurBoss1 has quit [Ping timeout: 240 seconds]
[12:46:46] -!- daveland[m] has quit [Ping timeout: 240 seconds]
[12:46:46] -!- slakwhere[m] has quit [Ping timeout: 240 seconds]
[12:46:46] -!- mrteeman[m] has quit [Ping timeout: 240 seconds]
[12:46:47] -!- ewildgoose[m] has quit [Ping timeout: 240 seconds]
[12:46:58] -!- karamo[m] has quit [Ping timeout: 256 seconds]
[12:46:58] -!- renatok[m] has quit [Ping timeout: 256 seconds]
[12:46:58] -!- torax[m] has quit [Ping timeout: 256 seconds]
[12:46:58] -!- JackDavies[m] has quit [Ping timeout: 256 seconds]
[12:46:58] -!- Ragna[m] has quit [Ping timeout: 256 seconds]
[12:46:59] -!- Hendrik[m] has quit [Ping timeout: 256 seconds]
[12:46:59] -!- MebOli[m] has quit [Ping timeout: 256 seconds]
[12:47:00] -!- gabriel[m] has quit [Ping timeout: 256 seconds]
[12:47:06] -!- hazzy-m has quit [Ping timeout: 240 seconds]
[12:47:06] -!- hobbyFrs[m] has quit [Ping timeout: 240 seconds]
[12:47:06] -!- nug45[m] has quit [Ping timeout: 240 seconds]
[12:47:06] -!- tritao[m] has quit [Ping timeout: 240 seconds]
[12:47:26] -!- dremeier[m]1 has quit [Ping timeout: 240 seconds]
[12:47:32] -!- marklenderingGit has quit [Ping timeout: 256 seconds]
[12:47:32] -!- sandra[m]2 has quit [Ping timeout: 256 seconds]
[12:47:32] -!- M_discord_bot[m7 has quit [Ping timeout: 256 seconds]
[12:49:44] -!- JackDavies[m] has joined #hazzy
[12:49:46] -!- sandra[m]2 has joined #hazzy
[12:50:07] -!- ewildgoose[m] has joined #hazzy
[12:50:29] -!- slakwhere[m] has joined #hazzy
[12:52:21] -!- tritao[m] has joined #hazzy
[12:54:50] -!- gabriel[m] has joined #hazzy
[12:59:13] -!- MebOli[m] has joined #hazzy
[12:59:31] -!- hazzy-m has joined #hazzy
[13:00:40] -!- marklenderingGit has joined #hazzy
[13:01:09] -!- mrteeman[m] has joined #hazzy
[13:01:31] -!- TurBoss1 has joined #hazzy
[13:02:30] -!- Hendrik[m] has joined #hazzy
[13:02:44] -!- M_discord_bot[m7 has joined #hazzy
[13:03:52] -!- torax[m] has joined #hazzy
[13:04:07] -!- renatok[m] has joined #hazzy
[13:04:21] -!- dremeier[m]1 has joined #hazzy
[13:04:21] -!- hobbyFrs[m] has joined #hazzy
[13:04:33] -!- karamo[m] has joined #hazzy
[13:06:47] -!- daveland[m] has joined #hazzy
[13:07:32] -!- nug45[m] has joined #hazzy
[13:07:33] -!- Ragna[m] has joined #hazzy
[15:21:21] <Lcvette> ks lev droperdropper seat post sale
[15:21:33] <Lcvette> *
[15:34:35] <ewildgoose[m]> Hello folks. Hope everyone is alive and well? Just entered lockdown here in the UK, but better luck than some other countries... TurBoss are you in Spain? Best wishes, news doesn't seem as happy there?
[15:35:40] <TurBoss> 15 days more
[15:52:10] * ewildgoose[m] sent a long message: < https://matrix.org >
[15:53:35] <ewildgoose[m]> TurBoss my feeling is this is going to meander along for months... Prepare for the long haul... Espero que estés bien? Suerte!
[16:03:47] <Lcvette> sounds like you have an older version
[16:04:21] <Lcvette> * @ewildgoose:matrix.org sounds like you have an older version
[16:04:39] <Lcvette> * @ewildgoose:matrix.org sounds like you have an older version
[16:04:44] <Lcvette> @ewildgoose:matrix.org: the latest version does not discriminate of which offset you are in but offset 59.3 MUST always be 0,0,0
[16:47:53] -!- jmarsac has quit [Read error: Connection reset by peer]
[18:18:50] <ewildgoose[m]> Thanks. I did try to be sure I'm on latest... Roughly I (re) followed your dev instructions and re-pulled git for both projects. Suspected my subroutines folder was wrong and pointed it at the git version.
[18:18:50] <ewildgoose[m]> Is there something significant to check to confirm I have latest master (and by latest do you mean master or another branch?)
[18:20:29] <ewildgoose[m]> But to be clear. The tool length SHOULD be based on machine coords and not workspace Z offset, yes?
[18:25:04] <ewildgoose[m]> A similar question please:
[18:25:04] <ewildgoose[m]> I've got a simple touch probe. Just a piece of metal that triggers when the tool connects to it. I use it to touch off the Z on the material. When I use the probe screens this seems to mostly function as desired as long as I set the probe tool to same as current tool. However it doesn't factor in the thickness of the touch plate.
[18:25:04] <ewildgoose[m]> Is this a current use case that's anticipated? (If not I think I can see how it can be added. Really it's somewhat orthogonal to the probing stuff)
[18:28:19] <Lcvette> not sure i follow your last qiuestion
[18:28:41] <Lcvette> as for the latest check the touch off subroutine, it should have this in it..
[18:29:42] * Lcvette sent a long message: < https://matrix.org >
[18:29:59] <Lcvette> @ewildgoose:matrix.org: if your touch off subroutine has this near the boittom then it is the latest
[18:30:11] <Lcvette> and again G59.3 MUST always be x0y0z0
[18:30:18] <hazzy-m> Hello
[18:30:40] <Lcvette> as for the touch plate, im not sure i undrstand what you are doing
[18:30:48] <Lcvette> perhaps you can snap a picture of it?
[18:34:23] <Lcvette> hazzy: o/
[18:41:30] <TurBoss> hello
[19:01:59] <jthornton> hi TurBoss
[19:07:05] <jthornton> my wine and beer came in today so I'm stocked up on everything that does not go bad quick
[19:08:49] <TurBoss> https://tinyfpga.com
[19:09:54] <jthornton> interesting
[19:11:01] <TurBoss> arduino sized fpga
[19:11:07] <TurBoss> and its cheap
[19:11:27] <jthornton> hmm don't see the physical size of each one
[19:13:34] <jthornton> planted some tomato plants today that I've been keeping alive all winter
[19:15:57] <TurBoss> wow
[19:17:49] * JT[m] uploaded an image: winter-tomatoes-01.jpg (627KB) < https://matrix.org >
[19:18:20] <jthornton> been growing and cutting starters in the window
[19:19:28] <jthornton> been getting 1/2 size cherry tomatoes all winter
[19:22:30] <TurBoss> tomatoes ar good to hide
[19:35:53] <TurBoss> CaptHindsight: you arround?
[19:36:22] <TurBoss> we have external widgets working
[19:50:17] <CaptHindsight> will be soon
[19:51:26] <TurBoss> okay
[19:57:27] <CaptHindsight> let me know how to test them
[19:57:57] <CaptHindsight> I'll update and pip install --user git+https://github.com/kcjengr/qtpyvcp-computer-vision.git
[19:58:22] <TurBoss> yes
[19:58:27] <TurBoss> great
[20:00:48] <TurBoss> you can also pip install --user --upgrade git+https://github.com/kcjengr/qtpyvcp-computer-vision.git any time
[20:01:19] <CaptHindsight> I'll merge a real machine ini and Hal with a VCP later
[20:01:24] <TurBoss> now you where asking where is the code?
[20:01:47] <CaptHindsight> i saw the external plugin repo
[20:01:51] <TurBoss> this is a user install
[20:01:57] <TurBoss> no local code to edit
[20:02:02] <CaptHindsight> where does it need to be in your file system?
[20:02:16] <TurBoss> to be able to edit you need to clone anywhere
[20:02:52] <TurBoss> then navigate to that directory and issue "pip install --user --upgrade -e ."
[20:03:00] <CaptHindsight> OK, so if you want to edit VCP's then you need a local copy
[20:03:11] <TurBoss> this is what we call a dev install
[20:03:19] <CaptHindsight> OK
[20:03:29] <TurBoss> no
[20:03:32] <TurBoss> xD
[20:03:36] <TurBoss> you need a local copy to edit the opencv
[20:03:43] <TurBoss> this is also true for qtpyvcp
[20:04:59] <CaptHindsight> so this is true ^^ if you wish to edit
[20:05:30] <TurBoss> yes so you want to edit opencv widget
[20:09:09] <TurBoss> http://dpaste.com
[20:09:57] <TurBoss> ```
[20:09:57] <TurBoss> turboss@lcnc-dev:~/Proyectos/qtpyvcp-computer-vision/qtpyvcp_computer_vision/widgets$ ls
[20:09:57] <TurBoss> __init__.py opencv_widget.py
[20:10:09] <TurBoss> this is the file you will need to edit
[20:42:00] <CaptHindsight> I already had the dev install
[20:42:27] <CaptHindsight> where does this end up? pip install --user --upgrade git+https://github.com/kcjengr/qtpyvcp-computer-vision.git
[20:59:12] <hazzy-m> CaptHindsight: in your ./local/lib/python-sitepackages directory
[20:59:31] <CaptHindsight> why the pip install vs a git clone since I need to modify these files?
[20:59:45] <hazzy-m> don't edit anything there
[21:00:01] <CaptHindsight> so where do you edit?
[21:00:30] <hazzy-m> if you want to edit clone the repo and install with `pip install -e .`
[21:00:36] <hazzy-m> or what TurBoss said
[21:00:54] <CaptHindsight> he said what I did that you say not to :)
[21:01:16] <CaptHindsight> a nice flowchart here would be helpful
[21:01:42] <hazzy-m> TurBoss (@TurBoss:matrix.org)
[21:01:42] <hazzy-m> to be able to edit you need to clone anywhere
[21:01:42] <hazzy-m> then navigate to that directory and issue "pip install --user --upgrade -e ."
[21:02:08] <hazzy-m> that's the same command I gave, just not in shorthand format
[21:02:38] <hazzy-m> yeah, we need something like a flow chart
[21:02:58] <hazzy-m> it's so simple it tends to confuse people lol
[21:03:23] <hazzy-m> so if you dont need to edit any of the files then you can just install from the github URL using pip
[21:03:49] <hazzy-m> if you want to edit then you clone the repo, and then create what is called an editable install from that repo
[21:05:42] <hazzy-m> instead of copying the files to your sire-packages dir like pip would usually do it creates something called a egg link to link your local dev repo to the site-package
[21:06:32] <hazzy-m> does any of that make sense?
[21:06:55] <CaptHindsight> what you are telling me now makes sense but it is different than what was said before
[21:07:40] <CaptHindsight> I know it's difficult to put this into words, but I am trying to see how this all ties together
[21:08:38] <CaptHindsight> thanks
[21:17:55] <hazzy-m> TurBoss: wonder if we should be using namespace packages for the external widgets....
[21:19:16] <hazzy-m> then they could be imported as `qtpyvcp.widgets.computer_vision:OpenCVWidget` rather than `qtpyvcp_computer_vision:OpenCVWidget`
[21:19:23] <hazzy-m> for example