#robotics Logs
Mar 03 2018
#robotics Calendar
12:07 AM rue_: getting lcoser
12:10 AM rue_: Tom_L, was the bit ok?
12:10 AM rue_: do you have a spindle fail alarm?
12:10 AM rue_: I was thinking that a while ago
12:10 AM rue_: oops, maybe the coin bin shouldn't be right beside the garbage bin
12:10 AM * rue_ digs
12:16 AM rue_: usb, the only unidirectional connector that has to be tried both ways before the first way works
12:25 AM rue_: ok I got the pi online
12:25 AM rue_: ifcofnig
12:39 AM zhanx: ifconfig
12:52 AM rue_: hah
12:53 AM rue_: eth0: 254.254.255.257.40
12:58 AM rue_: ok, I got the button on the pi working
12:58 AM rue_: but apparently python doesn't have a sleep function
12:58 AM rue_: *like that*
12:58 AM Jak_o_Shadows: import time, time.sleep() ?
12:58 AM rue_: dunno, I can try it
12:58 AM rue_: yup you got it
12:58 AM rue_: ok, so, get it to take a pic and post it somewhere
01:02 AM rue_: Jak_o_Shadows, if your so good, how do I make it join irc and post a url?
01:02 AM Jak_o_Shadows: The join IRC bit is the hard bit really.
01:02 AM Jak_o_Shadows: Well, sorta, the libraries kinda suck here, unless you go for twisted.
01:02 AM Jak_o_Shadows: Or it may be better in python 3
01:03 AM rue_: OR...
01:03 AM rue_: I use the freenode web interface
01:03 AM rue_: ?
01:03 AM rue_: do they have a captcha?
01:04 AM Jak_o_Shadows: I think so.
01:04 AM rue_: hmm
01:04 AM Jak_o_Shadows: you know what, it probably isn't too hard to connect to irc if yu're happy with getting kicked off because your'e not paying attention to the pings & pongs
01:04 AM rue_: well, there is probably a python irc library out there
01:05 AM rue_: I dont think the acidblood code will compile on a pi
01:12 AM Jak_o_Shadows: damn nozzle is clogged good and hard
01:12 AM rue_: find a spring with thats right right size for jabbing
01:12 AM rue_: is it black plastic?
01:13 AM rue_: is ti cheap black plastic
01:13 AM rue_: did you EVER feed it any crisco?
01:14 AM Jak_o_Shadows: this is PLA. so i'm jabbing an allen key in it.
01:14 AM rue_: other end
01:15 AM rue_: I find that springs are plentifull enough to find something to jam in the nozzel
01:15 AM rue_: but I'd also suggest overtemp'ing it a bit
01:15 AM rue_: 220c or so
01:15 AM rue_: sometimes they oops a bit of ABS in there
01:20 AM rue_: ? it crashed?
01:21 AM Jak_o_Shadows: yeah, dunno.
01:21 AM Jak_o_Shadows: I'm letting it heat back up now.
01:24 AM Jak_o_Shadows: Unjammed. But I took the cooling bit off, so now I have to reassemble a bit.
01:24 AM rue_: a bit of crisco
01:25 AM rue_: maybe once every 3 mo
01:25 AM rue_: and I do a LOT of printing
01:25 AM Jak_o_Shadows: Oh wait, it's the jacket that's jammed
01:25 AM rue_: hmm, how do I ssh to a machine when the commandline needs a password
01:25 AM Jak_o_Shadows: sshkey
01:25 AM rue_: oh, is it a lined extruder?
01:26 AM Jak_o_Shadows: yeah. an older j-head if I recall right
01:26 AM rue_: oh right, duh
01:26 AM rue_: I forgot how to do that
01:26 AM Jak_o_Shadows: bugger it, i'm going to hit a nail through it
01:27 AM rue_: nono
01:27 AM rue_: the ptfe heated up and closed off
01:27 AM rue_: work on it at 220c
01:27 AM rue_: it'll come apart for ya
01:27 AM rue_: just dont *touch* it
01:30 AM Jak_o_Shadows: nah, the nail worked.
01:30 AM Jak_o_Shadows: i got a bit zealous when reassemblingit, and snapped it
01:31 AM Jak_o_Shadows: Does superglue decompose into anything nasty?
01:34 AM rue_: with heat? yes
01:35 AM rue_: a nose-skin-stripping, eye killing, expanding, vapour
01:35 AM rue_: large quantities
01:35 AM rue_: per microgram
01:37 AM rue_: http://protective.ansell.com/Global/Protective-Products/Trellchem/Product%20Images/Gastight%20Suits/Trellchem_VPS_CV_yellow_frontview.jpg
01:40 AM Jak_o_Shadows: see, i; sensitive to superglue anyway, and avoid it as muchas I can
01:53 AM rue_: hmm if I want to ssh any of my machines to any other, can I use the same ssh keys?
01:54 AM rue_: or am I gonna have to create an N^2 number of keys
01:54 AM Jak_o_Shadows: erm.
01:55 AM rue_: I just realized that from my main computer I can log into anyone, but from anyone i cant log into anyone else
01:56 AM Jak_o_Shadows: maybe you just go from one machine into a central one
01:56 AM Jak_o_Shadows: then from central back out?
01:56 AM rue_: no, web, anyone to anyone
01:56 AM rue_: internal network
01:57 AM Jak_o_Shadows: I THINK you need a key per destination
01:58 AM Jak_o_Shadows: Do you have bowden machines rue?
02:02 AM rue_: one is, I regretted it
02:02 AM rue_: wont bother changing it
02:02 AM Jak_o_Shadows: why?
02:02 AM rue_: but having to splice filament sucks
02:02 AM Jak_o_Shadows: why regret*
02:02 AM rue_: trying to repair breakage from brittle filament is horrid
02:03 AM Jak_o_Shadows: ah. So maybe better with not-PLA
02:03 AM rue_: prolly yea
02:04 AM rue_: notpulled off a sucessfull heated bed yet
02:04 AM rue_: broken lots of glass tho
02:04 AM Jak_o_Shadows: how? Just ramming into it?
02:04 AM rue_: I got thermally breaking glass down to an art
02:05 AM Jak_o_Shadows: I have had zero issues with that. and I have a bit of picture frame glass
02:05 AM Jak_o_Shadows: weird
02:05 AM rue_: yea, I broke a few
02:05 AM rue_: I'll try again later
02:06 AM Jak_o_Shadows: I suppose your'e in Canada
02:08 AM rue_: yea
02:08 AM AchiestDragon: use masking tape to cover the bed , pla sticks to it well , and usualy you can pull it off without having to replace the tape each print , better than using hairspray or other chemicals on glass and means less risk of the glass breaking / chipping as its stuck to the pla
02:08 AM rue_: I do
02:08 AM Jak_o_Shadows: So far i've just been peeling the pla off when it's still hot.
02:09 AM rue_: even if the tape is scored up, you get a fine print for things like new printer parts or robot levers
02:09 AM Jak_o_Shadows: I did use PA glue once, but meh.
02:09 AM Jak_o_Shadows: PVA*
02:09 AM Jak_o_Shadows: possibly helps that my bed isn't too level
02:09 AM rue_: you use 3 or 4 levelers?
02:09 AM rue_: I do my machines with 3
02:10 AM AchiestDragon: fund its better to let it cool as the print bends and deforms quite a bit when hot
02:10 AM Jak_o_Shadows: 3. But the bed isn't very flat itself. (just being a sheet of thinnish glass over the PCB)
02:10 AM AchiestDragon: and once cool it comes off easyer
02:10 AM rue_: yea, I need a heated bed for anti-curl
02:11 AM rue_: if I print painfully slow I'm often ok
02:11 AM rue_: aside from going mad waiting for the nozzel to get to the other side of a 20mm print
02:12 AM AchiestDragon: even with pla i print with bet temp of 80c first layer and 50c others
02:12 AM AchiestDragon: bet /bed
02:13 AM Jak_o_Shadows: I print pretty slow.
02:14 AM AchiestDragon: if the prints got lots of small bits on the first layer it works well up to 80mm/s and usualy get away with a speed increase of 200% with no problems
02:14 AM AchiestDragon: and to be honest it prints better sometimes at faster speeds
02:17 AM AchiestDragon: i got some tl smothers , suposed to remove the salmonsking effect on delta printers , but the diodes overheat after a hour or so of printing then it starts to skip steps
02:34 AM rue_: W.T.F
02:34 AM rue_: the pi has a swapfile?
02:34 AM rue_: and /tmp is on the SD?
02:35 AM rue_: whos fat-brained idea was it to use an SD card for swapspace?
02:38 AM AchiestDragon: historicaly swap is disk based , more to the point it should be WTF who decided that flash tec like sd with limited write cycles is suitable as primary storage memory
02:39 AM rue_: hey! I got it to take a pic and copy it to my main machine!
02:39 AM rue_: but I'll have to make a ramdisk for storing the intermediate image
02:39 AM AchiestDragon: when what is needed is a large capacity ramdisk partition
02:40 AM rue_: not really
02:40 AM rue_: its got 192M of ram free
02:40 AM rue_: I need maybe 4M for the temp iamge
02:42 AM AchiestDragon: well with the nos of devices with 1 to 2 gb of ram , and note the abscence of usb ramdisks of say 8 to 16gb
02:43 AM AchiestDragon: get them to use flash based ssd or sd cards that will need replaicng every 10,000 writes (ssd) or less consirably less on some sd devices
02:46 AM AchiestDragon: so they buy more rather than have tec that actualy is relyable for a long time,, as mecanical spinning disks dont fail often enough , conspiracy or complaycency
02:52 AM rue_: ok this is cool
02:52 AM rue_: so, I need to work out how to specify if the image should be posted local or internet
02:57 AM rue_: but hmm, the pi keeps saying (over ssh) that it cant reach my server
02:57 AM rue_: which I'm talking to it with
02:57 AM rue_: ssh: connect to host 192.168.8.240 port 22: Network is unreachable
02:57 AM AchiestDragon: firewall on server ?
02:57 AM rue_: no its random
02:58 AM rue_: I wonder if its picking up problems with the switch (which I'm highly suspect of )
02:59 AM AchiestDragon: but if you already have a ssh sesion with a machine , trying to create another may be the problem ,
02:59 AM rue_: maybe I'm browning out
03:00 AM rue_: mmm , even the power lights is flickering when its taking the picture
03:00 AM rue_: is the usb the only power input on this thing?
03:01 AM AchiestDragon: that sounds more of an issue that needs looking at
03:02 AM rue_: well, I wonder if I can post to the webserver
03:02 AM AchiestDragon: usb spec ie powering the pi from a pc that gives 1a against the pi that idealy needs 2.5a
03:02 AM rue_: ah, yea, thats a margin gap
03:06 AM AchiestDragon: the pi3's are kool , i just power them from there own psu , and vnc into them over wifi for test and debug , and get a full gui that way
03:13 AM AchiestDragon: although if you must use ssh did see a page telling you how to set up a ssh setion over bluetooth again rpi3 with bluetooth built in otherwise by usb bluetooth dongle
03:15 AM AchiestDragon: that works well and saves you having to phisicaly connect wires each time to do test and debug
03:17 AM AchiestDragon: https://hacks.mozilla.org/2017/02/headless-raspberry-pi-configuration-over-bluetooth/
03:22 AM rue_: ok
03:22 AM rue_: http://ruemohr.org/~ircjunk/images/pi/
03:22 AM rue_: here goes...
03:22 AM * rue_ checks he has clothes on...
03:23 AM rue_: yeA!
03:24 AM AchiestDragon: is the world upside down there
03:24 AM rue_: yea, this isn't australlia you know!
03:25 AM rue_: it worked, I can make wrappers later
03:26 AM rue_: this is good,
03:26 AM rue_: ideal would be to post the url here, but thats just icing
03:41 AM rue_: OOOoooo
03:41 AM rue_: ruebot,
03:41 AM rue_: ruebot, help
03:41 AM rue_: ruebot, exit
03:41 AM rue_: ruebot, explode
03:41 AM rue_: ruebot, undo
03:41 AM rue_: :/
03:42 AM rue_: ruebot, quit
03:42 AM rue_: ruebot command quit
03:42 AM rue_: ruebot command nameMeToast
03:42 AM rue_: ruebot command sudo makeMeASandwich
03:44 AM AchiestDragon: think its gone looking for spam for the sandwich
03:44 AM rue_: no operators manual :/
03:44 AM rue_: msg ruebot disconnect
03:45 AM rue_: you know, it would help if I had connect/disconnect messges turned on
03:45 AM rue_: but...
03:45 AM rue_: msg ruebot die
03:45 AM rue_: ah, there
03:46 AM rue_: ok, I can udnerstand this irc thing if I try hard
03:47 AM rue_: ok, but, how can I notify the bot to paste the image url
03:51 AM rue_: sigh IPC...
03:52 AM rue_: dbus?
03:57 AM rue_: the problem is that there is no hook for watching for a new image
03:59 AM AchiestDragon: you get the bot that places the image in the dir , have it also then create a file with the image name as text in a dir
04:00 AM rue_: I dont have a hook to look for the button to be pressed
04:00 AM AchiestDragon: the irc bot will just look for that file if it exists sends the link then deletes the text file as sent
04:01 AM rue_: hooks
04:01 AM rue_: nothing called to look out for a file
04:02 AM rue_: looking for the main loop now
04:02 AM AchiestDragon: https://stackoverflow.com/questions/2259382/pythonic-way-to-check-if-a-file-exists
04:05 AM rue_: its worse than that, I dont have anywhere to put that code
04:05 AM rue_: BUT
04:05 AM rue_: it looks like python-irc uses select as its main loop
04:06 AM rue_: maybe I can add a file to its sockets list
04:07 AM rue_: sockets = [x.socket for x in self.connections if x is not None]
04:07 AM rue_: sockets = [x for x in sockets if x is not None]
04:07 AM rue_: if sockets:
04:07 AM rue_: (i, o, e) = select.select(sockets, [], [], timeout)
04:07 AM rue_: but...
04:10 AM AchiestDragon: if you have the irc bot start the imaging bot as a thread on startup you could just create a global var to check
04:10 AM rue_: ah, hmmm
04:11 AM rue_: another problem might be the timing of the port read, I need a while(1) to watch the trigger button
04:11 AM rue_: a pipe would work ok for me, and I just push file names into it
04:16 AM AchiestDragon: multi threading , one thread wating for the button (and other actions ) another doing the irc and they should run concurrently as long as you remeber not to use the wait command or that will pause all threads for the given time
04:17 AM rue_: I'm thinking I can add to the list its using for select
04:19 AM rue_: damnit, 2am
04:19 AM rue_: need to eat and I'v not had supper yet
04:19 AM rue_: er, and I'm getting tired
04:19 AM rue_: I think I can have the bot open a file pipe and use the select to watch it
04:20 AM rue_: tho, it'd put the pipe contents into the gears of its irc analizer
07:16 AM tttb is now known as tttb-masked
07:16 AM tttb-masked is now known as tttb
07:30 AM LuminaxWk is now known as Luminax
12:37 PM rue_shop3: hey, I should be able to use the cnc like a 3d digitizer
12:40 PM Tom_shop: yeah, lcnc has plotter routines
12:41 PM rue_shop3: no
12:41 PM Tom_shop: point grid
12:41 PM Tom_shop: point cloud
12:41 PM rue_shop3: as in put a pointer in the spindle and locate positions on a 3d object
12:41 PM rue_shop3: ah k
12:42 PM rue_shop3: maybe I'm too pickey, there are about 100000000 pi cases on thingiverse and I dont like any of them
12:46 PM Tom_shop: because none of them are yours
12:46 PM Tom_shop: look on grabcad?
12:46 PM rue_shop3: lots of the problem is that the better cases are for the wrong pi
12:47 PM veverak: rue_shop3: got same experience
12:48 PM Tom_shop: so gimme dimensions and i'll cad one up for ya
12:48 PM rue_shop3: by the time I have all that making one myself is a sinch
12:48 PM Tom_shop: there's that
12:49 PM Tom_shop: ok, let's see if we can break this cutter off any shorter
01:01 PM AchiestDragon: what model pi
01:02 PM mrdata: grab one that isnt so bad and tweak it
01:04 PM rue_shop3: the first pi
01:04 PM rue_shop3: circa 2011
01:10 PM AchiestDragon: ha , yea typical theres not even a board outline cad file for that on thingverse
01:17 PM veverak: ok
01:17 PM veverak: now I need dsub scad model
01:17 PM veverak: nah
01:20 PM veverak: hmor
01:20 PM veverak: or
01:20 PM veverak: distance of two dsub mouting plates is enough propably
03:58 PM rue_shop3: http://ruemohr.org/~ircjunk/images/pi/IMG03Mar2018_202832.jpg
03:58 PM rue_shop3: ok, so
03:58 PM rue_shop3: I need to find a way around packaging the pi, and fixing the camera orientation
04:06 PM weyland|yutani: does anyone here know a sensor to measure hoch much a material is compressed or stretched we are talking about silicone or neoprene
04:08 PM rue_shop3: sure
04:09 PM weyland|yutani: i am in the process of building a soft gripper
04:11 PM weyland|yutani: just in the endruns of simulation but i need some ways to ad some sensors
04:13 PM rue_shop3: do you know about conductive foam?
04:24 PM rue_shop3: http://ruemohr.org/~ircjunk/images/pi/IMG03Mar2018_222240.jpg
04:24 PM rue_shop3: YEA! right way up!
04:35 PM rue_shop3: http://ruemohr.org/~ircjunk/images/pi/IMG03Mar2018_223423.jpg
04:35 PM rue_shop3: ok less insane resolution
04:36 PM rue_shop3: n its not, wtf
04:37 PM rue_shop3: intersting, must be a quality setting, its 2/3 the filesize
04:41 PM rue_shop3: http://ruemohr.org/~ircjunk/images/pi/IMG03Mar2018_223856.jpg
04:41 PM rue_shop3: thats even better
04:42 PM rue_shop3: 1024x768 is an upgrade from the 640x480 I usually use
04:42 PM rue_shop3: only 500k/image, so, ok
04:43 PM rue_shop3: http://ruemohr.org/~ircjunk/images/pi/IMG03Mar2018_224218.jpg
04:43 PM rue_shop3: the new printer
04:53 PM Jak_o_Shadows: nice.
04:53 PM Jak_o_Shadows: I was getting really ken on printing some stuff, then I broke it.
04:55 PM Jak_o_Shadows: keen*
05:06 PM rue_shop3: hah
05:07 PM rue_shop3: hahaha I was going to put a beeper on the pi
05:07 PM Jak_o_Shadows: Found a replacement part for $5.1 (AUD), but you know, it'll be here in a month
05:08 PM * rue_shop3 looks at the stereo audio jack
05:08 PM rue_shop3: what borke?
05:08 PM Jak_o_Shadows: The hot-end. I was reassembling it, and I overtightened it
05:08 PM rue_shop3: oooh the hair-thin stainless?
05:09 PM Jak_o_Shadows: Nah, one of the older j-heads. The black cooling shroud ones
05:09 PM Jak_o_Shadows: Dunno what the hell the black bit is made of.
05:10 PM rue_shop3: ok fixed the power on the pi, it dosn't reboot every time you move it
05:12 PM rue_shop3: so, now I just need a bot to paste camera images
05:12 PM rue_shop3: and a case for the whole thing, so its more like a camera
05:18 PM veverak: what sort of paste?
05:18 PM Tom_L: camera paste silly
05:52 PM Tom_L: rue_shop3, what'd you teach the kid today?
05:59 PM rue_shop3: he didn't show
06:02 PM Tom_L: found out carbide is too brittle to cut steel, used a HSS to finish and did ok
06:02 PM rue_shop3: !
06:03 PM Tom_L: well i debated about carbide anyway. it did the first one ok but i kinda knew what was coming
06:03 PM Tom_L: hss has alot more tool deflection tolerance
07:55 PM Jak_o_Shadows: rue, what were your thoughts on the delta printers?
08:01 PM rue_shop3: I dont think delta is worth it
08:01 PM rue_shop3: only if you need a high build area
08:02 PM Jak_o_Shadows: (I'm not considering buying one) the kits seem to be simpler though?
08:02 PM rue_shop3: http://ruemohr.org/~ircjunk/images/pi/IMG04Mar2018_015927.jpg
08:02 PM rue_shop3: working on printer power supply
08:02 PM rue_shop3: they have equiv slop to a rectangular tho
08:08 PM durrf: they are simpler mechanically but waaaaaaaay trickier to troubleshoot
08:18 PM rue_shop3: ok, scaling and squaring
08:21 PM rue_shop3: ok ?!?! the extruder scale is right
08:23 PM rue_shop3: if 10 is 6.89...
08:24 PM rue_shop3: scale steps by 1.45
10:30 PM Jak_o_Shadows: ok. So it turns out I was having trouble with the setting & getting bits in the bit arrya, not with the debouncing
10:45 PM rue_shop3: http://ruemohr.org/~ircjunk/images/pi/IMG04Mar2018_044116.jpg
10:45 PM rue_shop3: I may have to adjust the scale a bit more, but its squared and is printing its first replacement part
10:45 PM rue_shop3: :) how many broken parts can YOU see on the printer...
10:49 PM rue_shop3: crap
10:49 PM rue_shop3: left and right are backwards on the power supply box I printed
10:49 PM rue_shop3: that was a lot of plastic
11:19 PM mrdata_ is now known as mrdata