#robotics Logs

Sep 14 2018

#robotics Calendar

12:48 AM rue_mohr: all the continents, and all the people, and I'm the only one awake right now
12:52 AM orlock: i'm here
12:52 AM orlock: https://somepicturesof.space/CNC_Board/
12:53 AM rue_mohr: first?
12:53 AM rue_mohr: hmm
12:54 AM rue_mohr: ah
12:55 AM orlock: 30s, 30s, 600s, 240s
12:56 AM orlock: timing may not be quite right, but it's very much close enough that mount calibration islikely to be causing the stars to drift more than anything
12:57 AM rue_mohr: hmm
12:58 AM rue_mohr: what was the goal of avoiding the original controller?
12:58 AM orlock: serial interface
12:58 AM orlock: i want to replace myself with a small shell script
01:00 AM orlock: also, autoguiding
01:01 AM rue_mohr: 8-|
01:01 AM rue_mohr: dude
01:01 AM rue_mohr: DUDE
01:01 AM rue_mohr: omg
01:02 AM rue_mohr: I'v had it for like a year and I never thought of it
01:02 AM rue_mohr: I wrote code
01:02 AM rue_mohr: that you give two map of positions
01:02 AM rue_mohr: you tell it 3 points that are the same in the two maps
01:02 AM rue_mohr: it tells you the scale, rotation, and offset to make them match
01:02 AM rue_mohr: ?????
01:03 AM rue_mohr: yea?
01:03 AM rue_mohr: it was my last great code masterpeice
01:04 AM rue_mohr: I made it for doing pcb holes
01:04 AM rue_mohr: aka, you have 3 monuments between the etched board and the drill file,
01:04 AM orlock: https://somepicturesof.space/CNC_Board/NMC/
01:04 AM rue_mohr: you just put the board whereever in the cnc, and it will match all the holes after you tell it where 3 of them go
01:05 AM rue_mohr: :/ you dont follow do ya?
01:06 AM * rue_mohr goes back to his engine flange...
01:07 AM orlock: rue_mohr: I get it
01:12 AM rue_mohr: there are no libraries out there that will do that for you
01:12 AM rue_mohr: I looked
01:26 AM flav0r: hey
01:26 AM flav0r: lets say i have 2 devices
01:26 AM rue_mohr: yes I am
01:26 AM flav0r: that turn with stepper motors
01:26 AM flav0r: and theres somethign connected to each
01:26 AM flav0r: that rotates
01:26 AM rue_mohr: uhu
01:26 AM flav0r: whats a good approach to tell if they are alighed the same way
01:27 AM flav0r: lets say theres a blade or fin on each
01:27 AM rue_mohr: interrupter
01:27 AM flav0r: i think maybe some photo interruptor
01:27 AM flav0r: YEAH !
01:27 AM rue_mohr: with a half turn mask
01:27 AM rue_mohr: not a slot, a half-turn
01:27 AM flav0r: ok thaqts the info i need
01:27 AM rue_mohr: look for the low->high transition
01:27 AM flav0r: ill look that up
01:28 AM flav0r: https://www.aliexpress.com/item/10PCS-ITR9606-DIP4-9606-Optical-switch-reflective-PHOTOTRANSISTOR-OUTPUT-Opto-Interrupter-New-original/32830345083.html
01:28 AM flav0r: i have a bag of those !
01:28 AM rue_mohr: mhm
01:28 AM rue_mohr: have a 3d printer?
01:28 AM rue_mohr: is it a 5mm shaft?
01:29 AM rue_mohr: do you have any black paint?
01:29 AM flav0r: yah i was just thinking id print something to put on the shaft
01:29 AM flav0r: dude .. we are on the same page i think
01:29 AM flav0r: its a miracle !
01:29 AM rue_mohr: is it a 5mm shaft?
01:29 AM flav0r: and yeah i think its 5mm shaft .. (i dont have the motor)
01:29 AM flav0r: its a nema23
01:29 AM rue_mohr: why dont you have the motor?
01:29 AM rue_mohr: prolyl 5mm
01:29 AM flav0r: coz some dude was just talking to me about it
01:30 AM flav0r: i just availed myself to help him out
01:30 AM rue_mohr: https://www.thingiverse.com/thing:2108779
01:30 AM rue_mohr: you need a 1 pole interrupter disc, want me to mod mine?
01:32 AM rue_mohr: can also makea 'cup' version
01:32 AM rue_mohr: oh, I have to go to bed, gnight
01:32 AM orlock: rue_mohr: 'night
01:32 AM orlock: i think i get what you mean with the software
01:32 AM orlock: are you suggesting it could be used for photo alignment?
01:33 AM orlock: https://en.wikipedia.org/wiki/Point_set_registration
01:33 AM flav0r: haha dude i already had that file sliced up
01:33 AM flav0r: whats a 1 pole interruptor ?
01:33 AM flav0r: just one fin on it
01:33 AM flav0r: instead of 2
01:34 AM flav0r: i was thinking just one thing since with 2 on it you cant tell orientation really ?
01:37 AM rue_bed: orlock, YES
01:38 AM rue_bed: flav0r, I could make that with 1 lobe
01:38 AM rue_bed: with 2 you cant tell which of the two transitions your on
01:38 AM rue_bed: did you really pick mine?
01:38 AM orlock: rue_bed: Free tool that does it in batch, along with noise removal and all the other crap called "Deep Sky Stacker"
01:39 AM orlock: rue_bed: you also give it pictures taken with the lense cap on, and it will use them to remove sensor noise
01:39 AM rue_bed: ok, ok
01:39 AM rue_bed: no good for pcb drilling tho
01:40 AM orlock: https://somepicturesof.space/EtaCar-Mar-31-2015.jpg
01:41 AM orlock: i chose a different crop option on that picture - if you look at the edges you can see all the different edges
01:41 AM orlock: look at the bottom left corner
01:41 AM rue_bed: I suppose its hard to get much better when looking thru so much atmosphere
01:42 AM orlock: or bottom right
01:42 AM orlock: you'll also see the trails of coloured dots
01:42 AM orlock: thats because i didnt apply the images with the lsne cap on
01:42 AM orlock: so the sensor noise appears as trails
01:42 AM rue_bed: the background noise pics up too eh?
01:42 AM rue_bed: black level
01:43 AM orlock: yeah, you take a whole pile of pictures and it all ends up averaging out against the signal
01:43 AM rue_bed: flav0r, ??????????????
01:44 AM orlock: rue_bed: something funny you'll be interested in
01:44 AM orlock: i'm debugging wireless for a teleprescence robot
01:44 AM rue_bed: ok
01:44 AM rue_bed: my wireless video link killed my wifi control signal
01:44 AM orlock: i've been swearing at it's crappy wireles - been seeing network jitter, latency spiking to 50ms+ constantly
01:44 AM rue_bed: ok
01:45 AM rue_bed: are you going to use wireless to the telescope?
01:45 AM orlock: but then occasionally it would be fine, under 3ms
01:45 AM rue_bed: esp8266?
01:45 AM rue_bed: orlock, virus?
01:45 AM orlock: it appears that when its docked, it uses a low power standby mode
01:45 AM orlock: doesnt bother responding to pings fast
01:45 AM rue_bed: hu?
01:45 AM orlock: when it's in use, full power mode, the latency goes to acceptable levels
01:45 AM rue_bed: but, docked is when you have power
01:46 AM orlock: but tis not being used, so who cares about network performance
01:46 AM rue_bed: huh
01:46 AM orlock: and the juice goes to charging the battery
01:46 AM rue_bed: does the iss go by too fast to turn up in images?
01:47 AM orlock: This isnt my robot, this is just a thing that work is using i am debugging
01:47 AM rue_bed: ok
01:47 AM orlock: too fast for my telescope to track
01:47 AM orlock: you can position in advance and image it
01:47 AM rue_bed: mmm
01:47 AM flav0r: hey
01:47 AM flav0r: im printing that thing right now
01:47 AM rue_bed: flav0r, you keep leaving
01:48 AM flav0r: i figured id just measure it then remove one thing from it
01:48 AM rue_bed: flav0r, its not what you need tho
01:48 AM rue_bed: iirc its 6mm and 2 lobe
01:48 AM rue_bed: no
01:48 AM rue_bed: ugh
01:48 AM flav0r: lol
01:48 AM flav0r: no big deal
01:48 AM flav0r: ok so what do i need
01:48 AM rue_bed: I can really quickly mod it properly for you
01:48 AM flav0r: just pretend that motors arent my thing :)
01:48 AM flav0r: ok cool
01:48 AM rue_bed: I DID design it
01:48 AM flav0r: i appreciate it dude !
01:48 AM flav0r: haha yeah i say your name on it there
01:48 AM flav0r: saw
01:49 AM orlock: https://www.youtube.com/watch?v=nsc80evqJ88
01:49 AM rue_bed: hum, I wonder if your printer does holes 0.5mm small on the dia
01:50 AM orlock: rue_bed: and no wireless as a direct telescope interface
01:50 AM orlock: only for transferring data off the imaging laptop
01:51 AM orlock: all the direct telescope comms are USB video/serial
01:51 AM flav0r: for a set screw ?
01:51 AM flav0r: only one way to find out dude !
01:51 AM flav0r: hjaha
01:51 AM flav0r: i presume the 2 pole version has a hole there too
01:52 AM flav0r: that should be finished printing soon :)
01:53 AM rue_bed: I'll make you one that will fit, 2mins
01:57 AM rue_mohr: hah its 8mm
02:01 AM flav0r: uh oh
02:02 AM rue_mohr: yea, its gtoo big
02:02 AM rue_mohr: silly goof
02:03 AM rue_mohr: I'm posting the one you need now
02:04 AM flav0r: rock on !
02:07 AM rue_mohr: https://www.thingiverse.com/thing:3099578
02:08 AM rue_mohr: haha they didn't render the stl right
02:08 AM rue_mohr: er wtf
02:08 AM flav0r: mower key !
02:08 AM flav0r: klol
02:08 AM flav0r: lol
02:09 AM rue_mohr: my browser tricked me, stand by
02:10 AM rue_mohr: reload, much better
02:11 AM rue_mohr: ok, gnight
02:12 AM flav0r: sweety
02:12 AM flav0r: thanks dude
02:12 AM flav0r: already sliced and printer warming up !
02:12 AM flav0r: i mean sweet
02:12 AM flav0r: mnot sweety
02:12 AM flav0r: LOL
02:34 AM rue_bed: ?
02:45 AM flav0r: yah its rinted dude
02:45 AM flav0r: printed
02:46 AM flav0r: what about the .5mm hole ?
02:46 AM flav0r: heh
02:46 AM flav0r: or you talking about those things that look like key slots
03:16 AM veverak: 7k lines of code
03:16 AM veverak: heh
03:20 AM flav0r: thats weak dude
03:20 AM flav0r: WRITE MORE !
04:09 AM veverak: flav0r: to the contrary
04:09 AM veverak: the less the better
04:09 AM veverak: :)
04:10 AM flav0r: yah man
04:10 AM flav0r: i know
04:10 AM flav0r: once i wrote a compression algorithm that would compress 25 megs down to 8 bytes
04:10 AM flav0r: i lost the code tho!
04:10 AM flav0r: it was only 4 lines of code too
04:10 AM flav0r: shoulda seen it dude !!
04:11 AM veverak: lol
04:11 AM flav0r: if i had that code still im quite sure i could stop world hunger and also send men to mars with it
04:15 AM veverak: I like when changs I made simplify code
04:17 AM flav0r: dude thats no way to guarantee employment
04:17 AM flav0r: youre coding yourself out of a job!
04:18 AM veverak: which I do not mind at all in this case
04:18 AM veverak: :)
04:18 AM flav0r: oh man
04:18 AM flav0r: thats crazy talk
05:16 AM veverak: btw: making container for 'ABABABABABA' use case specifically is nice
05:17 AM veverak: instead of two arrays A[]B[], where the one with 'A' is bigger, hiding this in one container (C++) and making a way to iterate over stuff that always provides 'ABA' section, is much more intuitive to work with
09:04 PM flav0r: hush
09:05 PM * Tom_L slaps flav0r into silence again
09:07 PM flav0r: dude i am a force of nature
09:07 PM flav0r: and as such i cannot be silenced
09:51 PM rue_mohr: flav0r, did you print that?
09:51 PM rue_mohr: oooh thunder, greeeat
11:33 PM flav0r: yeaaah maaaan
11:33 PM flav0r: it was printed within 15 mins of you uploading it !
11:34 PM rue_mohr: did you paint it black?
11:36 PM flav0r: nah
11:36 PM flav0r: PRINTED it black !
11:36 PM rue_mohr: doesn't matter
11:37 PM rue_mohr: its ir translucent
11:37 PM rue_mohr: you have to paint it
11:39 PM flav0r: oh shit !
11:39 PM flav0r: lol
11:39 PM flav0r: cool
11:39 PM flav0r: ill pait it before i use it
11:39 PM flav0r: learn something new every day !