#hazzy Logs

Feb 06 2020

#hazzy Calendar

02:44 AM TurBoss: just figured why dbus notifications wans't working
02:45 AM TurBoss: python-dbus and python-dbus-mainloop.pyqt5 are required
02:47 AM travis-ci: kcjengr/qtpyvcp#1294 (dbus - c680ea2 : TurBoss): The build passed.
02:47 AM travis-ci: Diff view : https://github.com/kcjengr/qtpyvcp/commit/c680ea217dd9
02:47 AM travis-ci: Build details : https://travis-ci.org/kcjengr/qtpyvcp/builds/646764871
03:04 AM TurBoss4184[m]: \o/
03:04 AM TurBoss: yeah!
04:52 AM jthornton: morning
05:03 AM TurBoss: jthornton: did you tried the python3 branch?
05:04 AM jthornton: I built it without any errors, didn't try and run a sim yet
05:07 AM TurBoss: but did you specify the python interpreter and boost?
05:08 AM jthornton: no, I just did a regular build
05:10 AM TurBoss: ```
05:10 AM TurBoss: $ ./autogen.sh
05:10 AM TurBoss: $ ./configure --with-python=python3 --with-boost-python=boost_python3
05:14 AM jthornton: checking match between tk and Tkinter versions... Traceback (most recent call last):
05:14 AM jthornton: File "<string>", line 1, in <module>
05:14 AM jthornton: ModuleNotFoundError: No module named 'tkinter'
05:14 AM jthornton: Traceback (most recent call last):
05:14 AM jthornton: File "<string>", line 1, in <module>
05:14 AM jthornton: ModuleNotFoundError: No module named 'tkinter'
05:14 AM jthornton: TCL mismatch: 8.6 vs
05:14 AM jthornton: configure: error: Python requires use of Tcl and Tk .
05:14 AM jthornton: Install this version and specify --with-tclConfig and --with-tkConfig if necessary
05:17 AM TurBoss: :/
05:23 AM jthornton: looks like the dependencies need to be updated for python3
05:29 AM jthornton: installed python3-tk and got this error during the build
05:29 AM jthornton: emc/task/taskclass.cc:448:1: error: invalid conversion from ‘void (*)()’ to ‘PyObject* (*)()’ {aka ‘_object* (*)()’} [-fpermissive]
05:29 AM jthornton: make: *** [Makefile:230: objects/emc/task/taskclass.o] Error 1
05:30 AM TurBoss: hmmm
05:31 AM TurBoss: I'm trying to fix some identation errors
05:31 AM jthornton: https://paste.ubuntu.com/p/4SKCHBQjYH/
05:31 AM jthornton: that's the output from make
05:31 AM TurBoss: did you make clean before?
05:31 AM jthornton: yes, I always make clean
05:31 AM TurBoss: 😕
05:33 AM TurBoss: just pushed but not relevant for that you said
05:34 AM jthornton: ok got it
05:34 AM TurBoss: \ø/
05:34 AM TurBoss: what?
05:34 AM TurBoss: ah the commit?
05:34 AM TurBoss: :D
05:35 AM jthornton: yea just pulled
05:35 AM TurBoss: so...
05:36 AM TurBoss: oh ok
05:36 AM TurBoss: missing stuff to be ported
05:38 AM jthornton: https://stackoverflow.com/questions/29109685/error-building-cython-with-python3-error-pystring-asstring-was-not-declared-i
05:38 AM jthornton: So it turns out that python strings are handled differently in python 3 so the simple solution for me was to replace PyString_AsString(s) with s.encode('UTF-8')
05:38 AM TurBoss: thats a better whay that how has been ported
05:39 AM TurBoss: x-special/nautilus-clipboard
05:39 AM TurBoss: cut
05:39 AM TurBoss: file:///home/turboss/Descargas/arduino-1.8.11-linux64/arduino-1.8.11
05:40 AM TurBoss: oops
05:40 AM TurBoss: https://github.com/LinuxCNC/linuxcnc/commit/3ef00262256273d13b05db157e208e16cf65a823
05:42 AM jthornton: PyUnicode_AsUTF8(retval),
05:42 AM TurBoss: what i don't know is why you have old taskclass
05:43 AM TurBoss: https://github.com/LinuxCNC/linuxcnc/compare/master...TurBoss:python3_2020?expand=1
05:44 AM TurBoss: what i mean i sthat task class is allready fixed
05:45 AM jthornton: I cloned the link you gave me the other day...
05:46 AM TurBoss: sek
05:47 AM TurBoss: https://github.com/turboss/linuxcnc and the branch is python3_2020
05:47 AM TurBoss: did you checkout it?
05:48 AM jthornton: opps
05:49 AM TurBoss: :)
05:52 AM jthornton: File "emc/usr_intf/pncconf/pncconf.py", line 1203
05:52 AM jthornton: print 'INFO:',info,'<-
05:53 AM jthornton: SyntaxError: Missing parentheses in call to 'print'. Did you mean print('INFO:',info,'<-')?
05:54 AM TurBoss: yes I'm with that
06:09 AM TurBoss: just pushed pnpconf is up and running
06:13 AM jthornton: File "emc/usr_intf/pncconf/build_INI.py", line 163
06:13 AM jthornton: print 'tandem:',tandemjoint
06:13 AM jthornton: ^
06:13 AM jthornton: SyntaxError: Missing parentheses in call to 'print'. Did you mean print('tandem:',tandemjoint)?
06:13 AM TurBoss: yes there are some print >> there wich prints to ini
06:13 AM TurBoss: ah oh
06:13 AM TurBoss: well the same
06:14 AM jthornton: grep -irl 'print' *
06:27 AM TurBoss: rm -rf src/emc/usr_inf
06:27 AM TurBoss: ooops
06:27 AM TurBoss: !
06:27 AM TurBoss: :P
06:28 AM TurBoss: got pnpconf to pass build
06:28 AM TurBoss: now gmocapy
06:28 AM TurBoss: is up
06:32 AM jthornton: building
06:35 AM jthornton: File "emc/usr_intf/gmoccapy/gmoccapy.py", line 1082
06:35 AM jthornton: if self.distance <> 0: # incremental jogging
06:35 AM jthornton: ^
06:35 AM jthornton: SyntaxError: invalid syntax
06:35 AM jthornton: make: *** [emc/usr_intf/gmoccapy/Submakefile:27: ../bin/gmoccapy] Error 1
06:38 AM jthornton: wonder what norbert meant there
06:38 AM TurBoss: 😕
06:39 AM TurBoss: !=
06:42 AM TurBoss: up
06:46 AM TurBoss: hurray!
06:46 AM jthornton: 2.7 != can also be written <>, but this is an obsolete usage kept for backwards compatibility only. New code should always use !=.
06:48 AM TurBoss: build is success
06:49 AM jthornton: you push?
06:49 AM TurBoss: yea
06:49 AM TurBoss: is up
06:50 AM TurBoss: now i'm hitting runtime issues
06:50 AM TurBoss: but well...
06:57 AM jthornton: with a sim?
06:57 AM TurBoss: yes
06:57 AM TurBoss: with axis
06:57 AM TurBoss: did built for you?
06:57 AM jthornton: I'm running the axis sim right now
06:57 AM TurBoss: yes!ª?
07:00 AM jthornton: https://imagebin.ca/v/5BOr2q2WhLi7
07:02 AM TurBoss: ```
07:02 AM TurBoss: ./scripts/rip-environment linuxcnc
07:02 AM jthornton: oh crap forgot that lol
07:07 AM jthornton: I normally do . ./scripts/rip-environment the run linuxcnc
07:07 AM TurBoss: yes same here
07:07 AM jthornton: File "/home/john/github/emcp3/bin/axis", line 40, in <module>
07:07 AM jthornton: import Tkinter
07:07 AM jthornton: ModuleNotFoundError: No module named 'Tkinter'
07:07 AM TurBoss: yeah
07:08 AM TurBoss: hit that
07:08 AM jthornton: python3 is import tkinter not Tkinter
07:08 AM TurBoss: ok
07:09 AM jthornton: john@d10cave:~/github/emcp3$ grep -irl 'import tkinter' *
07:09 AM jthornton: bin/teach-in
07:09 AM jthornton: bin/debuglevel
07:09 AM jthornton: bin/linuxcnctop
07:09 AM jthornton: bin/hal_manualtoolchange
07:09 AM jthornton: bin/axis
07:09 AM jthornton: bin/image-to-gcode
07:09 AM jthornton: lib/python/bwidget.py
07:09 AM jthornton: lib/python/nf.py.in
07:09 AM jthornton: lib/python/propertywindow.py
07:09 AM jthornton: lib/python/rs274/OpenGLTk.py
07:09 AM jthornton: lib/python/nf.py
07:09 AM jthornton: nc_files/holecircle.py
07:09 AM jthornton: src/configure.ac
07:09 AM jthornton: src/configure
07:09 AM jthornton: src/emc/usr_intf/axis/scripts/debuglevel.py
07:09 AM jthornton: src/emc/usr_intf/axis/scripts/hal_manualtoolchange.py
07:09 AM TurBoss: Tkinter**
07:09 AM jthornton: src/emc/usr_intf/axis/scripts/linuxcnctop.py
07:10 AM jthornton: src/emc/usr_intf/axis/scripts/axis.py
07:10 AM jthornton: src/emc/usr_intf/axis/scripts/teach-in.py
07:10 AM jthornton: src/emc/usr_intf/axis/scripts/image-to-gcode.py
07:10 AM jthornton: src/autom4te.cache/output.0
07:10 AM jthornton: tests/trajectory-planner/circular-arcs/run_all_tests.py
07:10 AM TurBoss: :P
07:22 AM TurBoss: brb food
07:22 AM TurBoss: i just pushed tkinter fixes
07:23 AM jthornton: building
07:27 AM jthornton: A configuration error is preventing LinuxCNC from starting.\
07:29 AM jthornton: Starting LinuxCNC server program: linuxcncsvr
07:29 AM jthornton: Loading Real Time OS, RTAPI, and HAL_LIB modules
07:29 AM jthornton: Starting LinuxCNC IO program: io
07:29 AM jthornton: Starting HAL User Interface program: halui
07:29 AM jthornton: Starting TASK program: milltask
07:29 AM jthornton: Starting DISPLAY program: axis
07:29 AM jthornton: Removing HAL_LIB, RTAPI, and Real Time OS modules
07:29 AM jthornton: Removing NML shared memory segments
07:29 AM jthornton: looks like axis still has issues
07:48 AM TurBoss: back
07:48 AM jthornton: shower time here, tried to get touchy to work
07:48 AM jthornton: import errors with gtk
07:50 AM jthornton: https://stackoverflow.com/questions/32217723/error-no-module-named-gtk-glade
09:26 AM TurBoss: Lcvette: you arround?
09:27 AM TurBoss: what if linuxcnc var files changed?
09:27 AM Lcvette: im here
09:28 AM TurBoss: did you figured something?
09:28 AM Lcvette: did you see what i wrote?
09:28 AM TurBoss: on devel?
09:28 AM Lcvette: yes and here same
09:29 AM Lcvette: its an issue with the same tool being used in the program causing the error
09:29 AM Lcvette: if you don't program the same tool twice, then there is no error
09:29 AM Lcvette: thats why one program would load and the other one would not
09:29 AM TurBoss: ahhhhhhhhhhhhhhhhhhhh
09:30 AM Lcvette: so during loading it is not recognizing that a tool is being used then replaced in the carousel i suppose
09:30 AM TurBoss: if you call a tool twice bang!
09:30 AM Lcvette: yes
09:33 AM Lcvette: so for thatn case_machining_op_2 program it used tool 23 as the first tool and then again later in the program
09:33 AM Lcvette: but failed to load because when it tried to load that tool again i supose it thingks its no longer in the carousel
09:34 AM Lcvette: so i am not sure if that can be fixed in the macro or if it is an issue in the loading in linuxcnc
09:34 AM Lcvette: thats why i asked the devs
09:34 AM Lcvette: wasn't sure which was the issue
09:35 AM Lcvette: they were not very helpful
09:35 AM TurBoss: on probebasic doesn't crash
09:35 AM Lcvette: lol
09:36 AM TurBoss: just on atc sim
09:36 AM Lcvette: did not acknowledge the issue at all
09:37 AM Lcvette: Yes only where the carousel is used
09:38 AM TurBoss: > but failed to load because when it tried to load that tool again i supose it thingks its no longer in the carousel
09:38 AM TurBoss: this could be a staring point
09:38 AM Lcvette: Yes
09:39 AM Lcvette: I found on a hunch
09:39 AM Lcvette: I changed the tool on the second operation and it loaded the program fine in ATC sim
09:40 AM Lcvette: Bit that was a temporary fix so I could make parts yesterday
09:40 AM TurBoss: good
09:42 AM Lcvette: but im not sure how the load thing works to know what to put in the macros so it knows the tool was returned to the carousel
09:43 AM Lcvette: at the bottom of the toolchange.ngc macros it rewrites the pockets with the current tools reflecting the changes that were made
09:44 AM Lcvette: i suspect that if it loaded bypassing the tools in carousel check that the remaps would run fine during real operation because the var file is being properly updated
09:45 AM Lcvette: but during loading, the var file is not being updated (rightfully so as that could cause problems) and so once a tool shows being loaded in the spindle it is considered to no longer be in the carousel
09:45 AM Lcvette: and the error occurs when it tries to find the tool again
09:45 AM Lcvette: does that make sense?
09:47 AM TurBoss: 😕
09:47 AM TurBoss: just made some changes to qtpyvcp making this error less critical
09:48 AM TurBoss: rs274 errors now go to notifications and no to exceptions
09:49 AM TurBoss: but it doesnt help
09:50 AM Lcvette: no i suspect the toolchange.ngc or one of the other remaps will need to have something added to satisfy the rs274 loading
09:51 AM Lcvette: i thought about this alot last night
09:51 AM TurBoss: hmmm
09:52 AM TurBoss: what if we alche check the tool in spindle
09:52 AM TurBoss: * what if we also check the tool in spindle
09:52 AM Lcvette: and what if you have a big job that has 14 tools
09:52 AM Lcvette: only 12 fit in the carousel
09:52 AM Lcvette: so 2 must be loaded by hand
09:53 AM Lcvette: so if the tool is not found in the carousel there should be some kind of method for it to request the called tool be loaded in the spindle
09:53 AM Lcvette: and still load properly
09:53 AM Lcvette: but how to do this im not certain
09:55 AM Lcvette: and during operation once a hand loaded tool is used, at the next tool change request it should request that the carousel is full and the tool should be removed from the spindle manually to continue
09:55 AM TurBoss: Lcvette: meanwhile.... could you help me test the notification stuff
09:56 AM Lcvette: whats the notification?
09:56 AM TurBoss: remember i changed the notification system?
09:56 AM TurBoss: because we didnt notice about a error etc..
09:57 AM Lcvette: dbus
09:58 AM TurBoss: also dbus notifications wasn't working
09:58 AM TurBoss: i fixed
09:58 AM Lcvette: ?
09:58 AM TurBoss: yes dbus!
09:58 AM Lcvette: pull it?
09:58 AM TurBoss: dbus brach yes please
09:58 AM Lcvette: ok i pulled
09:58 AM TurBoss: ok it should trigger the error but in a popup
09:59 AM Lcvette: which error?
09:59 AM TurBoss: the atc with 2 tools
09:59 AM Lcvette: how to test
09:59 AM Lcvette: ah ok
09:59 AM TurBoss: just load the file no need to home
10:02 AM TurBoss: if nothing happens
10:02 AM TurBoss: then you are missing some packagges
10:04 AM Lcvette: i removed all the bad load files
10:05 AM TurBoss: https://github.com/domlysz/BlenderGIS
10:05 AM Lcvette: can you upload the offending file?
10:05 AM TurBoss: error
10:06 AM TurBoss: :)
10:06 AM Lcvette: whoa thats cool
10:06 AM TurBoss: try to home twice while homing
10:06 AM Lcvette: that is a bug too
10:06 AM * TurBoss uploaded an image: image.png (30KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/RqokasaaotRhnSkvhgqYHasZ >
10:07 AM TurBoss: hmm extra lag while sending messages
10:08 AM Lcvette: sek im making a bad file again
10:11 AM * Lcvette posted a file: case_op_2_offending_file.ngc (59KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BslDqFRELgcBnTHCDcrUjMdA >
10:13 AM Lcvette: ok loaded saw two messages pop up and the file loaded!
10:13 AM TurBoss: I can't load tools in the carousel
10:13 AM TurBoss: but there are pockets
10:13 AM Lcvette: ?
10:13 AM TurBoss: yes 2 messages because there are 2 vtk plots on pb
10:14 AM Lcvette: ah
10:14 AM TurBoss: but the notification worked?
10:14 AM TurBoss: great
10:14 AM Lcvette: yes i saw them and the file loaded
10:15 AM TurBoss: looks ok to you to use this one
10:15 AM Lcvette: so you can't load tools?
10:15 AM TurBoss: is what hazzy wrote first
10:15 AM TurBoss: the dbus notifications
10:15 AM TurBoss: :D
10:15 AM TurBoss: how can I see the var file
10:15 AM TurBoss: oh ok
10:15 AM TurBoss: got an idea
10:16 AM Lcvette: im trying to run the program to test if it works
10:16 AM Lcvette: but its stuck in a loop
10:16 AM Lcvette: keeps running the first tool over and over in the same op
10:17 AM Lcvette: lol
10:20 AM * TurBoss uploaded an image: image.png (299KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QbhNTPKAlZcxTfJQsrdlcAJg >
10:20 AM Lcvette: ?
10:21 AM Lcvette: check the var file and see if all pockets have tools in them
10:21 AM Lcvette: vmc.var
10:21 AM TurBoss: there is place
10:22 AM TurBoss: 5190
10:22 AM TurBoss: and up
10:22 AM TurBoss: brb food
10:22 AM Lcvette: 5190 0.0000000?
10:22 AM Lcvette: you are speaking in short hand again
10:22 AM Lcvette: lol
10:23 AM Lcvette: ok
10:26 AM * Lcvette posted a file: case_op_2_offending_file.ngc (107KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/sQdjyUpomegGbZatgtVqXSQE >
10:28 AM TurBoss: 7777777
10:28 AM TurBoss: ollllllllllllllll
10:28 AM TurBoss: ops
10:29 AM hazzy-m: Lol
10:29 AM Lcvette: ?
10:29 AM Lcvette: lcvette does not speak that
10:29 AM Lcvette: o/
10:29 AM Lcvette: hola hazzy
10:36 AM TurBoss: store tool didn't work while m6 did
10:38 AM hazzy-m: Last day of show!!!
10:39 AM Lcvette: TurBoss (@TurBoss:matrix.org): that's wierd
10:39 AM TurBoss: @hazzy is a TV start
10:39 AM TurBoss: yes
10:39 AM Lcvette: hazzy is at the rock show
10:39 AM TurBoss: store said carousel is full
10:39 AM Lcvette: i was able to load tools here fine
10:39 AM TurBoss: I'll reset the vars
10:39 AM JT-Shop: finally got that job done https://imagebin.ca/v/5BPvJczGBwla
10:40 AM * Lcvette uploaded an image: 1_run_screen.png (340KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/iHGeNvFzKUGtLodctCWjDIIp >
10:41 AM JT-Shop: https://imagebin.ca/v/5BPvl6Rsmz02
10:43 AM * dremeier[m] uploaded an image: dbus.png (190KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/nUfSkauyuBxOUlZmGoMYsXGH >
10:44 AM dremeier[m]: I got that error. on trying the dbus branch
10:45 AM * Lcvette uploaded an image: Screenshot_2020-02-06_11-33-18.png (260KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ClgatelYKugYMaSqYjPegPHr >
10:45 AM Lcvette: same
10:49 AM TurBoss: sorry internet went dowmn
10:50 AM TurBoss: Lcvette: that when happened?
10:50 AM Lcvette: ?
10:50 AM Lcvette: during running the simulation for machining
10:50 AM Lcvette: just popped up
10:50 AM TurBoss: oh ok dbus branch
10:51 AM TurBoss: could you please see if installing this fixes?
10:51 AM TurBoss: ```
10:51 AM TurBoss: sudo apt install python-dbus.mainloop.pyqt5
10:52 AM * Lcvette uploaded an image: Screenshot_2020-02-06_11-45-41.png (51KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ebxHBsaowKBikgTLaHKpyidI >
10:52 AM Lcvette: seems its already installed
10:53 AM Lcvette: so im guessing it doesn't fix
10:53 AM TurBoss: and
10:53 AM TurBoss: ```
10:53 AM TurBoss: sudo apt install python-dbus
10:53 AM Lcvette: same
10:53 AM Lcvette: already there
10:53 AM TurBoss: ok thanks
10:54 AM TurBoss: then back yo master...
10:54 AM TurBoss: :D
10:55 AM TurBoss: * then back to master...
10:55 AM dremeier[m]: same here, everything "dbus" is installed
10:56 AM TurBoss: ```
10:56 AM TurBoss: libdbus-1-3
10:56 AM TurBoss: dbus
10:57 AM Lcvette: sudo apt install libdbus-1-3
10:57 AM Lcvette: ?
10:57 AM TurBoss: yes
10:58 AM Lcvette: already installed
10:58 AM TurBoss: :/
11:00 AM dremeier[m]: yap, alread installed
11:01 AM TurBoss: then I don't know what fixed here :(
11:01 AM Lcvette: you get no error message?
11:02 AM TurBoss: when does it show?
11:02 AM Lcvette: mine showed while simulating the part
11:03 AM Lcvette: think right after one of the tool changes
11:03 AM dremeier[m]: homed. then T2M6 ( no t2 in atc)
11:04 AM dremeier[m]: no sim, real hardware.
11:06 AM Lcvette: what type atc dremeier?
11:08 AM dremeier[m]: the standard atc, copied from the sim, not working jet, so get error all the time. At the moment I change tool manualy because the ATC is not ready jet.
11:08 AM Lcvette: ah you have sensors?
11:09 AM Lcvette: the sim is a stripped down version of the real remaps
11:09 AM Lcvette: designed to run with minimal sensor input
11:09 AM dremeier[m]: not jet, but does no matter
11:09 AM Lcvette: the real remaps have many safety sensors
11:10 AM TurBoss: have to leave
11:10 AM TurBoss: cu
11:10 AM Lcvette: ok
11:10 AM dremeier[m]: do you have a remap for real?
11:10 AM dremeier[m]: cu , see u
11:10 AM Lcvette: turboss, what is the dbus for?
11:10 AM Lcvette: ok thanks turboss!
11:10 AM dremeier[m]: transfer natification, I guess?
11:10 AM Lcvette: dremeier, yes i run it on the machine for real currently
11:12 AM dremeier[m]: pls. can you show me your remap ngc? do you have one also for manual change?
11:12 AM Lcvette: for manual you would just remove the remap from the ini file
11:12 AM dremeier[m]: I´m just try to figure out how it works, at the moment I can´t get the variables from the prolog to the ngc.
11:13 AM Lcvette: the remaps in the non atc sim probe basic are not altered for sim
11:13 AM dremeier[m]: the org M6 does not what I want, so I´ve to remap also
11:13 AM Lcvette: org?
11:14 AM dremeier[m]: the original M6 behavior out of linuxcnc
11:15 AM Lcvette: to understand you atc issue i would need to know exactly what it is
11:15 AM Lcvette: what sensors etc
11:15 AM Lcvette: that is what makes it work
11:15 AM Lcvette: if one is missing then the remap will error
11:16 AM Lcvette: but i would have ALL of those snesors to avoid crashes
11:16 AM Lcvette: makes it work like ladder logic
11:16 AM Lcvette: making sure each safety sensor has reported in before the next move
11:18 AM dremeier[m]: sure, I know. at the moment I´m not interested in a working ATC, just loking ahead for manual change, the hardware of the ATC is not ready
11:18 AM Lcvette: ok
11:18 AM Lcvette: what do you need for manual change?
11:21 AM dremeier[m]: go to position, M5, no tool in spindle sensor, (Sperrluft) Air through cone (how to you call it?), oben the bar 3sec after confirmation for 600ms and cloe it, cloese (Sperrluft).
11:21 AM dremeier[m]: the 3 sec I need bcause I have only one Hand!
11:21 AM Lcvette: on the tool page, you could specify a subroutine be called with the M6 button
11:22 AM Lcvette: and just do it all in a subroutine
11:22 AM Lcvette: use analog outputs for your air solenoids etc
11:22 AM dremeier[m]: ok fine, but what then habbens if a M6 called from g-code file?
11:23 AM dremeier[m]: ok fine, but what then happens if a M6 called from g-code file?
11:24 AM * dremeier[m] posted a file: toolchange.ngc (4KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/fYXyKcbwtSyOlCmscODzxHJF >
11:24 AM dremeier[m]: my tool change, not ready
11:25 AM Lcvette: ah ok i see
11:25 AM Lcvette: so you need a manual remap
11:26 AM Lcvette: so in that case you add an remap m call to the ini file and put the same subroutine there as the button
11:26 AM Lcvette: so you get same behavior from the manual button or from the program calling m6
11:26 AM Lcvette: its the same same just diferent way to call it
11:27 AM dremeier[m]: just want to show you that I´ve a setting where you can decide if a ATC is there or not so two subs in one file
11:27 AM dremeier[m]: yes^^
11:27 AM dremeier[m]: no button just M6 remap
11:28 AM dremeier[m]: but there is a fault in the stdglue, so I´ve fied it to get the variables like "selected_tool"
11:28 AM dremeier[m]: yap^^ 🙂
11:28 AM Lcvette: not sure i follow
11:29 AM dremeier[m]: *edit:* ~~but there is a fault in the stdglue, so I´ve fied it to get the variables like "selected_tool"~~ -> but there is a fault in the stdglue.py (change_prolog), so I´ve fixed it to get the variables like "selected_tool"
11:30 AM dremeier[m]: whre you hangs? ( please corred me If I write wrong words :-))
11:30 AM dremeier[m]: where you hangs? ( please corred me If I write wrong words :-))
11:31 AM Lcvette: there is a fault in the stdglue that is for the current atc?
11:32 AM dremeier[m]: just make it clear, at this stage I don´t need help, just want to give some info back 😇 🤪
11:32 AM dremeier[m]: yes, in the sim stdglue is working with real mesa card not
11:32 AM Lcvette: ok
11:32 AM dremeier[m]: sorry for my english
11:33 AM Lcvette: it works with my mesa card
11:33 AM dremeier[m]: but I don´t know why the stdglue is not workin with my mesacards
11:34 AM dremeier[m]: I used the stdglue from the linuxcnc brange
11:34 AM dremeier[m]: and this is working
11:34 AM Lcvette: the stdglue in probe basic is for atc
11:36 AM Lcvette: the stdglue from probe basic will work once your atc is setup
11:36 AM Lcvette: it is for non manual tool changes
11:36 AM dremeier[m]: i know but it just forward the variables , so I should be able to use it for other purpose
11:36 AM Lcvette: it is feeding the macro remaps datya
12:35 PM dremeier[m]: chis, just another question, please: If there is a error like "joint0 following error" or so. What should stop the motion? Because in my case the motion does not stop.
12:36 PM dremeier[m]: my actual estop glue:
12:36 PM * dremeier[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/DPIkDTLrpNHmjmOepPExvyYP >
12:46 PM Lcvette: in the ini do you have the max and min following error specified
12:47 PM Lcvette: there is an allowance and if it exceeds the allowance amount it should stop
12:48 PM dremeier[m]: yes
12:48 PM Lcvette: i believe that is baked into linuxcnc already and just needs those values to be set
12:49 PM dremeier[m]: it is on all errors the same behavior
12:49 PM * Lcvette uploaded an image: Screenshot_2020-02-06_13-41-16.png (120KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dZEkvBauZzBLoXfYRHpBaLTE >
12:49 PM Lcvette: turboss when you get back ^^^^
12:51 PM dremeier[m]: I thought too, but does not work
01:19 PM dremeier[m]: may be you can help by getting a clock to the screen?
01:20 PM dremeier[m]: I put this in the ./qtpyvcp/yaml_lib/default_config.yml
01:20 PM dremeier[m]: clock:
01:20 PM dremeier[m]: provider: qtpyvcp.plugins.clock:Clock
01:21 PM dremeier[m]: but then, how I can get a clock widget?
01:22 PM dremeier[m]: docu is here: https://www.qtpyvcp.com/plugins/clock.html
01:25 PM Lcvette: do you guys know if the tolerance inch and tolerance mm is still required in the ini file?
01:25 PM Lcvette: im trying to fine tune the machine currently
01:26 PM Lcvette: to work best and get rid of some jerky motion i exprience in some of the tool paths
01:26 PM Lcvette: seems the fusion 360 settings only do so much but i think thre may be something in linuxcnc that neds a tweak maybe
01:27 PM dremeier[m]: you mean the "FERROR" in .ini?
01:29 PM Lcvette: my last question is in regard to the motion planner
01:30 PM Lcvette: for reading and interpereting gcode
01:30 PM Lcvette: for your question, yes the ferror is what you need to use to set the fault geting reported at what deviation
01:32 PM dremeier[m]: yes, i know, but other tolerance settings I don´t know. sorry can´t help u.
01:38 PM dremeier[m]: @lcvette any suggestion on the clock plugin? ^^
01:38 PM Lcvette: ?
01:38 PM dremeier[m]: you are the vcp profi👌 🙏
01:39 PM Lcvette: what about the clock plugin?
01:39 PM Lcvette: you mean the machine timer?
01:40 PM Lcvette: you must have the timer.hal file in your config for it to work
01:40 PM * dremeier[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/NWOCfTGoLRUMOmHqhfzbrYvO >
01:41 PM * Lcvette uploaded an image: Screenshot_2020-02-06_14-33-41.png (19KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/fNolyCzzrsauBSSpMKzuCPre >
01:41 PM Lcvette: there is a timer in probe basic that counts during machine run
01:41 PM dremeier[m]: I mean a nor mal clock, the actual local time.
01:41 PM Lcvette: oh hit f11 to show the title bar
01:42 PM dremeier[m]: I mean a clok that show the loacal time, not the the machine time
01:42 PM Lcvette: may be a clock widget in designer
01:43 PM dremeier[m]: yes!!!
01:43 PM dremeier[m]: docu is here: https://www.qtpyvcp.com/plugins/clock.html
01:43 PM dremeier[m]: but how?
01:45 PM Lcvette: no clue, think maybe JT wrote that
01:45 PM Lcvette: but my guess is he is formatting a qlabel probably
01:48 PM Lcvette: so make a qlabel and set it up per the instructions would be my guess
01:49 PM Lcvette: im busy with other things right now
01:49 PM Lcvette: im trying to get some busines related stuff done
01:49 PM Lcvette: need some money
01:50 PM dremeier[m]: 🤣 we all need some money, good luck🙏
02:07 PM dremeier[m]: JT you are here?
03:17 PM * Lcvette posted a file: language-linuxcnc-gcode.7z (2KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/lGySxKzEwIZQnEXKPQgubFKC >
05:16 PM jthornton: dremeier[m], in and out
05:17 PM jthornton: mostly out today
05:17 PM dremeier[m]: bussy?
05:18 PM jthornton: on a service call all afternoon, just got back and trying to get evening chores out of the way
05:18 PM jthornton: what's up?
05:18 PM * dremeier[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/kNXQBzxxmNoiAwqRTZyCXoOs >
05:19 PM JT[m]: there is a clock in Mini
05:20 PM JT[m]: it's a status label
05:20 PM JT[m]: clock:time?string
05:20 PM dremeier[m]: in Mini, will have a look, can´t remeber
05:21 PM dremeier[m]: in which yml I´ve to put in:
05:21 PM dremeier[m]: clock:
05:21 PM dremeier[m]: provider: qtpyvcp.plugins.clock:Clock
05:22 PM * JT[m] uploaded an image: Screenshot at 2020-02-06 17-14-05.png (26KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/jkFibnBkQZCUfBZnzSVLmogS >
05:22 PM dremeier[m]: ah-ok
05:23 PM JT[m]: chickens finally settled down on the roost time to lock them up
05:29 PM dremeier[m]: thx a lot I got it working!
05:29 PM jthornton: great
06:06 PM Lcvette: jthornton: do you use fusion 360?
06:07 PM jthornton: NO
06:07 PM Tom_L: heh, that was definite
06:07 PM jthornton: tried it a few times but didn't like the phone home part
06:08 PM Tom_L: did you try any more with freecad?
06:08 PM Tom_L: everybody's gotta phone home nowdays
06:08 PM jthornton: not needed anything lately
06:08 PM Lcvette: gotcha
06:08 PM Tom_L: even catia
06:08 PM Lcvette: me?
06:08 PM Lcvette: i love fusion
06:08 PM Lcvette: ive finally gotten used to it
06:08 PM dremeier[m]: yes, use fusion
06:08 PM jthornton: trying to play songs for the chickens lol
06:08 PM dremeier[m]: lol
06:10 PM jthornton: vlc is playing now in pyqt5 but the event manager is not working...
06:10 PM jthornton: fun fun fun
06:10 PM dremeier[m]: which postprozessor do you use?
06:10 PM jthornton: CAM?
06:11 PM dremeier[m]: yap
06:11 PM dremeier[m]: for fusion 360
06:11 PM Tom_L: there is a linuxcnc one i think
06:11 PM Lcvette: i just installed one i found that looks interetsing
06:11 PM jthornton: Gedit or Geany mostly or on the BP I have conversational and if that fails I use OneCNC when I have to
06:11 PM dremeier[m]: so we can see vid while the machine is running 🤣 ^^
06:12 PM * Lcvette posted a file: LinuxCNC_G64.cps (49KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/xIfwHOuNurOraNyiYMCBAIIB >
06:12 PM * jthornton listens to Pink Floyd while coding
06:13 PM Lcvette: this post sets the G64 Pvalue from the fusion360 tolerance value per operation
06:13 PM dremeier[m]: thx^^ will try
06:13 PM Lcvette: hello hello hello
06:13 PM Lcvette: is anybody out there.....
06:13 PM Lcvette: lol
06:13 PM dremeier[m]:
06:13 PM dremeier[m]: lol
06:13 PM Tom_L: he's singing to you
06:13 PM Lcvette: JT is with some PF and some good cush
06:14 PM jthornton: I used to listen to that on my Sony Walkman on the way to West Africa for work
06:14 PM jthornton: had an old lady tell me once to turn it down lol
06:14 PM Lcvette: though a walkman?
06:14 PM Lcvette: :o
06:14 PM jthornton: aye
06:15 PM dremeier[m]: oldschool 🤣 🤟
06:15 PM Lcvette: dremeier: that post you should know that the F360 tolerance will be there and you are also adding the G64 P value on top so its essentially doubly the tolerance lososenes
06:15 PM jthornton: pocket full of batteries and my walkman and the flights were much more easier to do
06:16 PM Lcvette: * dremeier: that post you should know that the F360 tolerance will be there and you are also adding the G64 P value on top so its essentially doubling the tolerance loosness
06:16 PM dremeier[m]: ^^ good to know
06:17 PM dremeier[m]: will play around, if machine is running 🙂
06:17 PM roguish[m]: jthornton: pink floyd album 'meddle' song 'one of these days'
06:17 PM dremeier[m]: *edit:* ~~will play around, if machine is running 🙂~~ -> will play around, when machine is finished 🙂
06:18 PM dremeier[m]: nice
06:18 PM jthornton: dunno if I have the meddle album
06:18 PM roguish[m]: https://www.youtube.com/watch?v=UI4-r8Vx8qM
06:19 PM roguish[m]: turn up the dial.....
06:20 PM jthornton: not heard that before
06:21 PM roguish[m]: I think I have a vinyl
06:21 PM dremeier[m]: amazing!
06:22 PM roguish[m]: I definitely have an mp3
06:23 PM roguish[m]: the slide guitar is really good.
06:23 PM roguish[m]: so's the organ.
06:26 PM roguish[m]: jthornton: hey, have you made any changes on V6 lately?
06:31 PM Lcvette: does anyone know the block processing speed of linuxcnc and emsa cards?
09:48 PM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+3/-0/±11] 13https://git.io/JvZxj
09:48 PM Not-c468: [02probe_basic] 07Lcvette 0302493c3 - critical fix m6 and load spindle buttons now activate G43 H# when issued
09:49 PM Not-c468: [02probe_basic] 07Lcvette created branch 03master 13https://git.io/JvZpv
09:49 PM Not-c468: [02probe_basic] 07Lcvette tagged 0302493c3 as 03v0.1.9 13https://git.io/JvZpv
09:49 PM Not-c468: [02probe_basic] 07Lcvette created tag 03v0.1.9 - 13https://git.io/JeDwL
09:49 PM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvZpJ
09:49 PM Not-c468: [02probe_basic] 07traviscibot 03431351c - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
09:50 PM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvZpk
09:50 PM Not-c468: [02probe_basic] 07traviscibot 036c1ff0e - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
09:50 PM Not-c468: [02probe_basic] 07KurtJacobson published 03v0.1.9 | v0.1.9 - 13https://git.io/JvZpI
09:50 PM hazzy-m: Lcvette don't worry about the block proceeding speed, it's FAST
09:50 PM travis-ci: kcjengr/probe_basic#272 (v0.1.9 - 02493c3 : Chris): The build passed.
09:50 PM travis-ci: Diff view : https://github.com/kcjengr/probe_basic/compare/v0.1.9
09:50 PM travis-ci: Build details : https://travis-ci.org/kcjengr/probe_basic/builds/647165975
09:51 PM * hazzy-m uploaded an image: ima_28492db.jpeg (59KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/yhRhpTHZgAwasCCmnCojFmVW >
09:51 PM Lcvette: have one for me!
09:51 PM Lcvette: so i can run smoothing tolerance really low?
09:52 PM Lcvette: i found a post that uses the tolerance entry box in fusion 360 to post a G54 P(fusion360 tolerance entry) at the start of every operation with that operations unique tolerance value
09:52 PM Lcvette: pretty slick
09:52 PM Lcvette: but i really wish there were an independent box in fusion to put that value
09:53 PM hazzy-m: That has nothing to do with bloy proceeding speed, unless it's really low
09:53 PM Lcvette: i would really like the fushion tolerance to stay tight and let linuxcnc run the blending amount
09:53 PM Lcvette: was just watching videos on it
09:54 PM Lcvette: that was a limiting factor to using some of those settings
09:54 PM hazzy-m: Yes, my brothers post does thar
09:54 PM Lcvette: is your brother MartyJ?
09:55 PM hazzy-m: I'm drinking with the swiss
09:55 PM hazzy-m: Yes lol
09:55 PM Lcvette: thats where i found the post!
09:55 PM Lcvette: :D
09:55 PM Lcvette: \o/
09:55 PM Lcvette: Hurray!
09:55 PM hazzy-m: That's his!
09:55 PM Lcvette: mine too now!
09:55 PM Lcvette: :D
09:55 PM Lcvette: \o/
09:55 PM Lcvette: tell the swiss hello
09:55 PM Lcvette: and i like their cocoa
09:56 PM Lcvette: and chocolate
09:56 PM Lcvette: and watches!
09:56 PM hazzy-m: He's a biomedical engineering proff a gtech, I'd trust his post
09:56 PM Lcvette: sweet!!
09:56 PM Lcvette: can we add boxes to fusion 360?
09:57 PM Lcvette: :o
09:57 PM hazzy-m: I think you can
09:57 PM hazzy-m: But not sure how
09:57 PM Lcvette: oo OO
09:58 PM Lcvette: your brother was on the right track but i would like to keep fusion and linuxcnc tolerance independant
09:58 PM Lcvette: especially if block processing speed is not an issue
09:58 PM Lcvette: my machine shook pretty bad becaus eof some jerky movements during repositioning
09:58 PM Lcvette: i tracked them down from the video
09:58 PM travis-ci: kcjengr/probe_basic#271 (master - 02493c3 : Chris): The build was broken.
09:58 PM travis-ci: Diff view : https://github.com/kcjengr/probe_basic/compare/02493c3b9b2b...02493c3b9b2b
09:58 PM travis-ci: Build details : https://travis-ci.org/kcjengr/probe_basic/builds/647165955
09:59 PM Lcvette: https://youtu.be/LDMKMx2aO5E?t=194
09:59 PM Lcvette: watch from 3:12
09:59 PM Lcvette: with volume
10:00 PM Lcvette: you can hear and see the door shake it was so violent
10:00 PM hazzy-m: I will, in the morning lol
10:00 PM Lcvette: yeah
10:00 PM Lcvette: drink em up
10:00 PM Lcvette: \o/
10:00 PM hazzy-m: Drunk a little too much tonight
10:01 PM hazzy-m: Lol
10:01 PM hazzy-m: Everybody goes home tomorrow
10:02 PM Lcvette: cool!
10:03 PM hazzy-m: But I have to load 6 trucks tomorrow
10:04 PM hazzy-m: But the Swiss vendors are awesome and are going to stay and help
10:06 PM Lcvette: that is really nice of them!!
10:07 PM hazzy-m: You can’t imagine, the owner is here and he works hand in hand with our techs
10:07 PM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JvZpu
10:07 PM Not-c468: [02probe_basic] 07Lcvette 03c1a6a72 - update docs for PB v0.1.9
10:07 PM Lcvette: thats really awesome!!
10:08 PM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvZp2
10:08 PM Not-c468: [02probe_basic] 07traviscibot 03b6759b5 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
10:08 PM travis-ci: kcjengr/probe_basic#273 (master - c1a6a72 : Chris): The build was fixed.
10:08 PM travis-ci: Diff view : https://github.com/kcjengr/probe_basic/compare/02493c3b9b2b...c1a6a7295e74
10:08 PM travis-ci: Build details : https://travis-ci.org/kcjengr/probe_basic/builds/647168816
11:25 PM Lcvette: is it possible to wirelessly network a shared folder from a windows PC to linux pc?
11:25 PM Lcvette: so i can just save my fusion posts on one computer and open them on the machine computer without doing flash sticks?
11:26 PM Tom_L: i do but mine is wired
11:26 PM Tom_L: just share the folder
11:27 PM Tom_L: it's probably easier to pull it from the windows box from linux
11:27 PM Tom_L: although either way should work
11:27 PM Tom_L: tired of the tennis shoe network?
11:28 PM Lcvette: yes
11:28 PM Lcvette: would like to save my posts and not have to unmount sticks
11:28 PM Lcvette: my buddy said he uses samba
11:28 PM Tom_L: i don't recall doing anything special
11:29 PM Tom_L: just a normal wheezy install on the mill
11:29 PM Tom_L: then sharing the windows folder
11:35 PM Tom_L: you need samba to let windows access linux network shares
11:35 PM Lcvette: ah
11:35 PM Lcvette: but not linux to acces windows
11:35 PM Tom_L: i'm thinking not but i could be wrong
11:36 PM Tom_L: try it
11:36 PM Lcvette: i went into the file and selected share it gave me a link to send to the other computer so im gonna go try it
11:36 PM Lcvette: gotta boot the other pc
11:36 PM Lcvette: will let you know if it works or not
11:36 PM Tom_L: try sharing a windows folder and search for it on the linux network
11:37 PM Tom_L: mine works i just am not sure if i have samba installed
11:40 PM Lcvette: where on linux do i look for it?
11:41 PM Lcvette: Tom_L: Fusion 360 Posts (file://DESKTOP-FJQA6OJ/Fusion%20360%20Posts)
11:41 PM Lcvette: that is the linnk the shared file gave
11:41 PM Tom_L: open a file brouser
11:41 PM Tom_L: or network brouser
11:42 PM Lcvette: and?
11:42 PM Tom_L: see if you can find the shared folder?
11:42 PM Tom_L: what's the share name?
11:43 PM Lcvette: the link above
11:43 PM Tom_L: no
11:43 PM Lcvette: lol
11:43 PM Lcvette: not sure then
11:44 PM Lcvette: can't open a network browser
11:44 PM Tom_L: \\ASROCK\sharedfolder
11:45 PM Tom_L: \\server\share
11:46 PM Lcvette: \\DESKTOP-FJQA6OJ\fusion 360 posts
11:47 PM Tom_L: may need to get rid of the spaces
11:47 PM Lcvette: ok
11:47 PM Lcvette: gotta go backl to windows pc
11:50 PM * Lcvette uploaded an image: image.png (23KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YYdTtFagFtJeTwiaehVCTGqG >
11:51 PM Lcvette: fusion_360_posts (file://DESKTOP-FJQA6OJ/Users/R2D2/Desktop/fusion_360_posts)
11:51 PM Lcvette: Tom_L: like that ^^^
11:52 PM Tom_L: yeah but you may need to share closer to the parent directory
11:52 PM Tom_L: i'm not sure
11:53 PM Lcvette: do i need to be able to find it on "browse network"
11:53 PM Lcvette: in linux?
11:54 PM Tom_L: there should be an icon for that but i don't have a linux box on
11:54 PM * Lcvette uploaded an image: Screenshot_2020-02-07_00-46-44.png (42KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NjRKGKumCHIGruHUgzeTylAG >
11:54 PM Tom_L: did you share it with 'everyone'
11:55 PM Tom_L: read/write
11:55 PM Lcvette: yes
11:56 PM Tom_L: https://www.google.com/search?client=firefox-b-1-d&q=sharing+windows+folders+on+linux
11:57 PM Tom_L: https://www.howtogeek.com/176471/how-to-share-files-between-windows-and-linux/
11:57 PM Tom_L: i'm goin to sleep
11:58 PM Lcvette: night