#hazzy Logs

Mar 25 2020

#hazzy Calendar

12:01 AM TurBoss: CaptHindsight: I don't know yet
12:10 AM TurBoss: CaptHindsight: got iy
12:10 AM TurBoss: * CaptHindsight: got it
12:10 AM TurBoss: very easy
12:10 AM TurBoss: booting development machine
12:11 AM TurBoss: ```
12:11 AM TurBoss: pip install --user git+https://github.com/kcjengr/qtpyvcp-computer-vision.git
05:12 AM jthornton: morning
05:34 AM TurBoss: early morning
05:35 AM TurBoss: sup JT?
05:42 AM jthornton: not much just waking up
06:31 AM hazzy-m: morning
06:32 AM dremeier[m]1: good morning at all
06:47 AM TurBoss: morning hazzy dremeier (@dremeier:matrix.org)
06:47 AM TurBoss: hazzy: pip install widgets works
08:06 AM hazzy-m: TurBoss: hurray!
08:40 AM dremeier[m]1: hazzy: are you still working on the HalBarIndicator widget? What can I do to help?
08:43 AM hazzy-m: dremeier: it still needs to have the logic fixed for painting a bar with a negative value
08:43 AM hazzy-m: It’s a bit complicated to get it working right
08:44 AM hazzy-m: There is a branch if you want to have a look
09:24 AM roguish[m]: good morning once again.....
09:25 AM Lcvette: dremeier: how are you dpoing dremeier
09:26 AM Lcvette: * dremeier: how are you doing dremeier are through the corona virus
09:26 AM Lcvette: how is your son?
09:27 AM roguish[m]: nice morning out west.... http://12.201.135.206/Race%20Deck/siteproxy.html
10:08 AM 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.
10:13 AM 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:37 AM JT-Shop: hmm google searching works but none of the links work
02:21 PM Lcvette: ks lev droperdropper seat post sale
02:21 PM Lcvette: *
02:34 PM 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?
02:35 PM TurBoss: 15 days more
02:52 PM * ewildgoose[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/MpWmZcBvIqxCRrjxRzQLGMnD >
02:53 PM 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!
03:03 PM Lcvette: sounds like you have an older version
03:04 PM Lcvette: * @ewildgoose:matrix.org sounds like you have an older version
03:04 PM Lcvette: * @ewildgoose:matrix.org sounds like you have an older version
03:04 PM 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
05:18 PM 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.
05:18 PM ewildgoose[m]: Is there something significant to check to confirm I have latest master (and by latest do you mean master or another branch?)
05:20 PM ewildgoose[m]: But to be clear. The tool length SHOULD be based on machine coords and not workspace Z offset, yes?
05:25 PM ewildgoose[m]: A similar question please:
05:25 PM 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.
05:25 PM 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)
05:28 PM Lcvette: not sure i follow your last qiuestion
05:28 PM Lcvette: as for the latest check the touch off subroutine, it should have this in it..
05:29 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/BPRGoeIGotzRouJDHPRJxfqd >
05:30 PM Lcvette: @ewildgoose:matrix.org: if your touch off subroutine has this near the boittom then it is the latest
05:30 PM Lcvette: and again G59.3 MUST always be x0y0z0
05:30 PM hazzy-m: Hello
05:30 PM Lcvette: as for the touch plate, im not sure i undrstand what you are doing
05:30 PM Lcvette: perhaps you can snap a picture of it?
05:34 PM Lcvette: hazzy: o/
05:41 PM TurBoss: hello
06:02 PM jthornton: hi TurBoss
06:07 PM jthornton: my wine and beer came in today so I'm stocked up on everything that does not go bad quick
06:08 PM TurBoss: https://tinyfpga.com/
06:10 PM jthornton: interesting
06:11 PM TurBoss: arduino sized fpga
06:11 PM TurBoss: and its cheap
06:11 PM jthornton: hmm don't see the physical size of each one
06:13 PM jthornton: planted some tomato plants today that I've been keeping alive all winter
06:16 PM TurBoss: wow
06:17 PM * JT[m] uploaded an image: winter-tomatoes-01.jpg (627KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/niBbPZXOcgkKZWLLHaxNjRlk >
06:18 PM jthornton: been growing and cutting starters in the window
06:19 PM jthornton: been getting 1/2 size cherry tomatoes all winter
06:22 PM TurBoss: tomatoes ar good to hide
06:36 PM TurBoss: CaptHindsight: you arround?
06:36 PM TurBoss: we have external widgets working
06:50 PM CaptHindsight: will be soon
06:51 PM TurBoss: okay
06:57 PM CaptHindsight: let me know how to test them
06:58 PM CaptHindsight: I'll update and pip install --user git+https://github.com/kcjengr/qtpyvcp-computer-vision.git
06:58 PM TurBoss: yes
06:58 PM TurBoss: great
07:00 PM TurBoss: you can also pip install --user --upgrade git+https://github.com/kcjengr/qtpyvcp-computer-vision.git any time
07:01 PM CaptHindsight: I'll merge a real machine ini and Hal with a VCP later
07:01 PM TurBoss: now you where asking where is the code?
07:01 PM CaptHindsight: i saw the external plugin repo
07:01 PM TurBoss: this is a user install
07:02 PM TurBoss: no local code to edit
07:02 PM CaptHindsight: where does it need to be in your file system?
07:02 PM TurBoss: to be able to edit you need to clone anywhere
07:03 PM TurBoss: then navigate to that directory and issue "pip install --user --upgrade -e ."
07:03 PM CaptHindsight: OK, so if you want to edit VCP's then you need a local copy
07:03 PM TurBoss: this is what we call a dev install
07:03 PM CaptHindsight: OK
07:03 PM TurBoss: no
07:03 PM TurBoss: xD
07:03 PM TurBoss: you need a local copy to edit the opencv
07:03 PM TurBoss: this is also true for qtpyvcp
07:05 PM CaptHindsight: so this is true ^^ if you wish to edit
07:05 PM TurBoss: yes so you want to edit opencv widget
07:09 PM TurBoss: http://dpaste.com/1SNM1SK
07:10 PM TurBoss: ```
07:10 PM TurBoss: turboss@lcnc-dev:~/Proyectos/qtpyvcp-computer-vision/qtpyvcp_computer_vision/widgets$ ls
07:10 PM TurBoss: __init__.py opencv_widget.py
07:10 PM TurBoss: this is the file you will need to edit
07:42 PM CaptHindsight: I already had the dev install
07:42 PM CaptHindsight: where does this end up? pip install --user --upgrade git+https://github.com/kcjengr/qtpyvcp-computer-vision.git
07:59 PM hazzy-m: CaptHindsight: in your ./local/lib/python-sitepackages directory
07:59 PM CaptHindsight: why the pip install vs a git clone since I need to modify these files?
07:59 PM hazzy-m: don't edit anything there
08:00 PM CaptHindsight: so where do you edit?
08:00 PM hazzy-m: if you want to edit clone the repo and install with `pip install -e .`
08:00 PM hazzy-m: or what TurBoss said
08:01 PM CaptHindsight: he said what I did that you say not to :)
08:01 PM CaptHindsight: a nice flowchart here would be helpful
08:01 PM hazzy-m: TurBoss (@TurBoss:matrix.org)
08:01 PM hazzy-m: to be able to edit you need to clone anywhere
08:01 PM hazzy-m: then navigate to that directory and issue "pip install --user --upgrade -e ."
08:02 PM hazzy-m: that's the same command I gave, just not in shorthand format
08:02 PM hazzy-m: yeah, we need something like a flow chart
08:03 PM hazzy-m: it's so simple it tends to confuse people lol
08:03 PM hazzy-m: so if you dont need to edit any of the files then you can just install from the github URL using pip
08:03 PM hazzy-m: if you want to edit then you clone the repo, and then create what is called an editable install from that repo
08:05 PM 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
08:06 PM hazzy-m: does any of that make sense?
08:07 PM CaptHindsight: what you are telling me now makes sense but it is different than what was said before
08:07 PM CaptHindsight: I know it's difficult to put this into words, but I am trying to see how this all ties together
08:08 PM CaptHindsight: thanks
08:18 PM hazzy-m: TurBoss: wonder if we should be using namespace packages for the external widgets....
08:19 PM hazzy-m: then they could be imported as `qtpyvcp.widgets.computer_vision:OpenCVWidget` rather than `qtpyvcp_computer_vision:OpenCVWidget`
08:19 PM hazzy-m: for example