#hazzy Logs

Mar 05 2020

#hazzy Calendar

05:09 AM jthornton: morning
05:09 AM jthornton: it must be blue lol
05:51 AM hazzy-m: morning
06:06 AM jthornton: morning
07:59 AM Lcvette: morning
08:35 AM roguish[m]: jthornton: hey, JT. any tornadoes near you?
09:33 AM D-Flo[m]: Hey guys I have been a little out of the loop but has the tool table been fixed on the non-dev version?
09:35 AM Lcvette: version 2.5 should be working now
09:35 AM Lcvette: * version 2.5 the tool table should be working now
09:35 AM Lcvette: with regards to the touch off and 6 digit issue
11:06 AM jthornton: roguish[m], no it's a nice day going for a ride after lunch
11:26 AM Lcvette: turboss are you here?
11:54 AM TurBoss: hello
11:57 AM Lcvette: o/
11:57 AM Lcvette: locvette is just woprking on the mechanical part of the coolant cannon
11:58 AM Lcvette: installing on the head
11:58 AM Lcvette: are you with servos?
11:58 AM Lcvette: * lcvette is just working on the mechanical part of the coolant cannon
11:59 AM Lcvette: TurBoss: ?
11:59 AM TurBoss1: machine is free now
11:59 AM Lcvette: \o/ hurray!
11:59 AM TurBoss1: ill work on that latter
11:59 AM Lcvette: ok
12:00 PM * Lcvette uploaded an image: VectorImage_2020-03-05_125251.jpg (97KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/DXaTtqddBhSGkHKcfNzGbJJs >
01:05 PM Lcvette: idealism
02:53 PM * Lcvette uploaded an image: image.png (1790KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/szsmedXZQkXAWOlJselkIygv >
02:59 PM Lcvette: turboss are you on servos now?
02:59 PM Lcvette: :D
02:59 PM TurBoss: goin to
03:00 PM * TurBoss has so many open fronts
03:01 PM Lcvette: ok
03:01 PM Lcvette: take care of your important fronts
03:01 PM Lcvette: \o/
03:01 PM Lcvette: servo stuff will be there later
03:01 PM Lcvette: when you are caught up
03:01 PM Lcvette: :D
03:01 PM Lcvette: \o/
03:50 PM TurBoss: does anyone know how to fix or speedup this?
03:50 PM * TurBoss uploaded an image: Captura de pantalla de 2020-03-05 22-42-43.png (23KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/DVTdQTlKwGhKMgHwpyoLWUkM >
04:01 PM Lcvette: hazzy has a thing
04:01 PM Lcvette: but it doesn't always work for me
04:03 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/czHlJHVzWEAapshQeHGvBljn >
04:03 PM Lcvette: TurBoss: ^^^
04:04 PM TurBoss: i think its not the same
04:04 PM TurBoss: thats for network but mine is stuck on disk
04:04 PM Lcvette: oh ok
04:04 PM TurBoss: :o
04:04 PM Lcvette: then i don't know
04:05 PM TurBoss: thanks anyway
04:26 PM * TurBoss posted a file: sim.rc.servo.7z (1KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BMiievVCtJlqqUFvHZSmlydX >
04:26 PM TurBoss: Lcvette: can you test this on dev?
04:26 PM TurBoss: maybe you see something i'm surely missing
04:39 PM Lcvette: What's that?
04:40 PM TurBoss: its a minimal featured sim
04:40 PM TurBoss: to run halscope and a slider
04:43 PM TurBoss: to run you only need to open a terminal and cd to the directory you unziped that and run
04:43 PM TurBoss: ```
04:43 PM TurBoss: halrun -I servotest.hal
04:43 PM TurBoss: that on dev
04:55 PM Lcvette: sorry was finishing dinner
04:55 PM Lcvette: ok i have it open
04:55 PM Lcvette: what do i do?
04:56 PM * Lcvette uploaded an image: Screenshot_2020-03-05_17-48-47.png (75KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/FFVzBHvjiwEIZgrULLgaazUd >
04:56 PM Lcvette: TurBoss: ^^^
04:56 PM Lcvette: ?
04:56 PM TurBoss: yes now select run mode roll
04:58 PM Lcvette: its doing something but im not sure what im supposed to do
04:58 PM Lcvette: beena long time since i did halscope
05:00 PM TurBoss: if you tweak the slider
05:00 PM TurBoss: something changes
05:00 PM TurBoss: duno...
05:00 PM * TurBoss is dumb
05:01 PM TurBoss: :P
05:01 PM * Lcvette uploaded an image: Screenshot_2020-03-05_17-53-07.png (101KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/IwfPXCBMmwBHvhMnCcjFJlFb >
05:02 PM Lcvette: do i need to fix any of the settings?
05:02 PM Lcvette: seems things are off the top of the screen
05:02 PM Lcvette: i only get a little triangle
05:02 PM TurBoss: those errors are unrelated
05:03 PM TurBoss: doesn't matter
05:03 PM Lcvette: i closed it\
05:03 PM Lcvette: now cannot reopen it\
05:03 PM TurBoss: ok
05:03 PM Lcvette: says already running
05:03 PM TurBoss: press ctrl +c in the terminal
05:05 PM Lcvette: still doesn't stop it
05:05 PM Lcvette: tried halrun -u
05:06 PM TurBoss: if you closed the terminal windows you may need to kill halrun or reboot
05:06 PM TurBoss: or session close
05:07 PM Lcvette: Ok I'll reboot
05:13 PM Lcvette: ok, ebooted
05:13 PM Lcvette: * ok, rebooted
05:15 PM Lcvette: turboss, what am i looking for?
05:15 PM TurBoss: in the hal file
05:17 PM Lcvette: :o
05:17 PM Lcvette: lcvbette don't know hal
05:18 PM Lcvette: turboss
05:18 PM Lcvette: the scale is from 1ms to 2ms?
05:18 PM TurBoss: πŸ€”
05:19 PM Lcvette: 1ms is one end and 2ms is the other end
05:19 PM Lcvette: of the sweep
05:20 PM Lcvette: 1ms(0 degrees)<-----------1.5ms(90 degrees)--------->2ms(180 degrees)
05:20 PM Lcvette: TurBoss: ^^^
05:31 PM Lcvette: TurBoss: did that help?
05:31 PM TurBoss: not much ...
05:31 PM Lcvette: :(
05:31 PM TurBoss: :/
05:31 PM Lcvette: we need the master
05:33 PM Lcvette: pcw_mesa are you around?
05:33 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/lcWYdOVEuhsLFRNWJmLButFM >
05:34 PM Lcvette: Tom_L might know
05:34 PM Lcvette: he is very good with hal stuff too
05:34 PM TurBoss: great
05:35 PM * TurBoss posted a file: sim.rc.servo.7z (1KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BUSiNafpcIMFQCBQtgSoNqah >
05:35 PM TurBoss: is the same file
05:35 PM Lcvette: is that a new one?
05:35 PM TurBoss: no
05:35 PM Lcvette: ok
05:35 PM TurBoss: it includes the pyvcp slider
05:36 PM Lcvette: can you see me on the linuxcnc board or am i invisible again?
05:36 PM TurBoss: I can see you
05:37 PM Lcvette: can you oput notes on the hal lines so i know what they are doing>?
05:37 PM TurBoss: yes
05:38 PM TurBoss: there are some notes :D
05:38 PM Lcvette: where does the 0.000556 and 0.075 come from?
05:38 PM TurBoss: from pcw messages
05:38 PM TurBoss: maybe its wrong
05:39 PM TurBoss: not your that rc servo
05:41 PM Lcvette: do you know how he calculated it?
05:41 PM TurBoss: cant remember
05:41 PM Lcvette: lol
05:41 PM Lcvette: /o\
05:41 PM Lcvette: :D
05:41 PM Lcvette: lets figure it out
05:41 PM TurBoss: cool
05:42 PM Lcvette: i tend to think of thing sbetter when i know where numbers come from
05:42 PM Lcvette: helps me make sense of the flow of things
05:42 PM Lcvette: so what does the gain do?
05:43 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/JxooZVrkLyFbsvfCHYRwxrXc >
05:44 PM TurBoss: that from line 20
05:44 PM Lcvette: so we need 2 scales right?
05:44 PM Lcvette: one to scale the range for the servo
05:44 PM TurBoss: yes they are loaded
05:44 PM TurBoss: scale.0 an scale .1
05:44 PM Lcvette: and one to scale the degree input to the servo output
05:45 PM Lcvette: or di i understand it incorrectly?
05:45 PM pcw_mesa: .00056 is .05/90
05:45 PM TurBoss: seems correct
05:46 PM Lcvette: ah
05:47 PM Lcvette: do we need to do 0.05/180?
05:47 PM pcw_mesa: .05 is the full scale PWM range for 90 degrees
05:47 PM pcw_mesa: 90 at the nozzle
05:47 PM Lcvette: ah ok
05:47 PM Lcvette: im with you now
05:47 PM Lcvette: you are accounting for the 2:1 reduction already
05:48 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ezXJMEqgEYLjTEYwHCjuIQwg >
05:48 PM pcw_mesa: .075 offset is 1/2 way (for +-45 degrees) change the offset to .05 for 0 to 90
05:48 PM Lcvette: this is what we are trying to test
05:48 PM Lcvette: turboss made a little halscope slide tester
05:49 PM Lcvette: pcw_mesa: do we need the 0.075 offset?
05:50 PM pcw_mesa: .075 is midrange (for -45 to +45) .05 would be right for 0 to +90
05:50 PM Lcvette: or could we just work in the 0.05 to 0.10
05:50 PM Lcvette: for 0-90
05:50 PM Lcvette: ok
05:51 PM pcw_mesa: yep
05:51 PM Lcvette: so the 0.075 is not needed if we are not doing +/-45
05:51 PM Lcvette: turboss i think your slider is setup of 0-90 no?
05:51 PM TurBoss: -90 0 +90
05:52 PM TurBoss: but just the slider range
05:52 PM pcw_mesa: .05 duty cycle = 1 ms at 50 Hz
05:52 PM Lcvette: gotcha
05:52 PM Lcvette: 0.10 duty cycle = 2ms at 50hz
05:54 PM pcw_mesa: and 90 *.00056 = .05 +offset..05 = 0.1
05:55 PM Lcvette: so how does one write that in hgal speak?
05:55 PM pcw_mesa: so 0 degrees gives you 1ms and 90 gives you 2ms
05:55 PM pcw_mesa: setp scale.0.gain 0.000556
05:55 PM Lcvette: * so how does one write that in hal speak?
05:55 PM pcw_mesa: setp scale.0.offset 0.05
05:56 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/IDZlTmhmIVsrIxkowyDJOUnu >
05:56 PM Lcvette: setp scale.0.gain 0.000556
05:56 PM Lcvette: setp scale.0.offset 0.05
05:56 PM Lcvette: setp scale.1.gain 10
05:57 PM TurBoss: I'm unsure about scale.1.gain
05:57 PM Lcvette: so looks like turboss had that right
05:57 PM TurBoss: that must be wrong
05:57 PM Lcvette: yes turboss please speak up this is more your area
05:57 PM pcw_mesa: scale 1 gain should be 1
05:58 PM pcw_mesa: so the input is scaled in degrees and the offset (sweep) is also scaled in degrees
05:58 PM TurBoss: ok
05:59 PM * Lcvette uploaded an image: Screenshot_2020-03-05_18-52-00.png (61KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ELnmEIdPbhLpzqmRpQPngFKc >
05:59 PM pcw_mesa: (I guess the offset to scale1 would always be scaled in degrees since its added after the multiply)
06:00 PM TurBoss: the output of scale1 become 0.05 on 0ΒΊ and 0.10 at 90
06:00 PM Lcvette: this is with scaleshould this be triangle or squarewave form?
06:00 PM Lcvette: * should this be triangle or squarewave form?
06:00 PM TurBoss: pcw said triangle
06:00 PM TurBoss: is to drive the offset of scale 0 ?
06:01 PM pcw_mesa: triangle if you want even spread
06:01 PM TurBoss: sorry I mean scale 1
06:01 PM Lcvette: lcvette lets turboss and the master speak
06:02 PM pcw_mesa: yes (you can change the amplitude of the sweep with siggen)
06:02 PM TurBoss: ok i'm goin to test net to pwmgen
06:03 PM Lcvette: \o/
06:04 PM TurBoss: \o/
06:04 PM TurBoss: it tries to move
06:04 PM Lcvette: \oi/
06:04 PM Lcvette: you did it?
06:05 PM Lcvette: :o
06:05 PM Lcvette: the sevro moves?
06:05 PM Lcvette: * the servo moves?
06:05 PM Lcvette: \o/
06:05 PM TurBoss: it tries
06:05 PM Lcvette: HURRAY!!!!!!!!!!!!!!!!!!!!!
06:05 PM Lcvette: oh
06:05 PM Lcvette: /o\
06:05 PM TurBoss: maybe my base thread is wrong
06:06 PM Lcvette: needs more cowbell?
06:07 PM Lcvette: lcvette waits suspensefully
06:09 PM TurBoss: I'm searching for my rc servo specs
06:09 PM Lcvette: whats the name i will search too
06:09 PM Lcvette: how did yours look wyatt?
06:09 PM Lcvette: *
06:10 PM TurBoss: servo srm102
06:11 PM Lcvette: http://sanwa-denshi.com/rc/car/servo/sx-112.html
06:17 PM Lcvette: how many volts are you putting to it turboss?
06:17 PM TurBoss: 5
06:17 PM Lcvette: sometimes to many volts will make them just sit and buzz
06:17 PM Lcvette: ok
06:17 PM Lcvette: 5 should be fine
06:22 PM Lcvette: Maybe it's a 20hz servo?
06:23 PM Lcvette: Isyoir servo powered by same wires as the 7i76?
06:23 PM Lcvette: Turboss
06:24 PM TurBoss: no
06:24 PM TurBoss: but they share ground
06:25 PM TurBoss: http://linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html#pwmgen
06:25 PM TurBoss: could be a 20hz servo
06:25 PM TurBoss: cant find any docs
06:25 PM Lcvette: ok, can try changing the scale
06:25 PM TurBoss: yes
06:26 PM Lcvette: lemme see if i remember what i learned last night
06:33 PM Lcvette: lcvette can't remember how he calculated things last night
06:34 PM Lcvette: so 20hz is a 50ms period
06:42 PM Lcvette: so you have 2%-4% @20hz
06:43 PM Lcvette: 50ms period
06:43 PM Lcvette: .02/90 = 2.222222
06:45 PM Lcvette: how did pcw_mesa get .05/90 = 0.00056?
06:47 PM Lcvette: turboss got it
06:47 PM Lcvette: setp scale.0.gain 0.000222
06:48 PM TurBoss: yes
06:48 PM Lcvette: setp scale.0.offset 0.02
06:48 PM Lcvette: thats the scale for 20hz
06:49 PM Lcvette: does it work?
06:49 PM Lcvette: :o
06:50 PM TurBoss: hurray!
06:50 PM Lcvette: works?
06:50 PM Lcvette: \o/
06:50 PM Lcvette: :o
06:50 PM Lcvette: Hurray!
06:52 PM * TurBoss1 uploaded an image: 790ccf28-867f-4d52-b0e7-3c2f6b995f82.jpeg (162KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/WYeQLkBpRyirtZJcYgnWFGwF >
06:52 PM Lcvette: \o/
06:52 PM * TurBoss1 uploaded an image: 5310c7ab-c7af-45b8-aa2c-1f2ddf7405eb.jpeg (159KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/AVLIgGqVASHNvYsPLhbosHoD >
06:52 PM Lcvette: \o/
06:52 PM Lcvette: hurray!!!!!
06:52 PM Lcvette: we did it!!!
06:52 PM Lcvette: :D
06:53 PM Lcvette: you have a 90 degree sweep
06:53 PM Lcvette: so it is only moving 90*?
06:54 PM TurBoss1: not exactly
06:54 PM Lcvette: which side rotate the short side or long side
06:54 PM Lcvette: i am thinking maybe we need to change the scale to 0.000111
06:54 PM Lcvette: maybe will move 180 then
06:55 PM TurBoss: its a 10hz servo
06:55 PM Lcvette: :o
06:55 PM TurBoss: it moves full wide with 10hz
06:55 PM Lcvette: 180?
06:56 PM TurBoss: yes
06:56 PM TurBoss: but moves erratic
06:56 PM Lcvette: ok seki i will give you new scales if you need
06:56 PM TurBoss: may need new scale calculation
06:56 PM TurBoss: yes
06:58 PM Lcvette: setp scale.0.gain 0.000111
06:58 PM Lcvette: setp scale.0.offset 0.01
06:58 PM Lcvette: turboss ^^^
06:58 PM TurBoss: great
06:59 PM Lcvette: see if that gives 180 if onlyn 90 tell me and i can fix
07:01 PM Lcvette: TurBoss: report!
07:01 PM TurBoss: hmmmm
07:02 PM Lcvette: no work?
07:02 PM TurBoss: I'll take a vid
07:03 PM Lcvette: a 10hz servo has very low resolution
07:03 PM Lcvette: so probably very notchy
07:05 PM Lcvette: only has 40 resolvable positions
07:05 PM Lcvette: so likely is getting choppy between those 40 points
07:05 PM TurBoss: πŸ˜•
07:05 PM TurBoss: ok so you can test now
07:06 PM Lcvette: i took my stuff apart
07:06 PM Lcvette: /o\
07:06 PM TurBoss: xD
07:06 PM TurBoss: afk 10 min
07:06 PM Lcvette: tomorrow
07:06 PM Lcvette: ok
07:19 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/VjCijACfUmRQadYqeUXEknLr >
07:19 PM Lcvette: here is the scale calculations
07:20 PM Lcvette: this one is for 333hs
07:20 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ogoevYusmXbKhVrhJfJKAPHE >
07:21 PM Lcvette: * this one is for 333hz
07:21 PM Lcvette: figured i better wrote them out so i can remember them and understand what im doing
07:22 PM TurBoss: great!
07:24 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/xfcETnzaPjSyZWMAkrlGeyyH >
07:24 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/prqFljcHPAAicEuBrRiDDtQu >
07:25 PM Lcvette: did you make a vid?
07:25 PM TurBoss: no
07:26 PM TurBoss: bad quality
07:26 PM Lcvette: ah
07:26 PM Lcvette: so what was it doing?
07:26 PM TurBoss: it moved okay but offseted a bit
07:26 PM Lcvette: offsetted?
07:27 PM TurBoss: an when static in place bibrates
07:27 PM TurBoss: shifted
07:27 PM Lcvette: ah
07:27 PM Lcvette: probably bouncing back and forth between to resolvable positions
07:27 PM Lcvette: also may could try using a capacitor inline for the power
07:28 PM Lcvette: thats an old trick for ac-dc power supply servo vibrations
07:29 PM Lcvette: normally with battery power they are smooth but when using sa bench test power supply they used to be vibraty
07:29 PM Lcvette: because it backfeeds into the power supply
07:33 PM Lcvette: also seems seerrvos tend to vibrate more toward ends of travel