#hazzy Logs

Jan 21 2020

#hazzy Calendar

04:53 AM jthornton: morning
05:41 AM hazzy-m: morning
07:32 AM Lcvette: morning
07:46 AM Lcvette: turboss morning!
07:46 AM Lcvette: did you see the video?
07:48 AM Lcvette: i have a question, when everything was connected in hal wasn't it using signals from the sensors to move the carousel?
07:48 AM Lcvette: an index pulse would move it one pcoket etc?
07:49 AM Lcvette: which is the whole reason we needed the simulator for those signals to be fed back?
07:50 AM Lcvette: * an index pulse would move it one pocket etc?
07:50 AM Lcvette: * which was the whole reason we needed the simulator for those signals to be fed back?
10:18 AM roguish[m]: good morning all.....
11:07 AM jthornton: morning
01:32 PM TurBoss: morning!
01:32 PM TurBoss: o/
01:32 PM Lcvette: morning!
01:46 PM TurBoss: I think we should go adelante like alicante people
01:46 PM TurBoss: finish the new message
01:46 PM TurBoss: stuff
02:00 PM Lcvette: ok
02:01 PM Lcvette: TurBoss: but i think if a problem exists in the old method it may be easier to fix there
02:01 PM Lcvette: that way it doesn't present with the message method
02:02 PM Lcvette: otherwise you won't be able to discern where the issue is originating from i would think or at least not s easy
02:02 PM TurBoss: is wome way the atc vismach broke
02:02 PM Lcvette: or trying to make the new messages work you may spend time trying to fix that when the issue lies elsewhere
02:08 PM TurBoss: so...
02:08 PM TurBoss: then we have to fix tha vismachon master
02:36 PM Lcvette: yes i think so
02:36 PM Lcvette: sorry running between things
02:36 PM Lcvette: im ghere now though
02:36 PM TurBoss: I'm taking a look too
02:38 PM dremeier[m]: Hello everyone, I´m new here and from Germany, so sorry if my english is´n the best🤦 .
02:38 PM dremeier[m]: Today I installes probe_basic and the Qtdesigner, and here the ATC also does not work at all, no reference possible.
02:39 PM TurBoss: hello dremeier , you need to use the atcsim config
02:39 PM Lcvette: is bnroken for now but when it is working it requires you run the atc_sim config
02:39 PM TurBoss: as Lcvette said we are currently working on fix it
02:40 PM dremeier[m]: I loaded the vmc_index_metric.ini
02:41 PM dremeier[m]: just want to confirm that is not working here as well, thank for your great work TurboBoss
02:41 PM TurBoss: :) thanks
02:43 PM TurBoss: kudo go for Lcvette
02:43 PM TurBoss: * kudos go for Lcvette
02:47 PM dremeier[m]: there are two repros one is from kcjengr and the other from Turboboss, what are the diferrends?
02:49 PM TurBoss: https://github.com/kcjengr/qtpyvcp/ <--- the framework
02:49 PM TurBoss: https://github.com/kcjengr/probe_basic <--- an User interface
02:49 PM Lcvette: :D
02:49 PM TurBoss: both are from kcjengr
02:49 PM TurBoss: https://github.com/kcjengr <--- official repo
02:50 PM Lcvette: turboss was irreplacable for the atc stuff and many other widgets such as offset table tool table and file page!
02:50 PM dremeier[m]: ok thanks, nice to know🙏
02:50 PM TurBoss: you are welcome!
02:50 PM Lcvette: \o/
02:52 PM hazzy-m: dremeier: welcome!
02:54 PM * hazzy-m at this rate needs to learn to spraken the Dutch
02:54 PM TurBoss: you should allready know lol
02:54 PM TurBoss: :P
02:54 PM dremeier[m]: Dutch is not Gereman🤣
02:55 PM TurBoss: 😲
02:55 PM dremeier[m]: Dutch is from the Netherlands
02:55 PM Lcvette: deutsche
02:55 PM Lcvette: ?
02:56 PM dremeier[m]: yes man 🤣
02:56 PM TurBoss: brb food
02:57 PM Lcvette: k
02:57 PM * hazzy-m is lost
02:57 PM Lcvette: im here
02:57 PM hazzy-m: dremeier: what does the selected tab mean? I’d greatly appreciated a translation
02:57 PM dremeier[m]: deutsche Sprache, schwere Sprache👌 🤣
02:57 PM hazzy-m: Oops, wrong deutsch
02:57 PM Lcvette: hazzy did you find anything last night?
02:58 PM * dremeier[m] uploaded an image: basis.PNG (222KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/RQNbhBYzlVZvUgsmNKyirjIB >
02:58 PM dremeier[m]: this is my goal to reach with the qtpyvcp
02:59 PM dremeier[m]: @hazzy, what du you mean by: " selected tab mean?"
03:00 PM hazzy-m: dremeier: what part of Germany are you in? I work for a company based in Munich
03:00 PM dremeier[m]: Im far in the North of Germany, Citty Bremen, Munich is 800 to the south.
03:01 PM dremeier[m]: ^^km
03:01 PM dremeier[m]: 600miles
03:03 PM hazzy-m: Oh, endCNC is also in Bremen
03:03 PM hazzy-m: He also uses QtPyVCP
03:03 PM hazzy-m: I’m trying to translate some German machine control software, I sent a picture but it’s not going thru
03:06 PM dremeier[m]: I know Sebastian, a friend of me
03:06 PM dremeier[m]: you can send me via Email?
03:13 PM * hazzy-m uploaded an image: ima_af3fbda.jpeg (213KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QrzHIIIWdkWDvcVhrJsmYnOc >
04:30 PM Lcvette: turboss is back at dev yet?
04:34 PM * hazzy-m is on dev from work lol
04:44 PM Lcvette: \o/
04:44 PM Lcvette: can you look at the vismach and see if you see anything broken hazzy?
04:58 PM dremeier[m]: Im just to go true the tutorial. pls, where do I find the "Rules Editor"?
04:58 PM dremeier[m]: Im just going true the tutorial. pls, where do I find the "Rules Editor"?
05:17 PM Lcvette: how do i know if i have administraor rights on my l;inux system?
05:17 PM Lcvette: and how do i get them if i don't
05:17 PM Lcvette: im tired of my touch screen stopping working and wanted to be sure i follow the instructions precisly this time
05:18 PM Lcvette: hazzy or turboss ^^^
05:19 PM dremeier[m]: where, on the desktop or in the terminal?
05:19 PM Lcvette: in temrinal
05:19 PM dremeier[m]: If you are root you have Admin rights
05:19 PM dremeier[m]: sudo su
05:20 PM dremeier[m]: the passwd and you are root
05:20 PM Lcvette: chris@chris:~$ sudo su
05:20 PM Lcvette: [sudo] password for chris:
05:20 PM Lcvette: root@chris:/home/chris#
05:20 PM dremeier[m]: 👌
05:20 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/lrywHaGWcUdBzbbFNTSnsxBG >
05:21 PM Lcvette: now im good to begin installation?
05:21 PM dremeier[m]: jupp äähm Yes
05:21 PM Lcvette: do i need to still do sudo one lines that call for it?
05:21 PM Lcvette: * do i need to still do sudo on lines that call for it?
05:21 PM dremeier[m]: nope
05:21 PM Lcvette: ok great!
05:21 PM Lcvette: gonna try it
05:22 PM dremeier[m]: good luck
05:23 PM Lcvette: thanks!
05:24 PM dremeier[m]: you are wellcome👍
05:24 PM dremeier[m]: You had success?
05:26 PM dremeier[m]: pls, If you see some major error in my english, corred me
05:28 PM dremeier[m]: *edit:* ~~you are wellcome👍~~ -> you are welcome👍
05:36 PM dremeier[m]: do you know how i can change the backround color of the MainWindow?
05:52 PM jthornton: background-color #somevalidcolor; in the stylesheet
05:53 PM dremeier[m]: I tried but nothing happend
05:53 PM jthornton: tried what, where
05:56 PM * dremeier[m] uploaded an image: Anmerkung_2020-01-22_004810.jpg (335KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/vSniKxXjcDMmejsZfCeykeKZ >
05:58 PM jthornton: in the stylesheet you don't use the syntax from a qss file just use the add color and select background color
05:59 PM hazzy-m: dremeier: for some reason the QMainWindow selector is not working for me either
06:00 PM hazzy-m: what you did should work
06:01 PM hazzy-m: https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow
06:01 PM * dremeier[m] uploaded an image: Anmerkung_2020-01-22_005410.jpg (188KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/YRqUqAAmkxDKcHaClnHvZufH >
06:01 PM dremeier[m]: like this?, also nothing happend
06:01 PM hazzy-m: but they don't show it as an example here ...
06:02 PM hazzy-m: yes, I would thing either way would work
06:02 PM Lcvette: for probe basic?
06:02 PM jthornton: I think its background-color
06:02 PM Lcvette: sorry was deep in temrinal concentration
06:02 PM jthornton: I need to connect the monitor up to the other pc
06:02 PM dremeier[m]: It just a test vcp, out of the tutorial
06:02 PM hazzy-m: you could try selecting based on the widget name `#my_main_window { background: red }`
06:02 PM Lcvette: oh
06:03 PM Lcvette: in probe basic i think its in qss
06:03 PM Lcvette: maybe the same thing here
06:03 PM Lcvette: look in the qss file and see if its defined there
06:03 PM Lcvette: sometimes if it is it over writes what you can do in the designer from the properties manager
06:04 PM Lcvette: unless you use some magic
06:04 PM hazzy-m: would having the QSS file on a file watcher make dev work easier? it would automatically update the style then the QSS file is saved
06:04 PM Lcvette: you asking me?
06:04 PM jthornton: I'm not sure what has the last say for stylesheets?
06:04 PM hazzy-m: everyone :)
06:04 PM Lcvette: i used to hate qss
06:04 PM Lcvette: but now i see its value
06:05 PM hazzy-m: whatever is most specific
06:05 PM Lcvette: but for a new comer trying to do things in the designer it does pose some interesting dilemas with what is in control of what
06:05 PM hazzy-m: the a stylesheet set on a specific widget (e.g. in designer) will override any styles from a global style sheet
06:06 PM dremeier[m]: you are right😇 😩
06:06 PM Lcvette: i remember trying to change something in style sheet in the designer over and over thinking the syntac was wrong only to finally find it in the qss that wouldn't allow designer to show a change
06:06 PM hazzy-m: it you have a widget inside another widget and both have style sheets set in designer, the one style that is applied on the child will be used
06:06 PM Lcvette: yes if you know how to do that
06:06 PM * jthornton goes back to changing the user name for the coop control
06:06 PM Lcvette: or that you CAN do that
06:06 PM Lcvette: .QFrame etc
06:07 PM Lcvette: but i did not discover that until after tons of time and fristrations had passed by
06:07 PM Lcvette: lol
06:07 PM hazzy-m: dremeier: did you get it to work?
06:07 PM * hazzy-m goes to the dev PC to test
06:07 PM dremeier[m]: nope, Im confused
06:07 PM * hazzy-m is too :)
06:07 PM Lcvette: which test vcp?
06:08 PM dremeier[m]: https://www.qtpyvcp.com/tutorials/basic_vcp_03.html
06:08 PM dremeier[m]: from that tutorial
06:08 PM dremeier[m]: I also tried to do that in probe_basic
06:09 PM jthornton: probe basic may have some .qss file that overrides that
06:09 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/iRPhVgQexyPjbPeCRudRvQWf >
06:10 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/RcuvYYvrstIyPrjvmNFoklMo >
06:10 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/izXJlHyiSlkMgWxkpukJqTwd >
06:10 PM Lcvette: how coime thats not working?
06:11 PM Lcvette: If systemd init system is active, copy and enable the elo.service systemd script to load the elo driver at startup. Proceed to Step VI of the installation.
06:11 PM Lcvette: does this stuff above say systeminitd is active?
06:12 PM dremeier[m]: I got I working by put it in the Syle.css "QMainWindow {
06:12 PM dremeier[m]: background: #2e3436
06:12 PM dremeier[m]: }"
06:12 PM Lcvette: perfect!
06:12 PM * dremeier[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/WhtoPuPROKmMXwctAxuOsvgv >
06:13 PM dremeier[m]: let me read you problem ....
06:15 PM dremeier[m]: I don´tt understand what this should do : cp ./elo_mt_input_mod.ko ../elo_mt_input_mod_uname -r.ko
06:16 PM Lcvette: me either
06:16 PM Lcvette: im just copying and pasting in temrinal
06:16 PM Lcvette: lol
06:16 PM dremeier[m]: normaly you copy with : #cp -r /.../.. to /../
06:16 PM dremeier[m]: can you give me the link?
06:16 PM Lcvette: https://assets.ctfassets.net/of6pv6scuh5x/3YNQgJhGpWGOA2WoISSuES/3e8c02f8c0c22752580b47a53d643270/Linux_Multi_Touch_2.5.0_64-bit_installation.pdf
06:20 PM dremeier[m]: ok first try: apt install libusb
06:20 PM dremeier[m]: If it is installed fine!
06:21 PM dremeier[m]: where ist the folder with the binary?
06:23 PM Lcvette: installed and working!
06:23 PM Lcvette: :D
06:24 PM dremeier[m]: woe great, you are the best!
06:24 PM dremeier[m]: wow great, you are the best!
06:29 PM Lcvette: lol.. not sure about that one
06:29 PM Lcvette: lol
06:29 PM dremeier[m]: 🤣 😇
06:50 PM Lcvette: turboss, do you remember if i installed the last release on the machine and thats when we discovered that the vismach is broken?
06:51 PM Lcvette: so the last release we just did would still work on the machine?
06:51 PM Lcvette: i can't remember
06:51 PM Lcvette: madcow
06:52 PM dremeier[m]: do you have some custome screen, other than the probe basic, you can show me?
06:53 PM Lcvette: ?
06:57 PM Lcvette: dremeier: probe basic not custom enough for you?
06:57 PM Lcvette: lol
06:57 PM Lcvette: thats all i have
06:58 PM Lcvette: nice
06:58 PM dremeier[m]: sure that is amzing, but I want to have a more color full, and more touchy screen
06:59 PM Lcvette: i touch mine all the time
06:59 PM dremeier[m]: I´m thinking about to reorganize the screen
06:59 PM Lcvette: screen
06:59 PM Lcvette: go for it
06:59 PM Lcvette: could be cool
07:00 PM dremeier[m]: but hard to do
07:00 PM Lcvette: not too bad
07:00 PM Lcvette: 'only took me a year and a half for that one
07:00 PM dremeier[m]: can I show you what I prefere?
07:00 PM dremeier[m]: I´ve time for 6 Month:-)
07:00 PM Lcvette: sure, but im fine with what ive built
07:01 PM Lcvette: so i won't be changing it
07:01 PM Lcvette: but its open for you to customize your own
07:01 PM Lcvette: thats the beauty of qtpyvcp
07:01 PM dremeier[m]: for sure you don´t have to do
07:01 PM dremeier[m]: I love it!
07:01 PM Lcvette: you mnight like JT's better his have big buttons and are more touch friendly i think maybe?
07:02 PM dremeier[m]: where can I see it?
07:03 PM * dremeier[m] uploaded an image: basis.PNG (222KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/aLusbqjBXaIdGNQmXwzTFNwG >
07:03 PM * dremeier[m] uploaded an image: code.PNG (222KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/VQwQTJvsCRUacvWfithvLAvR >
07:04 PM Lcvette: https://www.qtpyvcp.com/showcase/mill_vcps.html
07:04 PM * dremeier[m] uploaded an image: code.PNG (222KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/YbVPgbMHYnlNAPNZbZFrgBmx >
07:04 PM hazzy-m: dremeier: I really like that interface
07:04 PM Lcvette: screens like that with no words only pictures can sometimes not be as intuitive
07:05 PM hazzy-m: Lcvette: very true
07:05 PM Lcvette: but i dig the colors
07:05 PM Lcvette: hazzy, they always make sense to the one who made it
07:05 PM hazzy-m: exactly
07:06 PM dremeier[m]: that has to be changed, more word and less pics
07:06 PM Lcvette: but yeah i don't know what half those icond represent
07:06 PM Lcvette: * but yeah i don't know what half those icons represent
07:07 PM * dremeier[m] uploaded an image: rechner.PNG (251KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/RBuijqSuUKEDoRgFUBcpifBW >
07:07 PM dremeier[m]: that is a very hand calculator! I love it
07:07 PM dremeier[m]: that is a very handy calculator! I love it
07:08 PM dremeier[m]: but know I´ve go to bed. It was nice to see you guys!!!
07:09 PM Lcvette: we have a virtual keybopard branch that just needs some tweaking
07:09 PM dremeier[m]: but now I´ve go to bed. It was nice to see you guys!!!
07:09 PM Lcvette: you to dremeier I am looking forward to see what you come up with!
07:09 PM Lcvette: will be great to have more options for people!
07:09 PM dremeier[m]: 😆
07:10 PM dremeier[m]: but I guess I need you help
07:10 PM dremeier[m]: but I guess I need your help
07:13 PM Lcvette: best way to learn is to play in qtdesigner
07:13 PM Lcvette: and read qtpy for assistance on specific syntax
07:13 PM Lcvette: i am always looking things up
07:14 PM dremeier[m]: where I can find that?
07:16 PM Lcvette: use it in your google searches for stylesheet help
07:16 PM Lcvette: thats what helped me alot
07:16 PM Lcvette: also would find some help from time to time in stackoverflow
07:16 PM Lcvette: but try sesrching qtpy stylesheet
07:17 PM Lcvette: https://doc.qt.io/qt-5/stylesheet-syntax.html
07:17 PM Lcvette: it reutrns pages like this with examples
07:17 PM Lcvette: very helpful
07:17 PM dremeier[m]: just found it! thx
07:18 PM Lcvette: using the qtpy helps narrow results i found
07:18 PM hazzy-m: Awesome! http://cnc.a-ueberbach.de/allgemein/royal-cnc/
07:18 PM Lcvette: works more then not
07:19 PM Lcvette: i can't read anything
07:20 PM dremeier[m]: royalCNC was my software on windows mach3, but the designer goes the wron way and now the soft ware is so buggy that I can´t use it andy more
07:20 PM Lcvette: my favorite mach3 software is machstdmill
07:20 PM Lcvette: its fanbtastic
07:20 PM Lcvette: but mach3 is horrible
07:21 PM * hazzy-m upgrades to mint 19.3
07:21 PM dremeier[m]: ueberbach is also a friend of me and we want to design a linux screen looking like the RoyalCNC
07:21 PM Lcvette: as i was reminded this weekend while helping a friend sort through all the issues of mach
07:22 PM dremeier[m]: mach is very buggy and not use full
07:24 PM Lcvette: hazzy: we need the pan button working on the backplotter
07:24 PM Lcvette: can't properly zoom or pan in touch mode
09:26 PM TurBoss: \o/
09:26 PM TurBoss: figured how to fix the atc
09:26 PM TurBoss: all from subs
09:27 PM TurBoss: using debug eval
09:33 PM Lcvette: you did it?
09:33 PM Lcvette: \o/
09:33 PM Lcvette: TurBoss: Hurray!!!!!!
09:33 PM TurBoss: started to
09:33 PM TurBoss: \o/
09:33 PM Lcvette: \o/
09:37 PM * TurBoss uploaded a video: atc_messages.mp4 (1152KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ixPIojpceSREOeaFtrAlirWw >
09:38 PM Lcvette: hurray they are appearing and dissapearing again!
09:38 PM TurBoss: only steeos
09:39 PM TurBoss: * only steeps
09:39 PM Lcvette: steps?
09:39 PM TurBoss: yes
09:39 PM Lcvette: \o/
09:39 PM TurBoss: I'll push
09:39 PM TurBoss: maybe you find somethin
09:39 PM Lcvette: ok
09:40 PM Lcvette: i will hunt
09:40 PM Not-c468: [02qtpyvcp] 07TurBoss pushed 031 commit to 03eval_atc_messages [+0/-0/±1] 13https://git.io/JvL4W
09:40 PM Not-c468: [02qtpyvcp] 07TurBoss 033e6aa75 - change signals to match the qml slots
09:41 PM Not-c468: [02probe_basic] 07TurBoss pushed 031 commit to 03eval_atc_messages [+0/-0/±1] 13https://git.io/JvL4l
09:41 PM Not-c468: [02probe_basic] 07TurBoss 0362ad13e - show/hide tools in carousel from subs
09:41 PM TurBoss: is up
09:42 PM Not-c468: [02probe_basic] 07TurBoss created branch 03eval_atc_messages 13https://git.io/JvL48
09:42 PM TurBoss: Lcvette: https://github.com/kcjengr/probe_basic/compare/cbb63bf52c41...62ad13ed26ef
09:52 PM TurBoss: Lcvette: I reversed the rotation and fixes all except that breaks the manual rotate buttons
09:53 PM Not-c468: [02qtpyvcp] 07TurBoss pushed 031 commit to 03eval_atc_messages [+0/-0/±1] 13https://git.io/JvL4r
09:53 PM Not-c468: [02qtpyvcp] 07TurBoss 037e59c07 - hide some log messages from qml
09:54 PM Not-c468: [02probe_basic] 07TurBoss pushed 031 commit to 03eval_atc_messages [+0/-0/±2] 13https://git.io/JvL4o
09:54 PM Not-c468: [02probe_basic] 07TurBoss 03be1c9fa - reverse the direction of the atc widget
09:55 PM Lcvette: ok i think i remember this problem
09:55 PM Lcvette: the sim rotates backwards from normal
09:56 PM TurBoss: ok
09:56 PM TurBoss: then i reversed
09:56 PM Lcvette: so i think there was some changes in the sim file to make it rotate the other direction maybe?
09:56 PM TurBoss: but.. tha changes i did make sense?
09:56 PM Lcvette: i just pulled latest and am looking
09:57 PM TurBoss: i modified toolchange.ngc
09:57 PM Lcvette: checking
09:59 PM Lcvette: yeah, you don't want to modify the toolchange.ngc
09:59 PM Lcvette: it turns things correctly in its old form
09:59 PM Lcvette: what changes?
09:59 PM TurBoss: i just added Debug eval lines
10:00 PM TurBoss: https://github.com/kcjengr/probe_basic/compare/cbb63bf52c41...62ad13ed26ef
10:00 PM Lcvette: ok i see the compare file
10:00 PM Lcvette: did you change directions in the macro code?
10:00 PM TurBoss: no
10:01 PM Lcvette: oh i see, store tool
10:01 PM TurBoss: on python
10:01 PM TurBoss: yes
10:01 PM Lcvette: that made the rotate buttons wrong?
10:01 PM TurBoss: yes
10:02 PM TurBoss: rotate buttons now are reversed
10:02 PM Lcvette: do you know what reversed them?
10:02 PM TurBoss: yes
10:03 PM TurBoss: but that fixes the atc
10:03 PM TurBoss: if not m10 is wrong
10:07 PM Lcvette: lcvette is trying to make sense of everything and make sure it is not going to make his machine run funny
10:08 PM Lcvette: on my machine the buttons make things turn correctly
10:08 PM TurBoss: ok
10:08 PM Lcvette: and they have the same mdi code buttons for m11 and m12
10:09 PM Lcvette: so trying to remember when this problem arised last time how it was resolved
10:09 PM TurBoss: but there where enchancements
10:09 PM TurBoss: not much changes required on the machine
10:09 PM TurBoss: well
10:09 PM TurBoss: a bit of...
10:10 PM TurBoss: 😁
10:10 PM Lcvette: which enhancements?
10:10 PM TurBoss: the debug messages
10:10 PM TurBoss: instead of hal pins
10:11 PM Lcvette: i wonder if it was fixed by changing the halpins for the index hal file
10:11 PM Lcvette: to change the rotation
10:12 PM Lcvette: i just reversed the halpins in the index hal file and the carouself now turns the proper direction
10:13 PM Lcvette: but the gui wheel still turns the wrong direction
10:13 PM Lcvette: are they at all linked anymore?
10:13 PM TurBoss: sek
10:13 PM Lcvette: ie is the vismach even needed with the debug message method?
10:13 PM Not-c468: [02probe_basic] 07TurBoss pushed 031 commit to 03eval_atc_messages [+0/-0/±2] 13https://git.io/JvL4h
10:13 PM Not-c468: [02probe_basic] 07TurBoss 03e8df3cb - Revert "reverse the direction of the atc widget" This reverts commit be1c9fadf0405e59d3932f4a6f61281fddff95cf.
10:13 PM TurBoss: now...
10:14 PM TurBoss: i reverted
10:14 PM TurBoss: so if you fix index should be fine
10:14 PM Lcvette: ok sek let me check
10:14 PM TurBoss: cool ty
10:15 PM Lcvette: qtpyvcp update too or just probe basic?
10:15 PM TurBoss: just pb
10:16 PM TurBoss: o/\o
10:16 PM TurBoss: or /o\ /o\
10:17 PM Lcvette: referencing
10:17 PM Lcvette: buttons and vismach are aligned now
10:18 PM TurBoss: widget too?
10:18 PM Lcvette: yes but its loading backwards now
10:18 PM Lcvette: something is making it move backwards
10:18 PM Lcvette: /o\
10:19 PM TurBoss: steps check the sign of the steps
10:19 PM TurBoss: :P
10:19 PM TurBoss: if postive and negative
10:20 PM Lcvette: i don't want to change much in the macros though because then that starts messing up the real machine
10:20 PM Lcvette: that would be real world crashes
10:20 PM TurBoss: sure
10:20 PM TurBoss: 🤔
10:20 PM Lcvette: do the debugs tell it to move in a direction?
10:20 PM TurBoss: yes
10:21 PM TurBoss: m11 and m12
10:21 PM TurBoss: arround 21
10:23 PM Lcvette: when you changed the direction you did it by chsanging the ccw and cw in the debugs?
10:23 PM TurBoss: yes
10:23 PM TurBoss: that was reverted
10:26 PM Lcvette: lcvettes brain is going to explode
10:26 PM Lcvette: lol
10:27 PM TurBoss: will found
10:28 PM Lcvette: i have an idea
10:28 PM Lcvette: i forgot i made a sim vs machine file comparison
10:30 PM * Lcvette posted a file: mxx_ngc_files_combined.ngc (8KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/RXEXkdHcNRWzwdpePGTvUviQ >
10:30 PM * Lcvette posted a file: mxx_ngc_sim_files_combined.ngc (8KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BETWHgFBtZpdjFsmsmAzAkWP >
10:30 PM Lcvette: those are all the M## macros combined one for sim and one for machine
10:31 PM Lcvette: im melding them to see where the disconnect may be
10:31 PM TurBoss: ok
10:31 PM TurBoss: ini
10:31 PM TurBoss: ⚡️
10:31 PM Lcvette: ini?
10:31 PM TurBoss: also on the ini
10:32 PM * TurBoss uploaded an image: image.png (56KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LolrCcMfRTsJIcpPXzmWrufc >
10:32 PM TurBoss: just this
10:32 PM Lcvette: i just melded them and in both the M11 and M12 are in the same place
10:33 PM Lcvette: not reversed
10:33 PM TurBoss: 😕
10:33 PM Lcvette: i made these when we made the atc work the first time
10:33 PM Lcvette: so something is different somewhere besides the macros
10:34 PM TurBoss: m10
10:34 PM TurBoss: ???
10:34 PM Lcvette: i really need to know what broke before the message changes so i know what it was
10:34 PM TurBoss: any change?
10:34 PM TurBoss: oh combined just does
10:35 PM Lcvette: m10 subs are identical
10:35 PM TurBoss: you can use meld betwen directories
10:35 PM * Lcvette uploaded an image: Screenshot_2020-01-21_23-28-35.png (76KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dswGBthKcUmqdQeEhAPQYYHA >
10:36 PM * Lcvette uploaded an image: Screenshot_2020-01-21_23-29-26.png (120KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/anjBoqYfxYNrdoHimTcGiZtQ >
10:36 PM Lcvette: i put all the macros into one file in order
10:37 PM Lcvette: this was the easiest way to compare them and make the necessary changes in the sim macro
10:37 PM Lcvette: m10 had zero chnages to it
10:38 PM TurBoss: who triggers m10
10:38 PM TurBoss: m11 m12 ar fine
10:38 PM TurBoss: * m11 m12 are fine
10:39 PM Lcvette: toolchange.ngc triggers m10
10:42 PM TurBoss: m10 and forward
10:42 PM TurBoss: from mdi does the same
10:42 PM TurBoss: tool change.ngc is okish
10:42 PM TurBoss: so must be the python
10:43 PM TurBoss: or qml
10:43 PM Lcvette: did you make changes in qml?
10:44 PM TurBoss: yes
10:44 PM Lcvette: :o
10:44 PM Lcvette: when?
10:44 PM TurBoss: yesterday
10:46 PM Lcvette: to direction stuff?
10:46 PM TurBoss: no
10:46 PM TurBoss: show hide pockets
10:48 PM TurBoss: for some reason the sign of the steps to move is reversed
10:48 PM Lcvette: in qml?
10:48 PM TurBoss: duno
10:48 PM TurBoss: it arraives wrong
10:49 PM TurBoss: I added some messages
10:49 PM TurBoss: to show stuff on terminal
10:51 PM TurBoss: ```
10:51 PM TurBoss: o<M10> P3.000000, steps=-4.000000
10:51 PM TurBoss: steps are negative
10:51 PM TurBoss: thats shown on terminal
10:52 PM Lcvette: supposed to be positive?
10:52 PM TurBoss: yes
10:52 PM TurBoss: allways
10:52 PM Lcvette: so something broke there
10:52 PM Lcvette: ?
10:54 PM TurBoss: duno...
10:54 PM Lcvette: where is that number generated?
10:54 PM TurBoss: in m10.
10:54 PM Lcvette: qml calc?
10:54 PM Lcvette: oh
10:55 PM TurBoss: ☹️
10:56 PM Lcvette: looking
10:57 PM TurBoss: oh ok
10:57 PM Lcvette: you found?
10:58 PM TurBoss: homing
11:00 PM TurBoss: nope
11:00 PM TurBoss: ☹️
11:09 PM TurBoss: i fixed the sim
11:09 PM TurBoss: hurray
11:09 PM Lcvette: you did it?
11:09 PM Lcvette: what was it?
11:10 PM TurBoss: not the rotation
11:10 PM Lcvette: :o
11:10 PM TurBoss: hmmm
11:11 PM Lcvette: what did you fix?
11:11 PM TurBoss: nothing...
11:11 PM Lcvette: lol
11:11 PM TurBoss: just worked
11:11 PM Lcvette: /o\
11:11 PM Lcvette: it works now?
11:11 PM TurBoss: no...
11:11 PM Lcvette: lcvette is soo confused
11:11 PM TurBoss: when loading a tool or unloading
11:11 PM TurBoss: from the atc
11:12 PM TurBoss: the vismach was erratic
11:12 PM TurBoss: now seems fine
11:12 PM Lcvette: is repaired now?
11:12 PM Lcvette: \o/
11:12 PM Lcvette: what did you change?
11:12 PM Lcvette: nothing?
11:12 PM TurBoss: yes
11:12 PM TurBoss: nothing
11:12 PM Lcvette: :o
11:12 PM TurBoss: so no hurray
11:12 PM Lcvette: ghost repair
11:12 PM TurBoss: false alarm
11:12 PM Lcvette: lol
11:13 PM TurBoss: no fix
11:13 PM Lcvette: i went deep into macros from 2017
11:13 PM Lcvette: looking for answers
11:13 PM Lcvette: but M10 is identical as the one used now
11:13 PM TurBoss: ok
11:15 PM Lcvette: m11 and m12 same too
11:15 PM Lcvette: only differences are the new messages and an m13 and some more notes
11:15 PM Lcvette: but functions are identical still
11:16 PM * Lcvette uploaded an image: Screenshot_2020-01-22_00-09-02.png (131KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/yJvpqCSRpWoYPDrLNlakwPtf >
11:17 PM * Lcvette uploaded an image: Screenshot_2020-01-22_00-10-24.png (64KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/neDcQNmBHdjCunrjSZYapapO >
11:17 PM Lcvette: m12 same same too
11:18 PM Lcvette: with halpins, how was the wheel moving?
11:20 PM Lcvette: Told it to move what direction and how many steps?
11:22 PM TurBoss: yes
11:22 PM Lcvette: What told it?
11:22 PM TurBoss: m11 and m12
11:22 PM TurBoss: ah
11:23 PM Lcvette: Was that wired so that it worked?
11:23 PM Lcvette: You found?
11:24 PM TurBoss: you changed som index pins and fixed the carousel?
11:24 PM TurBoss: what are thoos
11:24 PM TurBoss: * what are thoose
11:24 PM TurBoss: the vismach
11:24 PM Lcvette: Index.hal one
11:24 PM Lcvette: Switched 3 and 4
11:24 PM Lcvette: Swapped them
11:27 PM Lcvette: Find something?
11:27 PM TurBoss: nope
11:28 PM TurBoss: i think we made something for today
11:28 PM Lcvette: Yes
11:28 PM TurBoss: load and remove works
11:29 PM * TurBoss close on dev
11:29 PM Lcvette: So when we used the hal method, were we tricking it so it worked?
11:30 PM Lcvette: Because of vismach being backwards?
11:31 PM TurBoss: duno...
11:31 PM TurBoss: Ill take a look at the diff
11:32 PM TurBoss: I think that when we moved from qtpyvcp to own repo
11:32 PM TurBoss: atc_sim broke in any way
11:32 PM TurBoss: still atc_test in qtpyvcp examples
11:33 PM Lcvette: On qtpyvcp?
11:33 PM TurBoss: yup
11:39 PM Lcvette: once everything is converted to messages, will vismach be necessary?
11:39 PM Lcvette: TurBoss: ^^^
11:39 PM TurBoss: no
11:39 PM Lcvette: that will be sweet
11:40 PM TurBoss: maybe you can unplug that part
11:40 PM TurBoss: :P
11:40 PM Lcvette: im just trying to remember what vismach was providing
11:41 PM Lcvette: home sensor maybe
11:41 PM Lcvette: thoughts for another time
11:47 PM TurBoss: Lcvette: last shoot
11:47 PM TurBoss: switch m11 m12 in m10
11:47 PM TurBoss: and i go bed
11:47 PM TurBoss: I'm referencing
11:47 PM Lcvette: can't change the macros
11:47 PM TurBoss: ya
11:47 PM TurBoss: i know
11:49 PM TurBoss: just works ™️
11:49 PM Lcvette: :o
11:49 PM Lcvette: but won't on the machine
11:49 PM TurBoss: ya.
11:49 PM TurBoss: xD
11:49 PM Lcvette: i can test it tomorrow
11:50 PM TurBoss: ok
11:50 PM Lcvette: but i think then the machine will be storing tools in places it shouldn't
11:50 PM TurBoss: nono
11:50 PM TurBoss: in sim
11:50 PM TurBoss: xD
11:50 PM Lcvette: but im affraid if i wipe the working atc setup on the machine it will be lost forever
11:50 PM TurBoss: not machine yet...
11:50 PM Lcvette: in sim?
11:50 PM Lcvette: yes that is ok
11:51 PM TurBoss: n8
11:51 PM Lcvette: thats what i was asking about the halpin method if we tricked it by reversing things there so the wheel would work
11:51 PM Lcvette: \o/
11:51 PM Lcvette: you did it!
11:51 PM Lcvette: hurray turboss is the hero!
11:51 PM TurBoss: ???
11:51 PM TurBoss: i did?
11:51 PM TurBoss: lol
11:52 PM Lcvette: i thiohght you fixed?
11:52 PM Lcvette: no?
11:52 PM Lcvette: oh you mean in the sim macro
11:52 PM TurBoss: false alarm
11:52 PM TurBoss: yes test in sim
11:52 PM Lcvette: ok
11:52 PM TurBoss: ok n8
11:52 PM Lcvette: night!
11:52 PM Lcvette: :D