#hazzy Logs

Sep 23 2020

#hazzy Calendar

06:51 AM JT-Cave: morning
01:13 PM TurBoss: morninh
01:13 PM TurBoss: * morning
01:18 PM CaptHindsight: Latency for Rpi4 using 50,000 base thread is <40K and 200K servo thread is <50,000 with software rendering and no videos being played after 12 hours
01:20 PM CaptHindsight: video playback is choppy and bumps the latency to the base thread up to 50K
01:23 PM TurBoss: anyoverclock?
01:23 PM TurBoss: hello Mr CaptHindsight
01:37 PM CaptHindsight: TurBoss: no, max cpu speed is set to 1500
01:37 PM CaptHindsight: force_turbo=1 goes into the config.txt file, not the cmdline.txt
01:37 PM CaptHindsight: Core clock speed on Rpi4 max is set at 1500 set by arm_freq=1500 in the config.txt
01:38 PM TurBoss: Q: 1500 is default frequency?
01:39 PM TurBoss: CaptHindsight: what do you need a gcode line that shows the layer you what? and manage all the logic in gcode?
01:40 PM TurBoss: timmings... motion etc?
01:45 PM CaptHindsight: yes all timing and motion should be managed in g-code, but Andy didn't think was possible so he made video a slave to Z position
01:45 PM TurBoss: the ATC widget is managed by gcode it uses eval expressions
01:46 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/vBUWGGKjiVnPpsEkXfOjpivj/message.txt >
01:46 PM CaptHindsight: i considered using custom M codes
01:47 PM TurBoss: the debug line is interpreted by qtpyvcp and can control any widget
01:47 PM TurBoss: aka Gui element
01:47 PM CaptHindsight: I'm putting together a printer over the next few days
01:47 PM CaptHindsight: using a Rpi4
01:48 PM CaptHindsight: have to do a fresh install on an x96 PC using the new 2.8 ISO
01:48 PM CaptHindsight: hazzy says it was quick and easy to add QTPYVCP
01:49 PM TurBoss: yes I can help if you need
01:49 PM CaptHindsight: was just fiddling with the Rpi4 first
03:17 PM * TurBoss uploaded an image: 20200923_221633_5409935557742291728.jpg < https://matrix.org/_matrix/media/r0/download/jauriarts.org/gyfoxiKPcYbMVmsOypBcrHre/20200923_221633_5409935557742291728.jpg >
03:45 PM CaptHindsight: http://nanodlp.com:8080/ this resin printer control application is very popular but i don't know why
03:46 PM CaptHindsight: setup is confusing
03:47 PM CaptHindsight: you have to setup all these operations that get combined with displaying each layer
03:47 PM CaptHindsight: vs just letting you decide how using G-code
03:49 PM TurBoss: curious
08:51 PM * TurBoss uploaded an image: 20200924_035058_8557071408953163242.jpg < https://matrix.org/_matrix/media/r0/download/jauriarts.org/EFtmlGmUyuzRGxxPHaebZhBj/20200924_035058_8557071408953163242.jpg >
08:52 PM TurBoss: debian 10 linuxcnc 2.80 rtai
09:09 PM Joco[m]: RTAI? I thought that was still experimental?
09:09 PM TurBoss: yes it is but seems stable here
09:10 PM TurBoss: only know issue is a kernelpanic on shutdown but i did not saw on my conputer
09:10 PM TurBoss: @joco: very easy to setup
09:10 PM TurBoss: http://linuxcnc.org/docs/2.8/html/getting-started/getting-linuxcnc.html#cha:Installing-RTAI
09:10 PM TurBoss: is just replace the linuxcnc repo
09:11 PM Joco[m]: cool. But assume RTAI is really only necessary of you are running software stepping?
09:11 PM TurBoss: yup
09:12 PM Joco[m]: ok. Since I've gotten into bed with Mesa will stick with prempt. :-)
09:13 PM TurBoss: yup same herejust curious
09:13 PM TurBoss: 15000 on latency.test
09:13 PM Joco[m]: nice to see it's getting closer to being working. Still quite a few people running software stepping
09:13 PM TurBoss: sadly reat is a one man army
09:14 PM TurBoss: :)
09:14 PM TurBoss: * sadly rtai* is a one man army
09:14 PM Joco[m]: yeah. That is what I noticed as well. It looks a lot like a game of whack-a-mole
09:15 PM TurBoss: i thin its Paolo
09:19 PM TurBoss: i bought a 6i25 7i76 just to begin able to jump from debian 7
09:19 PM TurBoss: and keep deving qtpyvcp
09:19 PM TurBoss: lol
09:20 PM TurBoss: debian 7 doesn't has the deps
09:20 PM Joco[m]: heh - thats the kit I have.
09:20 PM Joco[m]: I also have an e7i76 that I am debating using to replace the combo.
09:20 PM TurBoss: do you have a raspberry pi?
09:20 PM TurBoss: if you can live without plotter
09:20 PM Joco[m]: pi3 - not a 4
09:21 PM TurBoss: should be fine .... ops no 4
09:21 PM Joco[m]: yeah - need 4 to go linux.
09:21 PM TurBoss: has one but installed Kode for my father lol
09:21 PM TurBoss: * had one but installed Kode for my father lol
09:22 PM TurBoss: * had* one but installed Kodi* for my father lol
09:22 PM Joco[m]: I have a half formed idea to put some cnc control on the surface grinder. I don't need linuxcnc to do that. But if I have all the needed bits spare ... well, why not. :)
09:22 PM TurBoss: I managed to boot a linuxcnc with just one joint
09:22 PM TurBoss: :P
09:23 PM TurBoss: no plotter
09:23 PM TurBoss: i think none should be posible too
09:23 PM TurBoss: * i think none *joints should be posible too
09:23 PM Joco[m]: I'd have 2. one for the table (X) and one for the carriage (Z). Would do Y (column) manual as it will be easier and safer to control by hand.
09:24 PM TurBoss: yup the big danobat is manual drriven colum
09:25 PM TurBoss: but just a fagor dro
09:25 PM TurBoss: and a big switchs lol
09:25 PM TurBoss: * and 4 big switchs lol
09:45 PM CaptHindsight: TurBoss: the LCNC RTAI dev is down the hall from me
09:46 PM TurBoss: i know 😆 just forgot the nickname
09:46 PM TurBoss: mem... somthing :P
09:46 PM TurBoss: i don't remember
09:46 PM CaptHindsight: Paulo broke something in RTAI but the dev here is waiting for a funded project
09:46 PM CaptHindsight: memleak
09:46 PM TurBoss: xD
09:47 PM CaptHindsight: sometimes he's ntulinux
09:48 PM CaptHindsight: https://github.com/NTULINUX/RTAI
09:48 PM TurBoss: is forked
09:48 PM CaptHindsight: yeah he has to fix up the RTAI repos
09:49 PM CaptHindsight: he cleaned up well over 100K lines
09:49 PM TurBoss: wow!
09:49 PM TurBoss: amazing
09:49 PM CaptHindsight: he spent the past 6-7 years on and off
09:49 PM CaptHindsight: closer to 200k
09:50 PM CaptHindsight: paulo just keeps patching and never cleaning
09:50 PM CaptHindsight: work really slowed down here with the virus and all
09:51 PM CaptHindsight: so maybe RTAI will be back after things get moving again
09:53 PM TurBoss: I don't know C and even less C kernel trick the C RTAI kernel trick
09:53 PM TurBoss: should tricky
09:54 PM TurBoss: * I don't know C and even less C kernel *tricks the C RTAI kernel *tricks
09:54 PM TurBoss: lol
10:04 PM CaptHindsight: I'm battling with that nanodlp app right now
10:04 PM CaptHindsight: Rpi4 connected to a *duino for software stepping
10:05 PM CaptHindsight: an example of how little they understand automation components:
10:06 PM CaptHindsight: they have a routine that controls a hobby servo so you can have a shutter over the projector
10:07 PM CaptHindsight: the shutter is only opened when the projector is displaying an image
10:08 PM CaptHindsight: the shutter is closed when the projector starts up since the projector manufacturers always have a splash screen with their logo
10:08 PM CaptHindsight: if the splash screen comes on over the resin it will print the splash screen
10:09 PM CaptHindsight: hobby servos go to the center of their travel when the power is off
10:09 PM CaptHindsight: so when the boards power up the shutter is midway between open and closed
10:11 PM CaptHindsight: this means to use this feature properly you can't start the project until the system boots, which can take a full minute or two
10:13 PM Joco[m]: <TurBoss "yup the big danobat is manual dr"> yup - kind of like plan I have. Put 1um DRO or Dial Indicator on column. Then have lcnc moving the other two. Should mean with some careful macro coding I can get controlled surface feeds on the table and a range of speeds and patterns on the Z feed. I should also be able to program for some different pre canned wheel dressing speeds. Even though will do the touch off manually
10:13 PM Joco[m]: the Z feeds can be done via GUI buttons that have pre canned speeds for a set distance.
10:44 PM Not-8b99: [02qtpyvcp] 07TurBoss pushed 031 commit to 03gcode_properties_widget [+1/-0/±0] 13https://git.io/JU2I3
10:44 PM Not-8b99: [02qtpyvcp] 07TurBoss 03b31e8c1 - GCode Properties datachannel
10:44 PM Not-8b99: [02qtpyvcp] 07TurBoss created branch 03gcode_properties_widget - 13https://git.io/fhCou
10:47 PM TurBoss: n8